Function rc_mav_send_scaled_pressure#

Function Documentation#

int rc_mav_send_scaled_pressure(float press_abs, float press_diff, int16_t temperature)#

Packs and sends a packet of type MAVLINK_MSG_ID_SCALED_PRESSURE.

Parameters:
  • press_abs[in] Absolute pressure (hectopascal)

  • press_diff[in] Differential pressure 1 (hectopascal)

  • temperature[in] Temperature measurement (0.01 degrees celsius)

Returns:

0 on success, -1 on failure