add stamp to RobotWorkInfo.msg

This commit is contained in:
NuoDaJia02
2026-01-27 19:54:57 +08:00
parent b6d2317c14
commit 8ae45a5818
2 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
# 机器人工作状态汇总信息
int64 msg_id # 消息序列号
builtin_interfaces/Time stamp # 时间戳
string working_state # 工作状态 [Standby, Working, Fault]
int8 battery_capacity # 电池电量 [0-100] %
float32 working_time # 累计工作时间 [h] (例如 1.5)

View File

@@ -11,6 +11,8 @@
<build_depend>rosidl_default_generators</build_depend>
<depend>std_msgs</depend>
<depend>geometry_msgs</depend>
<depend>sensor_msgs</depend>
<depend>builtin_interfaces</depend>
<exec_depend>rosidl_default_runtime</exec_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>