mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-14 03:47:35 +08:00
sensor_mag.msg: add is_external flag & set it in the mag drivers
With this we don't have to use the ioctl MAGIOCGEXTERNAL, which does not work on POSIX (eg. RPi).
This commit is contained in:
@@ -11,3 +11,5 @@ int16 y_raw
|
||||
int16 z_raw
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
uint8 is_external # if 1, the mag is external (i.e. not built into the board)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user