I've notice that even when mag is present, but mag control input disabled, it seem to influences the PID output I presume from IMU calculations. Should this be the case?
I never really considered effect of badly calibrated MAG etc would be an issue if not using it...until I accidentally set MAG axis up with incorrect orientation. I don't use MAG but the influence to the copter was somewhat surprising when flying in ACRO mode !!
Thoughts? any reason it should?
MAG affecting ACRO mode
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: MAG affecting ACRO mode
If you have a MAG hardware, yes there will be MAG IMU specific calculation.
But if you don't activate it, MAG shouldn't have any effect on the control. (the heading info coming from MAG computation is just ignored)
But if you don't activate it, MAG shouldn't have any effect on the control. (the heading info coming from MAG computation is just ignored)
Re: MAG affecting ACRO mode
Thanks for reply. That's how I expect it to work however try to fly when thee mag is accidentally reversed (but disabled on switch) ! It is definitely affecting the yaw.
Re: MAG affecting ACRO mode
That's what I thought...
The first time I ignored it. (I use a remote MAG on this copter and put it on frame wrong way round so have to amend the code)
I upgraded this copter to 2.3 and forgot to amend the mag line again had the weird shit happen again. Its just about flyable, but wanders all over the place.
I'll do some testing with known good board and swap the mag line over and report back.
The first time I ignored it. (I use a remote MAG on this copter and put it on frame wrong way round so have to amend the code)
I upgraded this copter to 2.3 and forgot to amend the mag line again had the weird shit happen again. Its just about flyable, but wanders all over the place.
I'll do some testing with known good board and swap the mag line over and report back.
Re: MAG affecting ACRO mode
I am seeing the same thing, I am having to fight the Yaw as if MAG is selected, even when MAG isn't.
IF I unplug the MAG sensor I don't get the issue
IF I unplug the MAG sensor I don't get the issue