-
Notifications
You must be signed in to change notification settings - Fork 61
[ogre1.x] Add support for wide angle camera #490
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
Conversation
Signed-off-by: Ian Chen <[email protected]>
…ng black screen Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
|
||
/// \internal | ||
/// \brief Private data pointer | ||
private: std::unique_ptr<CameraLensPrivate> dataPtr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could add ignition-utils
as a dependency so we can use the ImplPtr
? I'll open an issue to do this in parallel, without blocking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this dependency has been added in #492, so I recommend using ImplPtr
in this new class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switched to use ImplPtr
in 21d9f79
examples/wide_angle_camera/Main.cc
Outdated
} | ||
catch (...) | ||
{ | ||
// std::cout << ex.what() << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed. 3399e6d
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #490 +/- ##
==========================================
- Coverage 53.47% 52.22% -1.25%
==========================================
Files 199 203 +4
Lines 19745 20215 +470
==========================================
Hits 10558 10558
- Misses 9187 9657 +470
Continue to review full report at Codecov.
|
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just some small style comments, otherwise LGTM
Signed-off-by: Ian Chen <[email protected]>
…ign-rendering into wide_angle_camera_ogre
🎉 New feature
Summary
Ported the wide angle camera feature from gazebo-classic. Added the base classes and ogre 1.x implementation.
Test it
Added a wide_angle_camera integration test and a demo.
Run the integration test with
ogre
render engine from your colcon workspace:Build and run the wide_angle_camera demo:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge