Function rc_mav_send_local_position_ned#

Function Documentation#

int rc_mav_send_local_position_ned(float x, float y, float z, float vx, float vy, float vz)#

Packs and sends a local position NED packet of type MAVLINK_MSG_ID_LOCAL_POSITION_NED.

Parameters:
  • x[in] X Position (meters)

  • y[in] Y Position (meters)

  • z[in] Z Position (meters)

  • vx[in] X Speed (m/s)

  • vy[in] Y Speed (m/s)

  • vz[in] Z Speed (m/s)

Returns:

0 on success, -1 on failure