Hi guys, I’m experiencing an interesting behavior in SITL during testing the no-GPS flights.when I set the AHRS_GPS_USE 1 the plane keeps forward flight for 1 minute, then it starts to fly backward with correct heading.
Has anybody experienced smth similar?
Steps to reproduce:
-
Launch plane SITL
python Tools/autotest/sim_vehicle.py -v ArduPlane --console --map -
Switch to AHRS_TYPE to DCM
-
Create the mission with 3 waypoints with total distance of 5 km
-
Launch the mission in Auto mode, let the plane reach the height.
-
After 30 seconds
param set AHRS_GPS_USE 0 -
Wait for 30-40s, the plane will slow down and will fly backwards with the same heading,
-
Do param set AHRS_GPS_USE 1, the plane will appear at correct position