2024-09-09 22:18:19 +08:00
|
|
|
# Controller Manager configuration
|
|
|
|
controller_manager:
|
|
|
|
ros__parameters:
|
2024-09-14 17:54:39 +08:00
|
|
|
update_rate: 500 # Hz
|
2024-09-09 22:18:19 +08:00
|
|
|
|
|
|
|
# Define the available controllers
|
|
|
|
joint_state_broadcaster:
|
2024-09-14 11:41:38 +08:00
|
|
|
type: joint_state_broadcaster/JointStateBroadcaster
|
|
|
|
|
|
|
|
imu_sensor_broadcaster:
|
|
|
|
type: imu_sensor_broadcaster/IMUSensorBroadcaster
|
|
|
|
|
2024-09-14 17:54:39 +08:00
|
|
|
unitree_guide_controller:
|
|
|
|
type: unitree_guide_controller/UnitreeGuideController
|
|
|
|
|
2024-09-14 11:41:38 +08:00
|
|
|
imu_sensor_broadcaster:
|
|
|
|
ros__parameters:
|
|
|
|
sensor_name: "imu_sensor"
|
2024-09-14 17:54:39 +08:00
|
|
|
frame_id: "imu_link"
|
|
|
|
|
|
|
|
unitree_guide_controller:
|
|
|
|
ros__parameters:
|
2024-09-16 13:44:08 +08:00
|
|
|
update_rate: 500 # Hz
|
2024-09-14 17:54:39 +08:00
|
|
|
joints:
|
|
|
|
- FR_hip_joint
|
|
|
|
- FR_thigh_joint
|
|
|
|
- FR_calf_joint
|
|
|
|
- FL_hip_joint
|
|
|
|
- FL_thigh_joint
|
|
|
|
- FL_calf_joint
|
|
|
|
- RR_hip_joint
|
|
|
|
- RR_thigh_joint
|
|
|
|
- RR_calf_joint
|
|
|
|
- RL_hip_joint
|
|
|
|
- RL_thigh_joint
|
|
|
|
- RL_calf_joint
|
|
|
|
|
|
|
|
command_interfaces:
|
2024-09-20 12:48:45 +08:00
|
|
|
- effort
|
2024-09-14 17:54:39 +08:00
|
|
|
- position
|
|
|
|
- velocity
|
|
|
|
- kp
|
|
|
|
- kd
|
|
|
|
|
|
|
|
state_interfaces:
|
|
|
|
- effort
|
|
|
|
- position
|
2024-09-16 13:44:08 +08:00
|
|
|
- velocity
|
|
|
|
|
2024-09-20 12:48:45 +08:00
|
|
|
feet_names:
|
|
|
|
- FR_FOOT
|
|
|
|
- FL_FOOT
|
|
|
|
- RR_FOOT
|
|
|
|
- RL_FOOT
|
|
|
|
|
2024-09-16 13:44:08 +08:00
|
|
|
imu_name: "imu_sensor"
|
|
|
|
|
|
|
|
imu_interfaces:
|
2024-09-17 14:03:08 +08:00
|
|
|
- orientation.w
|
2024-09-16 21:15:34 +08:00
|
|
|
- orientation.x
|
|
|
|
- orientation.y
|
|
|
|
- orientation.z
|
2024-09-16 13:44:08 +08:00
|
|
|
- angular_velocity.x
|
|
|
|
- angular_velocity.y
|
|
|
|
- angular_velocity.z
|
|
|
|
- linear_acceleration.x
|
|
|
|
- linear_acceleration.y
|
2024-09-16 21:15:34 +08:00
|
|
|
- linear_acceleration.z
|