voxl-px4 not logging in VIO only flight modes
-
Hello community,
I am using SDK 1.1.3 with VOXL2. I am facing one problem, if I load flight with VIO only fusion flight with EKF2 helper parameters from here then PX4 dosent write any log file. I have observed if I just enable GPS with SYS_HAS_GPS parameter and only if I get enough GPS satellites only then flight log is written on /data/px4/log/ . Please check my flight log where I was flying only with VIO fusion in indoor, GPS was enabled but not fused. As soon as I took flight outside and got GPS satellites, log was written. Please help.
Log : https://drive.google.com/file/d/1r5wJ2OB5oPNG2bF8zI5TSBAOhPGr_bkc/view?usp=sharing -
@Aaky Logs are started when the vehicle arms and stopped when the vehicle disarms in the default configuration. In the configuration where you are not seeing logs generated can you delete everything in /data/px4/log then arm the drone, wait a couple of seconds, and then disarm and verify that there is nothing written in that directory? If there is nothing can you arm the drone, ssh into the drone, enter the command
px4-logger on
, wait a few seconds, then issue the commandpx4-logger off
, then disarm the drone. Do you get anything then? The output fromjournalctl -b -u voxl-px4
will be helpful in debugging what is going on. -
@Eric-Katzfey Thanks Eric. I will try this out and let you know soon.