github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_hil_actuator_controls.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS) 6 type MessageHilActuatorControls 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 // Control outputs -1 .. 1. Channel assignment depends on the simulated hardware. 10 Controls [16]float32 11 // System mode. Includes arming state. 12 Mode MAV_MODE_FLAG `mavenum:"uint8"` 13 // Flags as bitfield, 1: indicate simulation using lockstep. 14 Flags uint64 15 } 16 17 // GetID implements the message.Message interface. 18 func (*MessageHilActuatorControls) GetID() uint32 { 19 return 93 20 }