github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_hil_rc_inputs_raw.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification. 6 type MessageHilRcInputsRaw 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 uint64 9 // RC channel 1 value 10 Chan1Raw uint16 11 // RC channel 2 value 12 Chan2Raw uint16 13 // RC channel 3 value 14 Chan3Raw uint16 15 // RC channel 4 value 16 Chan4Raw uint16 17 // RC channel 5 value 18 Chan5Raw uint16 19 // RC channel 6 value 20 Chan6Raw uint16 21 // RC channel 7 value 22 Chan7Raw uint16 23 // RC channel 8 value 24 Chan8Raw uint16 25 // RC channel 9 value 26 Chan9Raw uint16 27 // RC channel 10 value 28 Chan10Raw uint16 29 // RC channel 11 value 30 Chan11Raw uint16 31 // RC channel 12 value 32 Chan12Raw uint16 33 // Receive signal strength indicator in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown. 34 Rssi uint8 35 } 36 37 // GetID implements the message.Message interface. 38 func (*MessageHilRcInputsRaw) GetID() uint32 { 39 return 92 40 }