Skip to content

New gazebo sensor #88

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

Open
carmendrpr opened this issue Apr 29, 2025 · 0 comments
Open

New gazebo sensor #88

carmendrpr opened this issue Apr 29, 2025 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@carmendrpr
Copy link

I followed the tutorial on adding new Gazebo assets to configure a new sensor, as well as the development guide for creating new Gazebo assets. In both, when trying to use a new sensor and the file model.sdf.jinja, you must add the following lines to quadrotor_base.sdf.jinja:

{% elif sensor.model == 'rgbd_camera' and not sensor.gimbaled -%}
{% include 'rgbd_camera/rgbd_camera.sdf.jinja' with context %}

If you miss these lines, the model.sdf will be used by default.

IMPORTANT: If the new sensor must be on the gimbal, the model.sdf.jinja file must be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants