Gmapping with Husky A200 and SICK LMS100 [closed]
Hi All,
I am attempting to get Gmapping to work with the Clearpath Robotics Husky A200 UGV using a SICK LMS100 laser range finder. I am pretty new to ROS, so please forgive me if I've made a glaring error. I am having trouble figuring out how to do the transforms. The wiki page for gmapping states that the base to odom transform should be provided by the odometry system, and that map to odom transform is provided. For the scan frame to base link though, the wiki says "usually a fixed value, broadcast periodically by a robot_state_publisher, or a tf static_transform_publisher." Has Clearpath made a tf package for the Husky, or can anyone that has done this give me a hand?
Thanks
UPDATE So I have added a static transform from base link to laser. When using view_frames I have links from /map->/odom and /base_link->/laser, but no link between /odom and /base link. I used another static transform to connect odom to base link, but it didn't do anything. When I run gmapping_demo.launch I get the message: "[WARN] [time stamp]: Waiting on transform from /base_link to /map to become available before running costmap, tf error: Could not find a connection between '/map' and '/base_link' because they are not part of the same tree. TF has two or more unconnected trees." How do I connect these trees?
I'm not sure, but doesn't the Husky come without a laser? If you mounted that yourself, you'll have to do the config yourself. However if it is a fixed mount, you could even use a
tf static_transform_publisher
to send the fixed transform.I tried adding a picture of view_frames to show everyone what's going on, but for some reason it won't let me. Apparently I need more karma.