状态同步

status_update

接口描述

由服务端推送的状态同步数据。跟启动大盘的返回数据一致

响应参数

参数名
类型
描述
必填
ts
int
时间戳
必填
system_logs
array
日志
必填
log_id
int
日志id
必填
device_id
int
关联的无人机
必填
message
string
日志内容
必填
devices
array
无人机状态信息
必填
device_id
int
无人机id
必填
device_group_id
int
组编号
必填
device_comment
string
设备备注
必填
device_config
object
人工配置的信息
必填
address
string
网络通信地址
必填
patrol_path
array
巡逻路径
必填
lng
float
巡逻点的经度
必填
lat
float
巡逻点的纬度
必填
custom_speed
float
手动设定的速度,负数表示没有手动设定
必填
camera_platform_config
object
相机云台控制参数
必填
camera_config
object
相机控制参数
必填
device_location_speed
object
位置+运动信息
必填
speed
float
速度
必填
angle
float
角度 ,正北为0度,顺时针旋转
必填
lng
float
经度
必填
lat
float
纬度
必填
voltage
float
电池电压
必填
role
string
角色
必填
group_members
array
协同机id数组
必填
live_address
string
视频流地址。暂定为rtsp流。
必填
current_path_list
array
当前执行的路径序列
必填
task_id
int
路径从属于的任务
必填
target_id
int
如果路径是从目标位置生成的,那么这里会有对应目标的id
可选
path
array
路径的点列
必填
lng
float
经度
必填
lat
float
纬度
必填
tasks
array
上级下达的任务
必填
task_id
int
任务的id
必填
task_location
object
位置信息
必填
lng
float
纬度
必填
lat
float
经度
必填
task_info
string
任务的背景信息
必填
task_create_ts
int
任务创建时间
必填
task_finish_ts
int
任务结束时间
必填
targets
array
侦察到的目标
必填
target_id
int
目标的id
必填
target_location_speed
object
位置+运动信息
必填
speed
float
速度
必填
angle
float
角度 ,正北为0度,顺时针旋转
必填
lng
float
经度
必填
lat
float
纬度
必填
task_id
int
目标关联的任务id
必填
task_info
string
任务的背景信息
必填
device_id
int
跟踪目标的无人机id
必填
time_period_id
int
对应的时间片
必填
target_create_ts
int
发现目标的时间
必填
target_execute_ts
int
执行目标的时间
必填
target_finish_ts
int
完成目标的时间
必填
target_status
string
目标的状态(已完成、已失败)
必填
target_video
string
视频文件
必填