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

Magabot ROS Integration

asked 2013-11-25 05:43:29 -0500

rflmota gravatar image

updated 2014-01-28 17:18:38 -0500

ngrennan gravatar image

Hey all,

I've the following Arduino based educational robot:


which comprises the following specs:

  1. differential drive system w/ encoders on both wheels
  2. 2x front bumpers
  3. 5x sonar sensors on the front

And I'd like to integrate it with ROS environment. I've already put a laptop on top running ROS and communicating with the robot through rosserial Arduino package and now I'd like to setup it with the 2D Navigation Stack by adding a laser scanner.

While reading this tutorial - Setup and Configuration of the Navigation Stack on a Robot - some questions arise:

  1. Which TF broadcasters should I implement? (I thought of a laser scanner TF + a Sonar TF (group or individual for each sensor?), maybe a bumper TF too?!)
  2. How about odometer TF? Which kind of transformation is correct, since both wheels are paralell to the robot? Just translation? Or maybe rotation to?!
  3. Should all TF broadcasting msgs be published by a single node or different nodes for each frame?!
  4. Regarding sensors and particularly sonar, should I publish their information like a sensor_msgs/PointCloud or sensor_msgs/LaserScan?

Sorry for so many questions and thank you very much in advance. ;)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-11-25 06:21:18 -0500

dornhege gravatar image
  1. Provide tf information for base_link to any sensor that you have connected. Depending on how far you'd like to go, writing an URDF might be easier (in that case robot_state_publisher will do tf for you).

  2. Provide /odom -> /base_link which is the full pose (translation and rotation).

  3. Does not matter.

  4. Depends on what fits the sensor better. LaserScans will be interpreted as a range sensor with beams that are equally spaced (by angles) and provide measurements for all angles.

edit flag offensive delete link more

answered 2013-11-30 04:36:33 -0500

rflmota gravatar image

How about 'base_link' TF? how to publish it?!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-11-25 05:43:29 -0500

Seen: 318 times

Last updated: Nov 30 '13