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

Turtlebot 2 map postition

asked 2015-09-11 13:17:45 -0500

Vinh K gravatar image

updated 2015-09-16 13:10:47 -0500

Hi Everyone,

is there a way to make turtlebot move autonomously to its exact position in the map given? I am working with multiple turtlebots but I need to make them calculate its postion so that way I don't have to teleop one by one.

Update: I want to know if the turtlebots can calculate its position by moving it self so that way the formation of multiple robots is faster to implement. Since they are sharing postitions, their exact positions are also important.

Thank You

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-13 22:33:31 -0500

Willson Amalraj gravatar image

updated 2015-09-16 23:37:47 -0500

If you know the pre-defined destination for each turtlebot, you can write a publisher to move the robot autonomously. There are a few basic things to consider (if you need an autonomous robot) depending on your problem.

  1. You need feedback. You have to continuously measure the position of the turtlebot on the map. ( you can use odometry to know the distance travelled by the turtlebot and estimate the position of turtlebot on the map).
  2. If there are obstacles in the environment, you need to sense them and avoid them.
  3. You may need to plan paths of the turtlebot.
  4. You need to track the path.

You need to elaborate your question further, because the problem can have various level of complexity.

Regarding the update, Each of the turtlebot will publish its own positions on the odometry topic (/odom, if I am not wrong). But these positions will be corresponding to robot-frame. What you need to do is transform these positions in robot-frame to earth-frame. You can use a transfromation matrix (consisting of rotational components and translational components, for forward kinematics) for each of the robot, to do the transformation. You can follow this tutorial to learn about coordinate transforms.

Once you get the robot positions in earth-frame, you can use them for formation control.

edit flag offensive delete link more

Comments

thanks Amalraj, i'll let get back to you when i get to implementation.

Vinh K gravatar image Vinh K  ( 2015-09-17 00:00:50 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-11 13:17:45 -0500

Seen: 579 times

Last updated: Sep 16 '15