Closed GoogleCodeExporter closed 8 years ago
I don't understand. When you try and hold an angle it oscillates? Did you
adjust your D term?
Original comment by jasonshort
on 31 May 2011 at 5:16
It did not oscillate when I was using aile/elev stick. After I released the
stick, the copter was starting oscillate.
The copter is stable if I do not use aile/elev stick to move.
It oscillated after I used stick to move the copter.
Thanks,
Duy
Ps:
void
output_stabilize_roll()
{
float error;//, rate;
//int dampener;
error = g.rc_1.servo_out - dcm.roll_sensor;
..}
I think we use control_in in here instead of servo_out, and the same for pitch.
What do you think?
Original comment by duypha...@gmail.com
on 1 Jun 2011 at 10:06
output_stabilize_roll comes after we mix the nav_control, so it's correct.
Try and tune your PIDs a bit more.
You can also try ACRO mode. It has the ability to do what your saying.
#define ACRO_RATE_TRIGGER 200
will give you rate control for stick input, and stabilization with no stick
input.
Original comment by jasonshort
on 3 Jun 2011 at 3:49
Original issue reported on code.google.com by
duypha...@gmail.com
on 29 May 2011 at 4:33