Refactor the robot description, and include mecanum control.
This commit is contained in:
1 parent
ecdbe00d07
commit
47274dcb36
12 files changed
+373
-345
No files matched your search
@@ -11,26 +11,21 @@ controller_manager:
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Mecanum drive controller
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# NOTE: The URDF joint names do not match the physical wheel positions due to a
|
||||
# naming inconsistency in agv_pro.urdf. The mapping between the controller's
|
||||
# logical positions and the URDF joint names is as follows:
|
||||
#
|
||||
# Physical position │ URDF joint name
|
||||
# ──────────────────┼────────────────────────────
|
||||
# front-left (FL) │ left_front_wheel_joint ✓
|
||||
# front-right (FR) │ left_rear_wheel_joint ← physically front-right
|
||||
# rear-left (RL) │ right_front_wheel_joint ← physically rear-left
|
||||
# rear-right (RR) │ right_rear_wheel_joint ✓
|
||||
# Wheel link names match their physical corners:
|
||||
# front-left (FL) -> left_front_wheel_joint
|
||||
# front-right (FR) -> right_front_wheel_joint
|
||||
# rear-left (RL) -> left_rear_wheel_joint
|
||||
# rear-right (RR) -> right_rear_wheel_joint
|
||||
#
|
||||
# The same mapping is used by the hardware interface (front_left_joint /
|
||||
# front_right_joint / rear_left_joint / rear_right_joint params in the URDF
|
||||
# <ros2_control> block).
|
||||
mecanum_drive_controller:
|
||||
ros__parameters:
|
||||
front_left_wheel_command_joint_name: left_front_wheel_joint
|
||||
front_right_wheel_command_joint_name: left_rear_wheel_joint
|
||||
rear_left_wheel_command_joint_name: right_front_wheel_joint
|
||||
rear_right_wheel_command_joint_name: right_rear_wheel_joint
|
||||
front_left_wheel_command_joint_name: front_left_wheel_joint
|
||||
front_right_wheel_command_joint_name: front_right_wheel_joint
|
||||
rear_left_wheel_command_joint_name: rear_left_wheel_joint
|
||||
rear_right_wheel_command_joint_name: rear_right_wheel_joint
|
||||
|
||||
odom_frame_id: odom
|
||||
base_frame_id: base_footprint
|
||||
|
||||
Reference in new issue
Block a user