-
Notifications
You must be signed in to change notification settings - Fork 103
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
Deprecate camera pose #1431
Deprecate camera pose #1431
Conversation
Signed-off-by: Ian Chen <ichen@openrobotics.org>
does it work to set
|
Signed-off-by: Ian Chen <ichen@openrobotics.org>
oh I didn't know about this! Just found what -1 means in the parser code. I think that's what I need, thanks. Set |
Signed-off-by: Ian Chen <ichen@openrobotics.org>
I looked back in gazebo-classic, and we used the
do we have support for stereo-cameras yet in gz-sim? cc @azeey |
Gazebo-classic uses a |
I originally thought |
Closing this. The new Gazebo will not use this SDF element but there maybe users out there who do need |
🦟 Bug fix
Summary
Deprecate
//sensor/camera/pose
as it's redundant with//sensor/pose
, see gazebosim/gz-sim#2433 (comment).I deprecated the relevant functions in Camera DOM class. As for deprecating the actual
//sensor/camera/pose
SDF element, I noticed that the pose element is included in thesdf/1.12/camera.sdf
file using<include filename="pose.sdf" required="0"/>
so I can't update it's description to say that it's being deprecated. One option is to copy the entire conent of pose.sdf into camera.sdf and update its description - let me know if this is the preferred method. Update: marked as deprecated by settingrequired
to-1
(<include filename="pose.sdf" required="-1"/>
)Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.