ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Assuming a two wheel robot (differential drive robot), i would:
Make a node which sends data to your motor control and receives encoder data. - use geometry::Twist topic for speed input. linear.x for forward, angular.z for turning (others unused) -Calculate speeds and position starting from start position-> odometry and publish to /odom (nav_msgs::Odometry) -publish TF from base_link to odometry.
Hint: checkout gazebo plugins for diff drive for odometry calculations...
Regards,
Christian
2 | No.2 Revision |
Assuming a two wheel robot (differential drive robot), i would:
Make a node which sends data to your motor control and receives encoder data.
- data.
-Calculate speeds and position starting from start position-> odometry and publish to /odom (nav_msgs::Odometry)
(nav_msgs::Odometry)
-publish TF from base_link to odometry.
Hint: checkout gazebo plugins for diff drive for odometry calculations...
Regards,
Christian
3 | No.3 Revision |
Assuming a two wheel robot (differential drive robot), i would:
Make a node which sends data to your motor control and receives encoder data.
-Calculate Calculate speeds and position starting from start position-> odometry and publish to /odom (nav_msgs::Odometry)
-publish publish TF from base_link to odometry.
Hint: checkout gazebo plugins for diff drive for odometry calculations...
Regards,
Christian
4 | No.4 Revision |
Assuming a two wheel robot (differential drive robot), i would:
Make a node which sends data to your motor control and receives encoder data.
use geometry::Twist geometry_msgs::Twist topic for speed input. linear.x for forward, angular.z for turning (others unused)
Calculate speeds and position starting from start position-> odometry and publish to /odom (nav_msgs::Odometry)
publish TF from base_link to odometry.
Hint: checkout gazebo plugins for diff drive for odometry calculations...
Regards,
Christian