速度控制

Completed

Comments

4 comments

  • DJI Developer Support
    因为速度是有融合GPS、视觉等,室内无GPS环境不支持使用飞控的速度。
    0
    Comment actions Permalink
  • 小奥

    你好,以下程序的意思是不是将health 变为0,就可以使用无GPS的速度

    typedef struct VelocityInfo
    {
    uint8_t health : 1; /*!< 1 - using GPS, 0 - not using GPS */
    uint8_t reserve : 7;
    } VelocityInfo; // pack(1)

    /*!
    * @brief struct for TOPIC_VELOCITY
    *
    * @note The velocity may be in body or ground frame
    * based on settings in DJI Assistant 2's SDK page.
    */
    typedef struct Velocity
    {
    Vector3f data;
    /*! scale from 0 - 5 signifying gps signal strength <br>
    * greater than 3 for strong signal
    */
    VelocityInfo info;
    } Velocity; // pack(1)

    0
    Comment actions Permalink
  • DJI Developer Support
    不是,这个是飞控给你的数据,如果为0,没有GPS信号,表示获取的该数值不健康,谨慎使用。
    0
    Comment actions Permalink
  • 小奥

    好的,多谢

    0
    Comment actions Permalink

Please sign in to leave a comment.