Disabling GPS sensor input to PX4
-
Is there a way to disable gps sensor data from being published to PX4 on the sentinel without removing it or disabling gps via px4?
I have sentinels that I'm flying indoors with VIO and mocap. VIO and mocap don't mesh well together if I send them both to the vehicle as odometry messages. I'm trying to get around this by sending mocap data as fake gps via hil_gps message over mavlink. The problem is I have to have gps enabled in PX4 for it to work correctly, but the bad gps data from the sensor is being fused with the mocap gps.
I can't disconnect the gps because I need the mag for heading.
Any help is appreciated. Thanks!
-
@jmltt Don't start the gps driver. In the file
/etc/modalai/voxl-px4.conf
set the GPS to NONE. -
@Eric-Katzfey that did it, thanks!