github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_rc_channels_raw.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification. 6 type MessageRcChannelsRaw struct { 7 // Timestamp (time since system boot). 8 TimeBootMs 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 // RC channel 1 value. 12 Chan1Raw uint16 13 // RC channel 2 value. 14 Chan2Raw uint16 15 // RC channel 3 value. 16 Chan3Raw uint16 17 // RC channel 4 value. 18 Chan4Raw uint16 19 // RC channel 5 value. 20 Chan5Raw uint16 21 // RC channel 6 value. 22 Chan6Raw uint16 23 // RC channel 7 value. 24 Chan7Raw uint16 25 // RC channel 8 value. 26 Chan8Raw uint16 27 // Receive signal strength indicator in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown. 28 Rssi uint8 29 } 30 31 // GetID implements the message.Message interface. 32 func (*MessageRcChannelsRaw) GetID() uint32 { 33 return 35 34 }