-
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
iNav 1.7.3 Fishbowl on SPRacingF3EVO #2358
Comments
@VoicOfReason I had this issue as well with a similar model and the same FC. For me the issue was two-fold. First, I did a proper magnetometer calibration in the field before launch (left stick up/right and right stick down/center, then rotate all 3 axis 2 times). Secondly, I changed the PIDs for GPS Navigation Position XY to: P=25, I=180, D=10. This can also be done with the following via CLI:
Toilet bowl went totally away after this. I had thought it was to do with the on-board magnatometer on the SP Racing F3 FCs (I had both the EVO and non-EVO with similar toilet bowl issues). But, it was simply a field magnetometer calibration and PID tweak that fixed everything. I'm now flying all F4 FCs with external magnetometers and position hold is just as good as with the SP Racing F3 FC. Hope this helps! |
Wow! I’m going to try tonight.
…--
Peter Freund
Sent with Airmail
On October 17, 2017 at 8:09:32 PM, Tim Eckel ***@***.***) wrote:
@VoicOfReason <https://github.com/voicofreason> I had this issue as well
with a similar model and the same FC. For me the issue was two-fold.
First, I did a proper magnetometer calibration in the field before launch
(left stick up/right and right stick down/center). Secondly, I changed the
PIDs for GPS Navigation Position XY to: P=25, I=180, D=10. This can also be
done with the following via CLI:
set nav_mc_pos_xy_p = 25
set nav_mc_pos_xy_i = 180
set nav_mc_pos_xy_d = 10
Toilet bowl went totally away after this. I had thought it was to do with
the on-board magnatometer on the SP Racing F3 FCs (I had both the EVO and
non-EVO with similar toilet bowl issues). But, it was simply a field
magnetometer calibration and PID tweak that fixed everything. I'm not
running F4 FCs with external magnetometers and the position hold is just as
good as with the SP Racing F3 FC.
Hope this helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5OaPKdT_R1x6nLWkDr2ZT93yZ66U4ks5stU_MgaJpZM4P8ODn>
.
|
We’re you running 6” props? Curious how well pid settings will translate
for me.
…--
Peter Freund
Sent with Airmail
On October 17, 2017 at 8:09:32 PM, Tim Eckel ***@***.***) wrote:
@VoicOfReason <https://github.com/voicofreason> I had this issue as well
with a similar model and the same FC. For me the issue was two-fold.
First, I did a proper magnetometer calibration in the field before launch
(left stick up/right and right stick down/center). Secondly, I changed the
PIDs for GPS Navigation Position XY to: P=25, I=180, D=10. This can also be
done with the following via CLI:
set nav_mc_pos_xy_p = 25
set nav_mc_pos_xy_i = 180
set nav_mc_pos_xy_d = 10
Toilet bowl went totally away after this. I had thought it was to do with
the on-board magnatometer on the SP Racing F3 FCs (I had both the EVO and
non-EVO with similar toilet bowl issues). But, it was simply a field
magnetometer calibration and PID tweak that fixed everything. I'm not
running F4 FCs with external magnetometers and the position hold is just as
good as with the SP Racing F3 FC.
Hope this helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5OaPKdT_R1x6nLWkDr2ZT93yZ66U4ks5stU_MgaJpZM4P8ODn>
.
|
@VoicOfReason I was using 5" 3 blade props and a 220mm frame. But the specs are similar (same motor, same ESC, etc.). These PIDs would probably be very similar to yours. Oh, and it also helped on a 450mm with 10" props too! I forgot that was also running the SP Racing F3 with a nasty toilet bowl. |
Well..... no luck. I changed the settings to what you said and it wouldn't even take off. The props sputtered and then I had to increase to full throttle to just get it off the ground. So, I changed the "p" setting to default and left "i" where it was and this caused so little power to control the craft that I crashed. Any other suggestions? |
@VoicOfReason in 99% of cases, this is caused by faulty magnetometer, magnetometer calibration, magnetometer orientation or magnetometer too close to power cables. |
@VoicOfReason Are you sure you were changing the GPS Navigation Position XY PIDs? It sounds like you were changing the flight PIDs. At launch, it's not in GPS navigation mode, so it should have zero effect till you engage position hold. Really sounds like you changed the wrong PIDs to me. To be clear, the PIDs to change are under GPS Navigation Position XY. |
I copied and pasted your values into the cli.
…On Wed, Oct 18, 2017 at 10:27 AM Tim Eckel ***@***.***> wrote:
@VoicOfReason <https://github.com/voicofreason> Are you sure you were
changing the GPS Navigation Position XY PIDs? It sounds like you were
changing the flight PIDs. At launch, it's not in GPS navigation mode, so it
should have zero effect till you engage position hold.
Really sounds like you changed the wrong PIDs to me. To be clear, the PIDs
to change are under GPS Navigation Position XY.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5ObNpPlwL1P9VjIJrnuXuLnivMuUpks5sthjmgaJpZM4P8ODn>
.
|
Very strange. Well, the proper field magnetometer calibration should do the trick. |
I tried that also and sometimes it seems like the quad hovers fine and
then I will change direction and it will start doing why the toilet bowls
So even if infield calibration works, it only works sporadically.
…--
Peter Freund
Sent with Airmail
On October 18, 2017 at 11:39:00 AM, Tim Eckel ***@***.***) wrote:
Very strange. Well, the proper field magnetometer calibration should do
the trick.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5OZHO8B3ytXKNfEUTsfTPOt71Bbtsks5stimkgaJpZM4P8ODn>
.
|
@VoicOfReason That's exactly what I experienced. Try to position hold 4 times with 90 degree turns between. I bet one will be really good, while the others not so good or even really bad. After field calibration of the gyros and magnatometer it's rock solid (well, not quite DJI rock solid). Also, adjusting the PIDs really worked well for me, it made it more stable for sure. |
So, you do the stick command, then rotate the craft all around and then it will beep again after 30 seconds to say it's done, or do you do the stick command again to end calibration? |
.... so I tried in field calib. again and it didn't change anything. Maybe it's time for a new and different FC, like the Omnibus F4. |
You'll also likely need a new GPS module as well as most FCs don't include a magnatometer. Did you do a correct INAV 6-point accelerometer calibration? Are you doing the magnatometer calibration away from any interference (I don't even have my TX or phone with me)? Did you try to hover it in each direction (90 degrees apart)? If one direction is much better than the others, it's your calibration and not the sensor, balance, level, etc. If it's bad in all directions it could be you haven't calibrated level. It's easy to blame the FC, but I had very similar issues as you and by simply doing all the calibrations and leveling correctly it worked perfectly. BTW, my Omnibus F4 with external magnatometer is no more stable in position hold than my SP Racing F3. I wouldn't give up yet, if you don't properly calibrate a new FC you'll have the same issue. |
Are you using the onboard mag or an external one. Can you post a CLI |
Teckel12, it's not simply a matter of hovering level, but fishbowl which results in a crash. Yes, I did the 6 point calibration as well as the other calibrations. It does seem to hover level in some directions but shifting directions 90 degrees, e.g. to the south, I get fishbowl. Not sure what other calibrations I can do since I've done them all several times. |
There's another potential issue, magnatometer orientation. I've seen Chinese knockoff SP Racing F3 boards using a knockoff magnatometer where the orientation is different than an actual SP Racing F3 board. From the bench, can you point your quad N S E W and each stay there and are correct? You could have a knockoff with a flipped or rotated magnatometer. VERY bad things can happen if you try to engage position hold with the orientation wrong. |
I checked and the degrees are correct. Pointing East is 90 degrees, etc. Also, RTH actually works pretty well since the fish bowl effect is at its worst while hovering. |
If I got a different Flight controller, what's a good one that has a built in Mag? |
There is none. Built in mags are the main source of 'toilet bowling' |
Ahhhh, ok. So, what GPS modules have a mag built in and how would I wire that to my SPRacingF3Evo, via SCL/SDA? In other words, what tried and true FC/GPS combos out there are verified to work well with iNav? |
yes. The SPF3 EVO is a good board for this, as it has a rare on-board mag, so you can override it software. It's one of my favourite boards for iNav:
With a Beitian BN880 GPS/mag. Typically 20-25 satellites |
Ok, that's the exact board I'm having trouble with... so you set your mag to HMC5883 and it works with that setting? |
With the external mag in the GPS, yes. Perfect navigation functionality. |
OK, so which GPS do you use. I'm using the MN-880 right now. Do you know if that has a mag built in? If not, what do you use for GPS with built-in Mag? |
None really. The industry has moved away from on-board magnatometers (for good reason). Don't just check one direction, because if the sensor is flipped one way will work perfect. What you're describing sounds exactly like what I experienced, and I finally worked it out. Posting your CLI |
The one I mentioned two posts up :) |
2017-10-18 @ 15:07:39 -- Running - OS: Windows, Chrome: 61.0.3163.100, Configurator: 1.7.3 Entering CLI Mode, type 'exit' to return, or 'help' diffversionINAV/SPRACINGF3EVO 1.7.3 Sep 9 2017 / 10:21:40 (974440d)resourcesmixerservoservo mixfeaturefeature -RX_PPM beepermapnameserialserial 0 32 115200 38400 0 115200 ledcolormode_colorauxaux 0 0 0 1950 2100 adjrangerxrangemasterset looptime = 1000 profileprofile 1 set mc_i_pitch = 35 |
So on the BN-880, do I connect the SDA/SCL wires on the GPS to the I2C port? |
BN-880 maybe? That model has a magnatometer. If it has both Tx/Rx and SCL/SDL pins it has a magnatometer. |
That's what I have, the BN-880. So, I have to connect the SCL/SDL pins to somewhere on the F3evo board. Where do I connect them? |
To the I2C port on the EVO boad. |
Ahhhhhhh... ok. I'm going to do that. Currently I'm using onboard MAG on SPEvo board. |
Amazingly helpful. Thank you. Maybe this will solve a year old problem.
…--
Peter Freund
Sent with Airmail
On October 18, 2017 at 4:09:18 PM, stronnag ***@***.***) wrote:
So here's a (low res) picture of my evo board. As you look at it, IIRC,
the left hand populated socket is the I2C. Don't forget to recalibrate the
new mag.
[image: evo]
<https://user-images.githubusercontent.com/158229/31742806-c538c756-b450-11e7-85de-a45639311c5a.jpg>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5ObSDu-d-ng88jXS-1LC5lkCXCEq4ks5stmj-gaJpZM4P8ODn>
.
|
So, related to this, I should be able to plug in a mn-880 into a OMNIBUS F7
V2 board and configure for external mag also?
|
A couple things bother me. set mag_hardware = AK8963 2017-10-18 @ 15:25:14 -- Magnetometer calibration started Looks like the wrong magnatometer for the SP Racing F3 board? Also, looks like you powered off in the middle of calibration? |
Just a heads up, you may not be able to use an external magnatometer with your SP Racing board if the on-board and external magnatometers use the same I2C ID (which is common). |
Yeah, I just tried to fly with the I2C plugged in and it crashed and may have broken the FC. OK, so I just want an iNav setup that works. Been trying for a year. What has been verified that actually works? Has an SP Racing F3 Evo with BN-880 been verified to work? Above, it sounded like using the BN-880's MAG is the way to go, but I just tried it, and it tried to fly off into the sunset. |
The SP Racing F3 boards are discontinued and I believe that all are now clones so I would avoid. Also, an on-board mag is a bad idea, and you can't have 2 mags connected. So for several reasons I wouldn't do a SP Racing F3. I'd suggest either an Omnibus F4 Pro or Omnibus F4 with baro option. But, only from a reputable seller (like https://www.readytoflyquads.com) because there's lots of problems with the clones. |
How about an Omnibus F7 V2? |
Just have no experience with the F7. I opted for the F4 because of some reason that escapes me. The F4 is more mature, and I questioned F7 compatibility, so that could be it. But I'm no expert on F7 support with INAV. |
Is calibrating an external compass/mag the same process as an internal one within iNav? |
Yes, but you can't attach an external magnatometer if you have one on your FC. Also, you probably should select |
Does the Omnibus f7 v2 board have an onboard mag? So you know?
--
Peter Freund
Sent with Airmail
…On October 19, 2017 at 8:18:55 AM, Tim Eckel ***@***.***) wrote:
Yes, but you can't attach an external magnatometer if you have one on your
FC. Also, you probably should select Auto for magnatometer so it can find
the correct model.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAq5OQpGHJAf4e9tdUVvlqic1MfmmXiEks5st0w-gaJpZM4P8ODn>
.
|
No it doesn't. All the latest FC don't have magnatometers as it was never a good idea. |
I belive this issue can be closed now. Thanks everyone |
I'm having fishbowl effect on this setup (see title). It happened first a year ago on iNav with different frame, etc. Now, I took same FC and put on brand new frame and it's happening again. 6" props in both cases. Rest of specs:
Emax 2205-2400 redbottom
Littlebee 30a ESC's
Different GPS unit in both cases
Different Vtx
Different frames
Soft mounted motors and FC
I get the fishbowling when I switch to pos and altitude both on. It gets wider and wider and eventually leads to a crash.
The text was updated successfully, but these errors were encountered: