SRI202409-小车.md 1.4 KB

mqtt服务地址:10.10.10.73(实验室mqtt服务器)
mqtt服务地址:10.10.60.237(sri内网服务器)
mqtt服务端口:41883
mqtt话题:bg/log
mqtt消息(json字符串):{"1": "2024-12-12 01:01:21", "2": 6000, "3": 6000, "4": 6000}
mqtt消息注释:
{
  "1": "2024-12-12 01:01:21",  # 发送时间
  "2": 6000,  # 方向值
  "3": 6000,  # 油门值
  "4": 6000   # 刹车值
}
'{\n   "Scout_id" : 321,\n   "left_b_wheel_motor_speed" : 1500,\n   "left_f_wheel_motor_speed" : 1400,\n   "right_b_wheel_motor_speed" : 1400,\n   "right_f_wheel_motor_speed" : 1500,\n   "rotation_speed" : 20,\n   "speed" : 0,\n   "time" : "2024-09-13 13:16:29"\n}\n'
#车辆状态更新
mqtt服务地址:192.168.131.23
mqtt服务端口:41883
mqtt话题:hs/vehicle/state
mqtt消息说明:
{
    "address": "192.168.131.180",  # 车辆ip
    "state": 1,  # 车辆状态 1 离线 2 在线空闲 3 人工驾驶中 4 远程驾驶中 5 自动驾驶中
    "direction": 15,  # 车头方向(场地坐标偏转角度)
    "coordinate_x": 15,  # 当前车辆坐标
    "coordinate_y": 15,  # 当前车辆坐标
    "weight": 15,  # 负载重量
}
#渣包位置更新
mqtt服务地址:192.168.131.23
mqtt服务端口:41883
mqtt话题:hs/pot/data
mqtt消息说明:
{
  "pot_name": "M.24",  # 渣罐编号
  "pot_x": 40,  # 坐标值
  "pot_y": 50,  # 坐标值
  "mark_pot_pose": 0.3  # 渣罐姿态
}