Both the perception host and navigation host publish the following CPU status topics:
Topic Name Description Message Type /motion_cpu/frequency Robot CPU frequency (MHz) std_msgs/Float32 /motion_cpu/temperature Robot CPU temperature (°C) std_msgs/Float32
Topic Name Description Message Type /battery/level Current battery level (%) std_msgs/UInt8 /battery/current Robot current (A or 10mA) std_msgs/Float32 /battery/voltage Robot voltage (V) std_msgs/Float32 /battery_state Robot battery information message_transformer_cpp/BatteryData
uint16 remaining_capacity
float32 [] battery_temperature
Before using rostopic echo to view the /battery_state topic, run:
source ~/jy_cog/transfer/setup.bash
Both the perception host and navigation host publish the following LiDAR topics, which start publishing immediately after boot:
Topic Name Description Message Type Frequency /livox/lidar Livox LiDAR custom format point cloud data livox_ros_driver2/CustomMsg 10Hz /lidar_points Generic format point cloud data sensor_msgs/PointCloud2 10Hz
The message type livox_ros_driver2/CustomMsg for the /livox/lidar topic is a custom message type:
livox_ros_driver2 / CustomPoint [] points
Before using rostopic echo to view this topic, run:
source ~/jy_cog/drivers/setup.bash
Topic Name Description Message Type Frequency /imu/data IMU data topic from the robot body sensor_msgs/Imu 200Hz
This topic starts publishing immediately after boot. Developers can subscribe to this topic to obtain IMU data, including orientation quaternion, angular velocity, and linear acceleration.
Topic Name Description Message Type /joint_states Joint states sensor_msgs/JointState
Topic Name Description Message Type /driver_temperature Driver temperatures of 12 joints (°C) std_msgs/UInt8MultiArray /motor_temperature Motor temperatures of 12 joints (°C) std_msgs/Float32MultiArray
Topic Name Description Message Type /robot_basic_state Robot basic motion status std_msgs/Int32
Topic Message Value Status 6 Soft emergency stop / Fall status
Topic Name Description Message Type /control_mode Control mode std_msgs/UInt8
Topic Message Value Control Mode 0 Manual mode 1 Non-manual mode
In addition to UDP commands, the height map module can also be controlled via ROS topics (operations should be performed on the perception host 192.168.1.105):
Topic Name Description Message Type /brake_mode Set stop-avoidance mode std_msgs/Int32 /brake_mode_state View stop-avoidance mode std_msgs/Int32
Topic Message Value Stop-Avoidance Mode 1 Stop at obstacle 2 Avoid obstacle
Topic Name Description Message Type /vel_source Set velocity input source std_msgs/Int32 /vel_source_state View current velocity input source std_msgs/Int32
Topic Message Value Velocity Input Source 1 Joystick 2 Navigation module
Topic Name Description Message Type /height_map_mode Set height map mode std_msgs/Int32 /height_map_mode_state View height map mode std_msgs/Int32
Topic Message Value Height Map Mode 3 Solid ground 4 Hollow ground 5 Stairs without risers 18 Accumulated frame ready state 20 Accumulated frame
Topic Name Description Message Type /step_z_max Set obstacle height threshold (meters) std_msgs/Float64 /step_z_max_state View obstacle height threshold (meters) std_msgs/Float64
Generally, set to 0.25 for stair gait, 0.12 for slope gait, and 0.08 for walking gait.
Topic Name Description Message Type /slow_t Set collision time for triggering correction (seconds) std_msgs/Float64 /slow_t_state View collision time for triggering correction (seconds) std_msgs/Float64 /stop_t Set collision time for triggering zero desired velocity (seconds) std_msgs/Float64 /stop_t_state View collision time for triggering zero desired velocity (seconds) std_msgs/Float64
Topic Name Description Message Type /deeprobotics_local_height_map_mid360/obstacle_pointcloud Obstacle point cloud in body gravity frame sensor_msgs/PointCloud2
Topic Name Description Message Type /map Global grid map used in navigation nav_msgs/OccupancyGrid
Topic Name Description Message Type /globalmap Global point cloud map used in localization sensor_msgs/PointCloud2
Topic Name Description Message Type /map_request/pcd Path of the new global map (.pcd file) for localization std_msgs/String
Topic Name Description Message Type /initialpose Reset current pose for localization geometry_msgs/PoseWithCovarianceStamped
Topic Name Description Message Type /location_status Localization loss status std_msgs/Int8
Topic Message Value Status 0 Localization normal 1 Localization lost
In addition to the TCP protocol, navigation goal points can also be sent via ROS topics (operations should be performed on the navigation host 192.168.1.106):
Topic Name Description Message Type /move_base/goal Normal navigation goal point MoveBaseActionGoal /move_base_direct_line/goal Straight-line navigation goal point MoveBaseDirectLineActionGoal
Topic Name Description Message Type /move_base/GlobalPlanner/plan Global path planned by normal navigation nav_msgs/Path /move_base/LocalPlanner/local_plan Local path planned by normal navigation nav_msgs/Path /move_base/LocalPlanner/global_plan Global path extracted by normal navigation local planner nav_msgs/Path
Topic Name Description Message Type /move_base/obs_state Stop-avoidance status std_msgs/Int32
Topic Message Value Stop-Avoidance Status 0 No collision risk detected 1 Stop-avoidance in progress
Topic Name Description Message Type /cmd_vel Velocity command from navigation planning geometry_msgs/Twist
Developers can also publish self-planned velocity commands on this topic. In navigation mode, messages on this topic will be forwarded to the height map module on the perception host for processing.
Topic Name Description Message Type /charge_manager_state Get autonomous charging status std_msgs/Int32
Topic Message Value Charging Status 0 Idle 1 Performing charging task 2 Charging in progress 3 Performing end-charging task 4 Charging dock power off 4098 Getting localization info timed out 4099 Localization algorithm failed to start 4100 Arrival timed out 4101 No localization info 4102 Localization info jumping 4103 Failed to detect charging current, lying on charging dock 4106 Failed to detect charging current, exited charging dock