-
Notifications
You must be signed in to change notification settings - Fork 302
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
Add support for wide angle camera in sensors system #1215
Conversation
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Steve Peters <[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.
is this targeting the right branch ?
yeah, this targets garden and requires the version bumps for gui, sensors and rendering done in #1183 |
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
All components (ign-rendering, ign-sensors, ign-gazebo) are working as expected. The test world is also working as expected. |
I tried adding a |
it built ign-sensors7 successfully and ign-gazebo7 configured correctly. It later failed with an unrelated linking error due to branches being out of date with |
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.
We need to add the wide angle camera package to https://github.com/ignition-release/ign-sensors7-release for the nightlies to work.
indeed, that's why this build is unstable:
I'll fix it |
|
does this need an integration test before merging? I can find someone to add that to this branch if so |
one simple integration test I can think of is to load the wide angle camera world file and make sure data are published to the topic. ign-sensors and ign-rendering already have integration tests to check the content of the published images so we probably don't need to duplicate that here. yeah it would be nice to get some help on adding the test. |
Signed-off-by: William Lew <[email protected]>
…azebo into wide_angle_camera
looks like the test is fixed in d6a39d0, though there are some unrelated cmake warnings |
d229ca1
to
b52fef2
Compare
Signed-off-by: William Lew <[email protected]>
b52fef2
to
ea11eb9
Compare
Still running into a segfault from using an incorrect pixel format. Currently trying to fix the error so it runs smoothly like the depth camera integration test. |
Signed-off-by: William Lew <[email protected]>
the test seems to fail after writing the test_result xml file, so jenkins doesn't notice that it failed, but it does show a seg-fault in the console log. I've collected a backtrace:
could there be a memory problem with one of the shaders? |
The crash happens after exit. It could be that the OgreRTShaderSystem is trying to destroy its resources after ogre has already been deleted. |
I created an integration test for the distortion camera and I am getting the same segfault, but when I delete the following line in ign-rendering, the program exits without a segfault: I think you are correct; the resources (for shaders) are deleted and then Ogre::RtShader::ShaderGenerator tries to delete them again. Removing the destroy() might cause memory leaks if there are still allocated resources but I currently don't see any other solutions if it isn't an ordering of destructors issue. |
The segfault seems to occur with every test that uses OGRE1. |
2 approvals and happy CI, merging! |
🎉 New feature
depends on:
Summary
supports parsing and loading wide angle camera sensors
Test it
you can test with the
wide_angle_camera.sdf
example world:Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge