Home | Tutorials | Wiki | Issues
Ask Your Question

How to put Hokuyo laser sensor on p2os?

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

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 https://kforge.ros.org/turtlebot/turtlebot/file/fb8354a98ac5/turtlebotdescription/urdf/gazebo.urdf.xacro (turtlebotsimlaser) Sensor insertion into robot's urdf: https://kforge.ros.org/turtlebot/turtlebot/file/fb8354a98ac5/turtlebotdescription/urdf/turtlebotbody.urdf.xacro (laserjoint) but it still doesn't work. (Check http://answers.ros.org/question/44691/how-to-put-hokuyo-laser-sensor-on-p2os/)


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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
Login/Signup to Answer

Question Tools


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

Seen: 1,374 times

Last updated: Oct 05 '12