Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I visualise the ultrasonic sensor in Gazebo?

I want to add a gazebo plugin which is called 'sonar'. Here is my code that I took from the source:

<gazebo reference="ultrasonic">
      <sensor type="ray" name="sonar">
          <pose>0.25 0 0 0 0 0</pose>
          <plugin filename="" name="gazebo_ros_range">

I have added visualize to be true but in a gazebo simulation I can't see the cone shaped array from the sonar. What am i doing wrong here? Btw, I have added links and joints in my main xacro file, so the fault isn't there.