Gazebo | Ignition | Community
Ask Your Question
0

How to use depth camera plugin in Ignition

asked 2021-11-30 18:13:56 -0600

miguelnery gravatar image

Hi everyone. I'm trying to integrate a depth camera plugin into my SDF model, but I couldn't find any tutorial about this plugin usage in Ignition Gazebo. Is there any example of how to use it? Thanks in advance!

edit retag flag offensive close merge delete

Comments

Just a heads-up: if you're using ros_ign_point_cloud to get PointCloud2 messages from a simulated depth camera, there was an issue: https://github.com/ignitionrobotics/ros_ign/issues/40

It's been a month or two since I looked at it, so may have been fixed by now.

Rick Armstrong gravatar imageRick Armstrong ( 2021-12-02 13:51:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-01 22:13:48 -0600

azeey gravatar image

Here's an example that uses a depth camera sensor: https://github.com/ignitionrobotics/i...

There's no specific plugin for depth cameras. You only need the Sensor plugin, which is at the top the sdf file

<plugin
  filename="ignition-gazebo-sensors-system"
  name="ignition::gazebo::systems::Sensors">
  <render_engine>ogre2</render_engine>
</plugin>
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2021-11-30 18:13:56 -0600

Seen: 37 times

Last updated: Dec 01 '21