sriramgbhagwat / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

CH6 tune parameter Rate_P same as Stabilize_P #352

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ArduCopter v2.4, Win XP

CH6 tune Stabilize_P parameter when enabled changes from 0.000-1.000 

Expect Stabilize_P to change from 0.000 - 8.000?

Found this (line 1955) commented out in arducopter.pde:
  case CH6_STABILIZE_KP:
    //g.rc_6.set_range(0,8000);         // 0 to 8
    g.pi_stabilize_roll.kP(tuning_value);
    g.pi_stabilize_pitch.kP(tuning_value);

Original issue reported on code.google.com by graham.d...@gmail.com on 19 Feb 2012 at 8:32

GoogleCodeExporter commented 8 years ago
this is now settable in the CLI

setup] tune 16
setup] range 0 8000
TUNE:
----------------------------------------
 16, Low:0.0000, High:8.0000

This will output 0 to 8 in floating point to the desired gain.
Needs a wiki page which will be done soon.

Original comment by jasonshort on 19 Feb 2012 at 8:54

GoogleCodeExporter commented 8 years ago
OK, its a pity though, I much preferred having the default values, allowing the 
user to choose gives us/them a much greater chance to enter the incorrect 
values. I hope this will be reconsidered.

Original comment by graham.d...@gmail.com on 20 Feb 2012 at 3:47

GoogleCodeExporter commented 8 years ago
The intent is for the default values to appear in the mission planner. That's 
the feedback I've gotten so far. I'll try and put some ranges in the WIKI until 
then,
Thanks
Jason

Original comment by jasonshort on 20 Feb 2012 at 5:41