上云API中 无人机osd信息 height和elevation这俩高度有什么区别?height给的解释是 绝对高度,elevation给的解释是相对起飞点高度。这个绝对高度是指海拔高度嘛?height的值是如何获取的?有没有可能会出现负值的情况?

评论

5 条评论

  • 尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 绝对高度可以看作海拔高度 相对起飞点高度就是相对机场的高度 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    评论操作 固定链接
  • DDD

    我们现在遇到一种情况无人机的高度低于机库的高度了 无人机osd上报的信息中height的值返回了负值,这是正常的现象嘛?如果是正常的现象是不是表明height绝对高度 实际不能完全看做是海拔高度?

    0
    评论操作 固定链接
  • 尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 上报的数据可以发出来看下吗? 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    评论操作 固定链接
  • DDD

    {
        "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信息 这个海拔高度显示为负数了

    0
    评论操作 固定链接
  • 尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 抱歉,上面的回答不准确 height绝对高度指的是椭圆高度,是可能为负值的,可以跟机场上报的信息对比下 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
    0
    评论操作 固定链接

请先登录再写评论。