mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-27 09:33:51 +08:00
This PR is preliminary ground work for FMUv5. PX4 does not use the NuttX adc driver. But used the same format for the data returned by the nuttx ADC driver. There was a fixme:in src/platforms/px4_adc.h "this needs to be a px4_adc_msg_s type" With this PR the need for src/platforms/px4_adc.h goes away as the driver drv_adc.h now describes the px4_adc_msg_t.
3 lines
154 B
Plaintext
3 lines
154 B
Plaintext
int16[12] channel_id # ADC channel IDs, negative for non-existent
|
|
float32[12] channel_value # ADC channel value in volt, valid if channel ID is positive
|