github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_servo_output_raw.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Superseded by ACTUATOR_OUTPUT_STATUS. The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. 6 type MessageServoOutputRaw struct { 7 // Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number. 8 TimeUsec uint32 9 // Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX. 10 Port uint8 11 // Servo output 1 value 12 Servo1Raw uint16 13 // Servo output 2 value 14 Servo2Raw uint16 15 // Servo output 3 value 16 Servo3Raw uint16 17 // Servo output 4 value 18 Servo4Raw uint16 19 // Servo output 5 value 20 Servo5Raw uint16 21 // Servo output 6 value 22 Servo6Raw uint16 23 // Servo output 7 value 24 Servo7Raw uint16 25 // Servo output 8 value 26 Servo8Raw uint16 27 // Servo output 9 value 28 Servo9Raw uint16 `mavext:"true"` 29 // Servo output 10 value 30 Servo10Raw uint16 `mavext:"true"` 31 // Servo output 11 value 32 Servo11Raw uint16 `mavext:"true"` 33 // Servo output 12 value 34 Servo12Raw uint16 `mavext:"true"` 35 // Servo output 13 value 36 Servo13Raw uint16 `mavext:"true"` 37 // Servo output 14 value 38 Servo14Raw uint16 `mavext:"true"` 39 // Servo output 15 value 40 Servo15Raw uint16 `mavext:"true"` 41 // Servo output 16 value 42 Servo16Raw uint16 `mavext:"true"` 43 } 44 45 // GetID implements the message.Message interface. 46 func (*MessageServoOutputRaw) GetID() uint32 { 47 return 36 48 }