-
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
SP Racing F4 EVO consistently erratic GPS hold until powered cycled #2687
Comments
Just to rule out simple things - the mag is operating well, has correct orientation set and is calibrated, right? |
Yes, east is 90 degrees, and I recalibrated Twice. But of course it also
flies very well after seemingly a longer than normal warmup. If the mag
wasn’t calibrated I would guess that it wouldn’t occasionally fly well by accident.
…On Thu, Jan 25, 2018 at 6:21 AM krzysztofmatula ***@***.***> wrote:
Just to rule out simple things - the mag is operating well, has correct
orientation set and is calibrated, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2687 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5OciONl2RlAzpAed1MhToO1Lzom7_ks5tOHG7gaJpZM4RsPrt>
.
|
FLIGHT #2: The same problem occurred after 17 satellite locks today so I landed and noticed that in Mobile Flight (iPhone connected via TBS Crossfire) East was no longer 90 degrees. So, I re-calibrated the compass and now GPS works fine again. So, it appears that every time I fly I have to re-calibrate my MAG. I never had to do this before. Is having to calibrate for every flight normal for some people? I have copper tape beneath the compass for shielding and it is very far away from all other antennas and FC. |
Is it possible the FC isn't saving the MAG calibration settings long-term? |
It's probably not the issue. You can check the mag calibration it is |
FLIGHT #3: I flew today. East was 90 degrees, so compass was fine, I'm guessing, since I also calibrated again. I waited for 17 satellites and took off. Turning on GPS hold, it started flying off at an angle into the sunset. My satellite count stayed high, and I flew to some other locations and kept trying GPS hold but it acted erratic each time. So, I landed, unplugged the battery and waited 5 seconds. Then, I plugged it back in, waited 10 seconds until it was ready to fly again and took off. From this point onward, it hovered with GPS on perfectly, in 40mph winds. So, this seems like a software issue to me. If it was hardware it wouldn't SOMETIMES work. And, it now seems to be fixable by power cycling my drone. Any thoughts/ideas? This is a serious problem. |
FLIGHT #4: Went flying again later today after replacing the GPS with a new, different GPS. Calibrated compass. Did the same thing: flew erratic in GPS hold mode with 17 sats until I power cycled and then it flew perfect. |
FLIGHT #5: Waited 20 minutes and flew again after changing baud rate of GPS to 115k. Just as before, GPS hold was erratic at first just like all the other times. I unplugged power for 2 seconds and reconnected and GPS hold was still erratic. So, I landed and unplugged power for 10 seconds. That fixed it. So, it appears that removing power from the system for 10 seconds after initial startup fixes the problem and then it flies as it should. What's going on? |
FLIGHT #6: Flew today after removing the copper foil beneath the GPS (maybe causing problems??). It behaved exactly as before. It quickly locked onto over 12 satellites. I took off, turned on GPS hold and it started banking and drifting hard like it I was pushing the the pitch forward. I landed and unplugged for 10 seconds, turned back on, flew and turned on GPS hold immediately and it held position perfectly from that point onward. Nothing else changed. I'm waiting about 20 minutes between flights before the issue returns. |
It would probably help to analyze the backbox logs. The mag values, GPS coordinates and number of sats are all recorded. |
OK. I'll install an SD card and report back soon. |
Trying to setup SD card blackbox logging. Formatted card with SD Card Formatter but can't get past "fatal SD card error". Anyways.... FLIGHT #7: Today I flew with 17 satellites. It hovered perfectly and did a successful RTH. Then, I flew over to the other side of my yard 15 feet away and turned GPS hold on again. This time it flew up into the air full speed. I quickly turned off GPS hold and descended. I flew out a little ways and hit RTH and it just shot straight up into the air again full throttle. I turned off RTH and came back and did a test hover. I noticed that when I pointed straight North, it hovered stable but when I starting turning the quad East, it show up into the air at full throttle. So, this is all baffling to me. Like I said everything was working perfectly with the same hardware before I changed flight controllers. Same hardware. |
FLIGHT #8: Quad has become uncontrollable in GPS modes. It sometimes hovers fine if pointing any direction but straight East. As soon as it points East, it shoots into the sky like a rocket on its own. This includes GPS alt/pos hold modes as well as RTH. Still trying to work out SD card issue so can't upload blackbox yet... |
You don't need special software for formatting the SD card. Did you try with the windows formatting utility ? |
"Shooting into the sky" may be caused by accelerometer resonance caused by hard-mounting the controller to the frame (or bad damping). It is clearly visible in the log. |
The FC is soft mounted and so are all the motors... I can't view the log yet. I just got it to finally write to the SD card but it only recorded 5 seconds of data and rest of the file is garbage. |
I've been trying to get a fully working iNav quad working since the summer of 2016. If isn't one thing then it's another. Went outside to finally do a flight with blackbox log recording and now after absolutely no changes to my quad it wobbles out of control (regardless of GPS mode) and falls to the ground........... sigh...... |
OK! Here's the first blackbox log from today. The behavior here is not as terribly erratic as it has been, but when I turned the quad it did start to drift hard and fly off in another direction. I will post more logs this week... |
Is it possible the having 2 MSP ports functioning at once is taxing the FC and causing erratic behavior? I have 1 MSP for DJI Goggles RE (just reads voltage) and another MSP for Mobile Flight. Anyone? |
Probably not. And with the F4 MCU even more unlikely. Anyway you can check the CPU usage in the configurator. |
Yeah, it's only at 15% CPU. I flew again yesterday and tried to do a log but suddenly it's flying perfectly. I don't get it. Here's the erratic behavior summary. Sometimes:
I haven't been able to get the erratic behavior on blackbox yet. It's like trying to photograph Big Foot. |
Can you use Mission Planner on a phone connected to quad? You could see if gps position on the map is drifting. Im having position hold issues as well. My 450 with SpF4 Neo and naza proto m8n will hold well for 5 or 10 seconds then start doing circles gradually building speed and spiraling wider and wider out. I am within half mile of cell tower so that may be a factor. |
This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. |
Automatically closing as inactive. |
I ‘m not sure if this is an iNav issue/bug, but I recently switched from the Omnibus F4 board to a SP Racing F4 EVO because the EVO has more UARTs. The Omnibus hovered stable in with GPS modes on every flight even when satellite count was fairly low. But, with identical hardware and settings, my quad is erratic during GPS hover. Sometimes when I lift off it hovers just fine. Other times, it swill start to drift badly, over correct, and start heading for the ground before I turn off GPS. Today, I let is acquire 17 satellites and it all worked perfectly for 25 minutes of flight time including disconnecting battery several times to test. So, does it sound like a lack of # of satellites (before it has time to acquire more), or a bug, since my hardware is identical with Omnibus setup?
Here's my setup:
iNav 1.8
Sp Racing F4 Evo
BN-880 GPS, UBLOX-7 setting
3 UARTS set to MSP (1 for USB, 1 for DJI Ocusync, 1 for Mobile Flight telemetry via TBS Crossfire Micro v2), 1 UART for serial Rx
TBS Crossfire Micro V2
Compass calibrated multiple times, orientation correct
GPS/compass is isolated from rest of the quad really well. No other antennas nearby and copper tape beneath it to shield.
The text was updated successfully, but these errors were encountered: