-
Notifications
You must be signed in to change notification settings - Fork 93
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
Missing documentation for what concerns camera sensors frame #425
Comments
An additional point that could be confusing for users is the following. It seems that indeed the optical axis in Gazebo is assumed to be aligned with the X direction of the frame defined by the composition of the |
Interestingly, the convention currently assumed in Gazebo for SDF's Camera frame seems to be not compatible with the Drake one (see https://drake.mit.edu/doxygen_cxx/classdrake_1_1systems_1_1sensors_1_1_camera_info.html), for which instead the Z-axis is indeed the viewing direction. fyi @EricCousineau-TRI |
Per f2f, @azeey can look into this, and potentially document the conventions used for the sensor frame: axes, computer vision vs. (right-handed) computer graphics, and possibly with a suggested rpy offset to align w/ another convention. |
Thanks a lot @EricCousineau-TRI and @azeey ! |
That is indeed the strategy we used ourself in robotology/icub-models#69 . We used the sensor pose to reflect the OpenCV/REP-103-style frame, and then we used the camera pose to convert it to the SDF/Gazebo convention. |
I was unable to find information about the default direction of the optical axis of a generic camera sensor.
Without explicit information, I was assuming:
(See here for reference)
But looking at a simple example like this one, in absence of any
<pose>
specification, the optical axis seems to be along x, since for Gazebo Z is up and X is in front then the camera plane is defined by YZ instead of XY as I was assuming.Can you confirm that?
For the users, it would be ideal if the documentation could specify the documentation should specify on which axis the optical axis is oriented, and which axes define the image plane.
Related downstream issue: robotology/icub-models#69
cc @traversaro
The text was updated successfully, but these errors were encountered: