Closed GoogleCodeExporter closed 8 years ago
Hi Tomas, the deadband is easy to tuning inside the code... about firm response
in the range outside the dead band i contact Jason for fix it!
Regards, Marco
Original comment by robustin...@gmail.com
on 3 Mar 2012 at 9:22
In ArduCopter.pde, around line 1990:
static void
adjust_altitude()
{
if(g.rc_3.control_in <= (MINIMUM_THROTTLE + 250)){
// we remove 0 to 250 PWM from hover
manual_boost = (g.rc_3.control_in - MINIMUM_THROTTLE) -250;
manual_boost = max(-250, manual_boost);
update_throttle_cruise();
}else if (g.rc_3.control_in >= (MAXIMUM_THROTTLE - 250)){
// we add 0 to 250 PWM to hover
manual_boost = g.rc_3.control_in - (MAXIMUM_THROTTLE - 250);
manual_boost = min(250, manual_boost);
update_throttle_cruise();
}else {
manual_boost = 0;
}
}
Replace all "100" value with "250"... much much much better!!!
Try and write here your report.
Marco
Original comment by robustin...@gmail.com
on 4 Mar 2012 at 4:12
Hi Marco,
I will try this mod when I have opportunity, and I will report back.
Later on it might be advisable to have the release code include this
adjustment, if we agree it makes flight control more intuitive. Cheers / Tomas
Original comment by tomas.so...@gmail.com
on 4 Mar 2012 at 10:30
Hi Marco,
I have been flying some flights and tested your code mod for vertical loiter
control. (replacing 100 by 250 in the relevant code). Felt better, less dead
band and more firm response.
BUT - now it was almost too sensitive, once out of the dead band. Especially
when commanding descend, my quad came down a bit too fast. Maybe this can be
improved by Alt_Hold PID tuning, maybe not. Another day I might try with 200
instead of 250.
Original comment by tomas.so...@gmail.com
on 6 Mar 2012 at 5:27
I think this issue is fixed in newer versions
Original comment by Benny.Si...@gmail.com
on 20 Jan 2013 at 10:39
Issue closed.
If you find this is an error please report it in the new issues list
https://github.com/diydrones/ardupilot/issues?labels=ArduCopter&page=1&state=ope
n
Original comment by Benny.Si...@gmail.com
on 20 Jan 2013 at 10:39
Original issue reported on code.google.com by
tomas.so...@gmail.com
on 29 Feb 2012 at 1:06