Comments

3 comments

  • DJI Developer Support
    您好,GPS信号差进入姿态模式,GPS恢复的时候姿态模式会退出。
    0
    Comment actions Permalink
  • msdk-dji-dev

    好的,我想问一下osdk有什么接口可以监听到该模式的变化

    0
    Comment actions Permalink
  • DJI Developer Support
    OSDK不能获取到这个状态的变化,可以考虑获取GPS搜星质量或信号强度 TOPIC_GPS_FUSED visibleSatelliteNumber 或 typedef struct GlobalPosition { float64_t latitude; /*!< unit: rad */ float64_t longitude; /*!< unit: rad */ float32_t altitude; /*!< Measured by barometer: WGS 84 reference ellipsoid */ float32_t height; /*!< Ultrasonic height in meters */ uint8_t health; /*!< scale from 0 - 5 signifying gps signal strength
    * greater than 3 for strong signal */ } GlobalPosition; // pack(1)
    0
    Comment actions Permalink

Please sign in to leave a comment.