Always keep tuned in the package wiki ( http://wiki.ros.org/navigation )
ROS Navigation - MoveBase
image description http://wiki.ros.org/move_base?action=AttachFile&do=get&target=overview_tf_small.png
As you can see the only thing that ros navigation is taking care of is what is inside the white box. The velocities commands are exposed as /cmd_vel | geometry_msgs/Twist
.
Twist has the following struct: Twist
Usually, a wheeled robot just cares about linear.x
and angular.z
, so YOU should subscribe to this topic and create your personal kinematic model.
However, there are some already builds alternatives ( Differential Driver )
To create your own method you can use Hardware Interface, but this is your choice.
Originally posted by Teo Cardoso with karma: 378 on 2021-07-15
This answer was ACCEPTED on the original site
Post score: 1
Original comments
Comment by SAURABH on 2021-07-16:
First of all thank you very much for your valuable response...
Comment by SAURABH on 2021-07-16:
Yes, I have idea about Twist message and also i have the kinematic model for my omni-wheeled robot.
Comment by SAURABH on 2021-07-16:
To convert the Twist message (velocity command) into corresponding wheel velocities of the robot. i think we have to use kinematic model.
Comment by SAURABH on 2021-07-16:
But the main problem i am facing is that i am not able to get in which launch file (either in teleop or in other navigation file.......or in ros_planar_move plugin) i have to insert these kinematic equations??
Comment by SAURABH on 2021-07-16:
May be that's the reason my omni-wheeled robot slides in Gazebo as well as in RViz during teleop (the base velocities of the robot are not transferred to the wheels......i haven't inserted the kinematic model yet because i have no idea where to put these equations code.)
Comment by SAURABH on 2021-07-16:
And also can you let me know the TurtleBot3 file name in which they have used their kinematic model equations code?
Thanks in advance!!
Comment by SAURABH on 2021-07-16:
And I have one issue that....i am not able to send all the content above as a single message by selecting add comment tab.
Comment by SAURABH on 2021-07-25:
Okk....now I got the idea that kinematic equations are inbuilt in the controller plugin. Actually I am using 3 omni-wheeled robot platform for path planning. The available controller plugin is planar_move_plugin for such robots. This plugin is not working properly in my case so I want to insert my kinematic relations in plugin but in this plugin (.cpp file) there is no such code related to kinematics which I can replace with my kinematics. Kindly anyone suggest me some idea about custom plugin for 3 omni-wheeled robot platform??