-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ros2] Port skid_steer_drive to ROS2 #927
[ros2] Port skid_steer_drive to ROS2 #927
Conversation
Integrate skid steer drive into diff drive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migration guide is available at ROS 2 Migration: Skid Steer drive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great for me, thanks for iterating 😄
May I ask if the modified controller supports translational movement similar to the 4WD Mecanum? I used the description file of nexus_4wd_mecanum_simulator and replace the original control plugin with the libgazebo_ros_diff_drive.so plugin in ROS2 Humble. However, it seems to have some directional issues. When I send a clockwise rotation command, it actually moves forward.
|
Differential drive plugin has been modified to integrate skid steer drive into it. Any number of wheel pairs (1: diff drive, 2: skid_steer_drive or greater than 2) can be specified in the sdf and accordingly the joint names, wheel separations, and wheel diameters have to be specified.
Example:
Here there are 2 wheel pairs specified. Thus it will behave as skid steer drive. Similarly any number can be specified for num_wheel_pairs. The joint names, wheel separations, and wheel diameter for each pair has to be specified with their index number appended to the base tag.
For example
<wheel_separation3>
specifies the spacing for<left_joint3>
and<right_joint3>
and so. The indexing starts from 0 to (num_wheel_pairs - 1).