ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

LaserScan message in ROS from a simulated Hokuyo laser

asked 2014-04-07 04:24:35 -0600

nita-daniel gravatar image

updated 2016-10-24 09:03:00 -0600

ngrennan gravatar image

real: 1.1239999532699585, 1.1260000467300415, 1.1260000467300415, 1.1260000467300415, 1.128000020980835, 1.128999948501587, 1.128999948501587.... sensor_msgs/LaserScan

simulated: [-5.592209339141846, -5.592210292816162, 2.2351741790771484e-08].... std_msgs/String

How can I get a sensor_msgs/LaserScan from the simulated Hokuyo? Thank you!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-04-07 22:01:49 -0600

updated 2014-04-07 23:03:16 -0600

By using the libgazebo_ros_gpu_laser plugin as for example here. See also this explanation on the gazebo wiki.

/edit: For Blender, your best bet is either using MORSE which apparently can generate ROS LaserScan messages or using Blensor.

edit flag offensive delete link more
0

answered 2014-04-07 22:26:56 -0600

nita-daniel gravatar image

Thank you for reply. I forgot to mention that I use Blender, is there any other way?

edit flag offensive delete link more

Comments

Please post comments as comments, not as answers, as this is becomes super confusing to other readers. Will edit my answer in a short moment..

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-04-07 23:00:21 -0600 )edit

ok, I am new here, sorry

nita-daniel gravatar image nita-daniel  ( 2014-04-08 01:32:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-04-07 04:24:35 -0600

Seen: 348 times

Last updated: Apr 07 '14