Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set lens intrinsics in Depth and Rgbd camera sensors #390

Merged
merged 6 commits into from
Oct 4, 2023

Conversation

shameekganguly
Copy link
Contributor

@shameekganguly shameekganguly commented Sep 30, 2023

Refactor projection matrix utility functions to CameraSensorUtil and set lens intrinsics in Depth and Rgbd camera sensors

…set lens intrinsics in Depth and Rgbd camera sensors

Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
@shameekganguly shameekganguly changed the title Refactor projection matrix utility functions to CameraSensorUtil and … Set lens intrinsics in Depth and Rgbd camera sensors Sep 30, 2023
Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
src/CameraSensorUtil.hh Outdated Show resolved Hide resolved
src/DepthCameraSensor.cc Outdated Show resolved Hide resolved
src/RgbdCameraSensor.cc Outdated Show resolved Hide resolved
src/DepthCameraSensor.cc Show resolved Hide resolved
src/RgbdCameraSensor.cc Show resolved Hide resolved
Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

Merging #390 (5791c7d) into main (67e0dea) will decrease coverage by 0.45%.
The diff coverage is 56.00%.

❗ Current head 5791c7d differs from pull request most recent head 5c8bdb8. Consider uploading reports for the commit 5c8bdb8 to get more accurate results

@@            Coverage Diff             @@
##             main     #390      +/-   ##
==========================================
- Coverage   72.76%   72.32%   -0.45%     
==========================================
  Files          36       37       +1     
  Lines        4968     5048      +80     
==========================================
+ Hits         3615     3651      +36     
- Misses       1353     1397      +44     
Files Coverage Δ
src/CameraSensor.cc 75.31% <100.00%> (-0.84%) ⬇️
src/CameraSensorUtil.cc 100.00% <100.00%> (ø)
src/DepthCameraSensor.cc 70.80% <47.61%> (-4.01%) ⬇️
src/RgbdCameraSensor.cc 71.52% <47.61%> (-4.17%) ⬇️

src/CameraSensorUtil.hh Outdated Show resolved Hide resolved
Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
@iche033 iche033 merged commit bd695b2 into gazebosim:main Oct 4, 2023
3 checks passed
@azeey
Copy link
Contributor

azeey commented Oct 10, 2023

Looks like there's a windows build regression from this PR. See #391 (comment)

@ahcorde
Copy link
Contributor

ahcorde commented Nov 21, 2024

https://github.com/Mergifyio backport ign-sensors6

Copy link

mergify bot commented Nov 21, 2024

backport ign-sensors6

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Nov 21, 2024
* Refactor projection matrix utility functions to CameraSensorUtil and set lens intrinsics in Depth and Rgbd camera sensors
---------

Signed-off-by: Shameek Ganguly <shameekarcanesphinx@gmail.com>
(cherry picked from commit bd695b2)

# Conflicts:
#	src/CameraSensor.cc
#	src/DepthCameraSensor.cc
#	src/RgbdCameraSensor.cc
ahcorde added a commit that referenced this pull request Dec 4, 2024
…486)

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: shameekganguly <shameekarcanesphinx@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants