Function rc_mav_send_servo_output_raw#
Defined in File mavlink_udp_helpers.h
Function Documentation#
-
int rc_mav_send_servo_output_raw(uint16_t servo1_raw, uint16_t servo2_raw, uint16_t servo3_raw, uint16_t servo4_raw, uint16_t servo5_raw, uint16_t servo6_raw, uint16_t servo7_raw, uint16_t servo8_raw, uint8_t port, uint16_t servo9_raw, uint16_t servo10_raw, uint16_t servo11_raw, uint16_t servo12_raw, uint16_t servo13_raw, uint16_t servo14_raw, uint16_t servo15_raw, uint16_t servo16_raw)#
Packs and sends packet of type MAVLINK_MSG_ID_SERVO_OUTPUT_RAW.
- Parameters:
servo1_raw – [in] Servo output 1 value, in microseconds
servo2_raw – [in] Servo output 2 value, in microseconds
servo3_raw – [in] Servo output 3 value, in microseconds
servo4_raw – [in] Servo output 4 value, in microseconds
servo5_raw – [in] Servo output 5 value, in microseconds
servo6_raw – [in] Servo output 6 value, in microseconds
servo7_raw – [in] Servo output 7 value, in microseconds
servo8_raw – [in] Servo output 8 value, in microseconds
port – [in] Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos.
servo9_raw – [in] Servo output 9 value, in microseconds
servo10_raw – [in] Servo output 10 value, in microseconds
servo11_raw – [in] Servo output 11 value, in microseconds
servo12_raw – [in] Servo output 12 value, in microseconds
servo13_raw – [in] Servo output 13 value, in microseconds
servo14_raw – [in] Servo output 14 value, in microseconds
servo15_raw – [in] Servo output 15 value, in microseconds
servo16_raw – [in] Servo output 16 value, in microseconds
- Returns:
0 on success, -1 on failure