Matrice 3TD 无人机飞行直播,用websocket推送的数据中,没有fov的数据吗?
已完成你好,我接入了无人机的直播视频,然后用 websocket 获取了实时数据,如下:
{
"attitude_head": -79.2,
"attitude_pitch": 0.9,
"attitude_roll": 2.5,
"elevation": 157.9,
"battery": {
"batteries": [
{
"firmware_version": "26.03.00.44",
"index": 0,
"loop_times": 36,
"capacity_percent": 39,
"sn": "6Q7PLAUDA0005L",
"sub_type": 0,
"temperature": 38.7,
"type": 0,
"voltage": 14305,
"high_voltage_storage_days": 4
}
],
"capacity_percent": 39,
"landing_power": 8,
"remain_flight_time": 617,
"return_home_power": 26
},
"gear": 1,
"height": 1334.9657,
"home_distance": 52.471848,
"horizontal_speed": 0,
"latitude": 26.929647,
"longitude": 106.47189,
"mode_code": 3,
"total_flight_distance": 262846.71500977525,
"total_flight_time": 52862.797,
"vertical_speed": 0,
"wind_direction": 2,
"wind_speed": 51,
"position_state": {
"gps_number": 32,
"is_fixed": 2,
"quality": 5,
"rtk_number": 53
},
"storage": {
"total": 60368000,
"used": 11000
},
"night_lights_state": 0,
"height_limit": 350,
"distance_limit_status": {
"state": 0,
"distance_limit": 5000,
"is_near_distance_limit": false
},
"obstacle_avoidance": {
"horizon": 1,
"upside": 1,
"downside": 1
},
"activation_time": 1711413052,
"cameras": [
{
"camera_mode": 0,
"liveview_world_region": {
"bottom": 0.98198986,
"left": 0.0013554589,
"right": 0.98475224,
"top": 0.023952827
},
"payload_index": "81-0-0",
"photo_state": 0,
"record_time": 0,
"recording_state": 0,
"remain_photo_num": 11086,
"remain_record_duration": 0,
"zoom_factor": 1,
"ir_zoom_factor": 2,
"screen_split_enable": false,
"photo_storage_settings": ["vision"],
"wide_exposure_mode": 1,
"wide_iso": 3,
"wide_shutter_speed": 5,
"wide_exposure_value": 16,
"zoom_exposure_mode": 1,
"zoom_iso": 3,
"zoom_shutter_speed": 5,
"zoom_exposure_value": 16,
"zoom_focus_mode": 0,
"zoom_focus_value": 36,
"zoom_max_focus_value": 66,
"zoom_min_focus_value": 34,
"ir_metering_mode": 0,
"ir_metering_point": {
"x": 0.5,
"y": 0.5,
"temperature": 0
},
"zoom_calibrate_farthest_focus_value": 36,
"zoom_calibrate_nearest_focus_value": 66,
"zoom_focus_state": 0
}
],
"rc_lost_action": 2,
"rth_altitude": 100,
"total_flight_sorties": 103,
"country": "CN",
"rid_state": true,
"maintain_status": {
"maintain_status_array": [
{
"last_maintain_flight_sorties": 0,
"last_maintain_flight_time": 0,
"last_maintain_time": 0,
"last_maintain_type": 1,
"state": false
},
{
"last_maintain_flight_sorties": 0,
"last_maintain_flight_time": 0,
"last_maintain_time": 0,
"last_maintain_type": 2,
"state": false
},
{
"last_maintain_flight_sorties": 0,
"last_maintain_flight_time": 0,
"last_maintain_time": 0,
"last_maintain_type": 3,
"state": false
}
]
},
"track_id": "9772a1a5-8de2-45a0-a96d-ec675eec82e2",
"payload": [
{
"payload_index": "81-0-0",
"gimbal_pitch": -45,
"gimbal_roll": 0,
"gimbal_yaw": -79.247375,
"thermal_current_palette_style": 3,
"thermal_gain_mode": 2,
"thermal_global_temperature_max": 68.38943,
"thermal_global_temperature_min": 24.3948,
"thermal_isotherm_lower_limit": -20,
"thermal_isotherm_state": 0,
"thermal_isotherm_upper_limit": 150,
"zoom_factor": 0.56782335
}
],
"is_near_area_limit": false,
"is_near_height_limit": false
}
我现在需要在三维场景下构建相机,问题如下:
- 构建三维相机的 fov 参数,我没找到,请问在哪里?有默认的 fov 参数吗?
- cameras[0].liveview_world_region 是做什么的?
- cameras[0].zoom_factor 和 payload.zoom_factor 哪个有效?或者说是代表不同的缩放?
谢谢!
请先登录再写评论。
评论
1 条评论