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!
-
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.confset the GPS to NONE. -
@jmltt Don't start the gps driver. In the file
/etc/modalai/voxl-px4.confset the GPS to NONE.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login