Update PX4 msg folder
This commit is contained in:
parent
e82bbf20de
commit
d167d08e97
@ -222,7 +222,12 @@ set(msg_files
|
||||
Wind.msg
|
||||
YawEstimatorStatus.msg
|
||||
SimulinkCustomMessage.msg
|
||||
PlcHoldingRegisters.msg
|
||||
PlcDiscreteInputs.msg
|
||||
PlcInputRegisters.msg
|
||||
PlcCoilsRead.msg
|
||||
PlcCoilsWrite.msg
|
||||
PlcHoldingRegistersRead.msg
|
||||
PlcHoldingRegistersWrite.msg
|
||||
)
|
||||
list(SORT msg_files)
|
||||
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint16 num_coils = 128 # How many coils can be stored in coil_array
|
||||
|
||||
bool[128] coil_array_read # Array of bools that are read from the PLC
|
||||
@ -0,0 +1,7 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint16 num_coils = 128 # How many coils can be stored in coil_array
|
||||
|
||||
bool[128] coil_array_write # Array of bools that are used for writing to the PLC
|
||||
|
||||
bool written # Has the coil_array_write been written yet to the PLC
|
||||
@ -0,0 +1,5 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint16 num_inputs = 128 # How many inputs can be stored in input_array
|
||||
|
||||
bool[128] input_array # Array of bools
|
||||
@ -0,0 +1,5 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint16 num_registers = 128 # How many registers can be stored in register_array_read
|
||||
|
||||
uint16[128] register_array_read # Array of unsigned, 16 bit registers that are read from the PLC
|
||||
@ -0,0 +1,7 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint16 num_registers = 128 # How many registers can be stored in register_array_write
|
||||
|
||||
uint16[128] register_array_write # Array of unsigned, 16 bit registers that are used for writing to the PLC
|
||||
|
||||
bool written # Has the register_array_write been written yet to the PLC
|
||||
@ -0,0 +1,5 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint16 num_registers = 128 # How many registers can be stored in register_array
|
||||
|
||||
uint16[128] register_array # Array of unsigned, 16 bit registers
|
||||
Loading…
Reference in New Issue
Block a user