I would like to use hector mapping to generate a map with a lidar lite v3 mounted on a servo motor panning 180 degrees back and forth. A node is publishing LaserScan data directly from the Arduino Mega 2560. I can visualize the data in rviz, but its only generating a straight line as the map. This tells me that there is a tf issue. The current angle of the servo is also published as *angle_increment* on the /scan topic and the distance is published every 1 degree.
When I run view_frames there is a transform from map->base_link->laser_link and also map->scanmatcher_frame
I still don't understand why I only see a single line generated in rviz.
mapping_default.launch:
Any recommendation would be much appreciated. Thanks.
↧