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

Function Documentation

int rc_mav_send_attitude(float roll, float pitch, float yaw, float rollspeed, float pitchspeed, float yawspeed)

Send and attitude packet of type MAVLINK_MSG_ID_ATTITUDE.

Parameters
  • roll – [in] Roll angle (rad, -pi..+pi)

  • pitch – [in] Pitch angle (rad, -pi..+pi)

  • yaw – [in] Yaw angle (rad, -pi..+pi)

  • 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