How to publish realtime /LaserScan data?

asked 2016-10-17 13:06:07 -0500

kartikmadhira1 gravatar image

I am going through the navigation stack from the navigation tutorial here and the tutorial contains code of publishing dummy /LaserScan data (as an example to understand easily). That being said I have a few doubts regarding the same.

  1. How do i publish the actual /LaserScan data from an rplidar or Kinect and use it for navigation.?
  2. I am using the fake_laser_pkg for kinect for getting a fake laser scan. Is this option good for navigation for kinect?

Thanks in advance.

edit retag flag offensive close merge delete

Comments

There are already ROS nodes that publish data for both of those sensors; just find them and use them.

ahendrix gravatar image ahendrix  ( 2016-10-17 16:10:11 -0500 )edit