Gazebo | Ignition | Community
Ask Your Question

How to put Hokuyo laser sensor on p2os?

asked 2012-10-01 07:58:34 -0500

Mendelson gravatar image

Hi! I'm new at gazebo, and I would like to know how to put a hokuyo sensor on my p2os model. I am not using a real robot, I just want to know how to add a sensor on my simulation.

I've tried (turtlebotsimlaser) Sensor insertion into robot's urdf: (laserjoint) but it still doesn't work. (Check


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-05 09:54:41 -0500

nkoenig gravatar image


If you're using SDF, then you can nest models using:

<model name="pioneer2dx">
  <include filename="pioneer2dx.model" />
  <include filename="hokuyo.model" model_pose="0.2 0 0.3 0 0 0" />
  <include filename="camera.model" model_pose="0.2 0 0.5 0 0 0" />
edit flag offensive delete link more

Question Tools


Asked: 2012-10-01 07:58:34 -0500

Seen: 1,571 times

Last updated: Oct 05 '12