Hector Slam and GPIO

asked 2015-05-11 12:22:08 -0500

mrnosco gravatar image

updated 2015-05-11 12:27:34 -0500

I am using a Raspberry Pi 2 B with Ubuntu and ROS Indigo.

I installed hector_slam and rvis, and I'm trying to get a map out of my lidar ( http://www.robotshop.com/eu/en/lidar-... )

I am connecting the lidar-lite via i2c, i2cdetect outputs a bunch of dashes and 62, which as far as I can tell means the lidar is detected.

When I run :

roslaunch hector_slam_launch tutorial2.launch &
rosbag play Team_Hector_MappingBox_RoboCup_2011_Rescue_Arena.bag  --clock

I just get a blank map, and the section "LaserScan: Topic" in the displays box is empty and has no options.

Also, "rostopic echo scan" returns nothing.

Is there a way to make ROS detect the i2c lidar?

edit retag flag offensive close merge delete