data = { # 指令类型 "cmdid": 1001, # 执行行驶任务 # 指令参数 "param": { # 导航数据 "navigation": [ { 'type': 'forward', # 方向类型 forward 正向 backward 反向 'nav_coordinates': [ # 直行轨迹坐标参数 { "start_point_x": 37.7749, "start_point_x": 37.7749, "end_point_x": 40, "end_point_y": -120 }, # 转弯轨迹坐标参数 { "start_point_x": 40.7128, "start_point_y": -74.0060, "center_point_x": 10, "center_point_y": 20, "end_point_x": 50.7128, "end_point_y": -70.0060 }, ] }, { 'type': 'backward', 'nav_coordinates': [ # 直行轨迹坐标参数 { "start_point_x": 37.7749, "start_point_y": 37.7749, "end_point_x": 40, "end_point_y": -120 }, # 转弯轨迹坐标参数 { "start_point_x": 40.7128, "start_point_y": -74.0060, "center_point_x": 10, "center_point_y": 20, "end_point_x": 50.7128, "end_point_y": -70.0060 }, ] }, ], }, }