低空智控平台 后端go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
809 B

package vo
import "laic-backend/common"
// ExecutionPageReq 执行记录分页查询
type ExecutionPageReq struct {
common.Pagination
Status string `json:"status" form:"status"`
TaskID string `json:"taskId" form:"taskId"`
DockID string `json:"dockId" form:"dockId"`
}
// TrajectoryPoint 轨迹点
type TrajectoryPoint struct {
Ts int64 `json:"ts"`
Longitude float64 `json:"longitude"`
Latitude float64 `json:"latitude"`
Altitude float64 `json:"altitude"`
GroundSpeed float64 `json:"groundSpeed"`
Yaw float64 `json:"yaw"`
BatteryPct int `json:"batteryPct"`
}
// TrajectoryVO 执行轨迹
type TrajectoryVO struct {
ExecutionID int64 `json:"executionId"`
DockID string `json:"dockId"`
Points []TrajectoryPoint `json:"points"`
}