This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_mav_send_attitude_quaternion

Function Documentation

int rc_mav_send_attitude_quaternion(float q1, float q2, float q3, float q4, float rollspeed, float pitchspeed, float yawspeed)

Packs and sends an attitude quaternion packet of type MAVLINK_MSG_ID_ATTITUDE_QUATERNION.

Parameters
  • q1[in] Quaternion component 1

  • q2[in] Quaternion component 2

  • q3[in] Quaternion component 3

  • q4[in] Quaternion component 4

  • rollspeed[in] Roll angular speed (rad/s)

  • pitchspeed[in] Pitch angular speed (rad/s)

  • yawspeed[in] Yaw angular speed (rad/s)

Returns

0 on success, -1 on failure