速度控制
CompletedTOPIC_VELOCITY 订阅这个速度,是否室内环境可以使用,速度的信息来源是哪个传感器
-
你好,以下程序的意思是不是将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)
Please sign in to leave a comment.
Comments
4 comments