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

How does the Planer move plugin work?

asked 2016-01-07 06:52:12 -0600

ngoldfarb gravatar image

I am trying to get the build a omni-directional robot in gazebo. I got it working model by applying forces to each wheel following this tutorial. But the problem is that I also need to do odometry, which I cannot do controlling the model this way. I want to do path planning and navigation.

I cam across this but I do not understand how I use it. Do I still control each wheel individual by setting commands to each wheel use the \cmd_vel topic? Or Do I ignore the individual wheel speeds and just use the /cmd_vel for the velocity of the robot? I have been stuck on this for a while

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-01-08 02:23:36 -0600

mgruhler gravatar image

The usual way in path planning and navigation is to create velocity commands for the full robot. You usually apply the velocities to the base_link frame.

Then, you need a base controller which computes the given wheel velocities given the "full robot velocity" depending on you kinematics. Thus, the /cmd_vel topic usually goes into the base controller, which then computes the wheel velocities.

Once you have the kinematic model of the robot, which you require to compute the command velocities for each wheel, you can use the inverse of this to compute the odometry from the current wheel velocities and then publish the odometry to the ROS system.

edit flag offensive delete link more

Comments

thank you,

ngoldfarb gravatar image ngoldfarb  ( 2016-01-10 08:07:22 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-01-07 06:52:12 -0600

Seen: 1,680 times

Last updated: Jan 08 '16