上云API中 无人机osd信息 height和elevation这俩高度有什么区别?height给的解释是 绝对高度,elevation给的解释是相对起飞点高度。这个绝对高度是指海拔高度嘛?height的值是如何获取的?有没有可能会出现负值的情况?
-
{
"data": {
"dockInfo": {
"4g_quality": null,
"acc_time": null,
"alarm_state": null,
"battery_store_mode": null,
"cover_state": null,
"device_online_status": null,
"dock_sn": "8UUXN1L00A000X",
"drone_charge_state": null,
"drone_in_dock": null,
"emergency_stop_state": null,
"environment_temperature": null,
"first_power_on": null,
"humidity": null,
"latitude": null,
"longitude": null,
"mode_code": null,
"network_state": null,
"position_state": null,
"putter_state": null,
"rainfall": null,
"sdr_quality": null,
"supplement_light_state": null,
"temperature": null,
"total": null,
"used": null,
"wind_speed": null
},
"uavInfo": {
"battery_percent": 91,
"cameras": [
{
"camera_mode": "PHOTO",
"ir_zoom_factor": 2,
"liveview_world_region": {
"bottom": 0.5567365884780884,
"left": 0.4373217225074768,
"right": 0.5642423629760742,
"top": 0.43286338448524475
},
"payload_index": {
"position": "FRONT_LEFT",
"sub_type": "ZERO",
"type": "M4TD_CAMERA"
},
"photo_state": "IDLE",
"record_time": 0,
"recording_state": "IDLE",
"remain_photo_num": 15686,
"remain_record_duration": 0,
"zoom_factor": 7
}
],
"device_sn": "1581F8HGX252F00A0131",
"dock_sn": "8UUXN1L00A000X",
"elevation": 0,
"gimbalpitch": 0,
"gimbalroll": 0,
"gimbalyaw": -29.98,
"gps_number": 32,
"height": -8.19,
"horizontal_speed": 0,
"is_fixed": 2,
"latitude": 20.26410675048828,
"longitude": 109.95687103271484,
"loop_times": 25,
"mode": 0,
"payloads": [
{
"gimbalPitch": 0,
"gimbalRoll": 0,
"gimbalYaw": -29.976553,
"measureTargetAltitude": -8.2,
"measureTargetDistance": 0,
"measureTargetErrorState": "TOO_CLOSE",
"measureTargetLatitude": 20.264107,
"measureTargetLongitude": 109.95687,
"payloadIndex": {
"position": "FRONT_LEFT",
"sub_type": "ZERO",
"type": "M4TD_CAMERA"
},
"smartTrackPoint": null,
"thermalCurrentPaletteStyle": "WHITE_HOT",
"thermalGainMode": "HIGH",
"thermalGlobalTemperatureMax": 36.790123,
"thermalGlobalTemperatureMin": 34.179253,
"thermalIsothermLowerLimit": -20,
"thermalIsothermState": "DISABLE",
"thermalIsothermUpperLimit": 150,
"version": null,
"zoomFactor": 0.56782335
}
],
"pitch": 1.8,
"roll": 0.2,
"rtk_number": 39,
"storage": {
"total": 60382000,
"used": 2047000
},
"temperature": 33.7,
"vertical_speed": 0,
"wind_speed": 0,
"yaw": -30
}
},
"dataType": "status",
"networkLatency": 432,
"timestamp": 1744684610899
}uavInfo是无人机上报的osd信息 这个海拔高度显示为负数了
Please sign in to leave a comment.
Comments
5 comments