-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird behaviour in DeadReckoning mode while GPS outage is not constant #10588
Comments
The logs a bit messed up.. Seeing random jumping from 5 to 35 Sats with HDOP being all over the place. Is indicating a lot of GNSS band interference, which would be causing the speed related issue you're seeing.
That part is related to this known issue. |
I mapped the recorded coordinates and the results are ... weird. If I read them carefully, it seems I landed 1.5km away from the take-off location, while in reality I landed on the same spot where I'd taken-off. BTW. |
GNSS spoofing would explain it.
That is expected. GNSS VELNED is used to augment accelerometer drift correction. And being that there is also another issue effecting this too. Then's not unexpected when your model has a reasonable level of vibrations. Without having more information. Like seeing a picture of your plane and the setting DIFF. Its hard to give anymore feedback. |
So, seems there are two issue I'm facing.
My main issue is to be able to direct my plane towards home in case GPS is not working and I start losing video or RC link, so that I can reestablish them when it gets closer. |
The Pitch oscillations should be fixed in RC4 if Position_Z controller default values are used. regarding the dead reckoning. If the GPS is interfered or spoofed from the launch, it is very likely that the last recorded heading and/or speed is completely off when DR engages. In this case there is not much you can do. Heading and Speed could be recovered if you have an airspeed sensor and a compass but it still might cause the last position to be wrong and therefore DR going on the wrong course already. |
@b14ckyy |
Oh yeah indeed if the GPS freaks out the AHRS G-Force Compensation could be messed up too. Good point. But to be fair: your tune is also all over the place. It even jumps around in angle mode like crazy when you get slow. Loks like a complete off-tune FF and rates. |
Well, I do agree that maybe the tune is not optimal, but it is not that bad imho. |
So from what I comprehend the dead reckoning should work if GPS module stops working or if it is jammed and loses fix. |
The other question is should INAV use this setting. As the only place you'll encounter spoofing is in a warzone. INAV as a project has already stated that no changes will be made that only affect warzones or are for military use. |
I just don't know how you would substantiate that the only place you'll encounter spoofing is in a warzone. As a hobbyist I have encountered GPS jamming or spoofing, regular people have experienced it too. Even if someone used INAV in a warzone they could be using it for finding survivors for all you know. With dead reckoning instead of crashing the model it will at least come back toward the pilot which gives a much higher chance of regaining control, that makes INAV more safe. |
GPS spoofing and jamming is illegal. You may get jamming spilling over from warzones. But you should definitely not encounter spoofing. Any deliberate jamming for testing purposes is strictly limited and NOTAMs issued well in advance. There is too much risk to manned aviation for this not to be the case. The Black Sea has a lot of Russian warships. Due to the attack on Ukraine by Russia. |
INAV/SPEEDYBEEF405WING 8.0.0 Jun 28 2024 / 00:18:11 (60a4b71)
Got GPS lock on the ground, though not as many satellites as usual.
Took off and immediately lost GPS - there were two symbols "ES" instead of satellites count on the lower right.
Didn't want to risk in these circumstances, so circled the plane overhead in LoS control.
Decided to test RTH without GPS, the plane has a magnetometer, calibrated carefully.
Both times the plane started porpoising with audible motor bursts, so I had to disengage for fear of not getting it stalled (it's an ArPro on the heavy side with 10x21700 cells).
During the flight, the GPS coordinates were constantly changing. There were moments when the GPS lock was recovered for several seconds, then lost again for minutes. The speed changed from 70km/h to 10km/h in a second.
Can these sparse GPS coordinates at irregular intervals cause some problem with inertial navigation?
LOG00064_ArPro_GPS_Outage_DeadReckoning.zip
https://youtu.be/dDb1sNGmgcI
BlackBox log provided.
The text was updated successfully, but these errors were encountered: