The translator node for calculating the speeds and angles of the 6 wheels and the robot arm
ros2 name: n10_drive_translator_node
launch with :
ros2 launch translator translator.launch.py
-
/n10/cmd_velgeometry_msgs::msg::Twist100 Hz expected: linear and angular velocity of the robotinear.x: from-1 ≐ -1 m/sto1 ≐ 1 m/slinear.y: from-1 ≐ -1 m/sto1 ≐ 1 m/sangular.z: from-1 ≐ -π/2 m/sto1 ≐ π/2 m/scounterclockwise
-
/n10/arm_statestd_msgs::msg::Float32MultiArray (4): absolute arm position, ground_angle and grabber state
-
/n10/motor_velstd_msgs::msg::Float32MultiArray (6)100 Hz: wheel RPMs- publishes 0 after
100msnot/n10/cmd_velrecieved
- publishes 0 after
-
/n10/servo_cmd_wheelsstd_msgs::msg::Float32MultiArray (6)100 Hz: wheel angles- from
-π/2 ≐ pointing righttoπ/2 ≐ pointing left
- from
-
/n10/servo_cmd_armstd_msgs::msg::Float32MultiArray (4)100 Hz: arm_joint angles and grabber servo angle
Can be set in parameter/translator.yaml
-
plot/velocity_plot.pyfor visualization of velocity vectors for the wheels published to/n10/servo_cmd_wheelsand/n10/motor_vel -
plot/arm_plot.pyfor visualization of arm angles published to/n10/servo_cmd_arm