ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

installing laser scanner on Turtlebot 2 for SLAM

asked 2013-04-11 21:57:50 -0500

ZoltanS gravatar image

updated 2014-01-28 17:16:09 -0500

ngrennan gravatar image

I would like to install a Hokuyo UTM-30LX-EW laser scanner on a Turtlebot 2 and try the SLAM demo (http://www.ros.org/wiki/turtlebot_navigation/Tutorials/Build%20a%20map%20with%20SLAM). I managed to make the sensor work with the urg_node driver (https://github.com/ros-drivers/urg_node) in groovy, but in RVIZ it is always missing the /laser frame. I suspect I need to configure TF, but I don't know how, I can't add a new node to TF in RVIZ. Can anybody help, what and how should be adjusted in order to make the laser scanner work in the SLAM demo?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2013-04-11 22:03:21 -0500

Jbot gravatar image

You have to use a TF broadcaster to make the connexion between your base_frame and your laser_frame.

Try to use : static_transform_publisher

edit flag offensive delete link more

Comments

1

thanks! it works, I used "rosrun tf static_transform_publisher 0 0 0 0 0 0 /plate_middle_link /laser 1000"

ZoltanS gravatar image ZoltanS  ( 2013-04-12 00:42:32 -0500 )edit
1

answered 2013-04-11 23:47:29 -0500

dornhege gravatar image

The best way would be to add that link to the URDF in the robot description. TF is then published automatically. The HECTOR guys have done that to their turtlebot (see hector_turtlebot_description ).

edit flag offensive delete link more
0

answered 2014-05-11 20:51:21 -0500

MichaelGregg gravatar image

It's still a work in progress, but I have a tutorial on how to configure a Hokuyo laser scanner on a turtlebot.

Hopefully this helps. Feedback is welcome.

http://wiki.ros.org/turtlebot/Tutoria...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-04-11 21:57:50 -0500

Seen: 2,310 times

Last updated: May 11 '14