diff options
author | px4dev <px4@purgatory.org> | 2012-09-04 23:37:16 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-09-04 23:37:16 -0700 |
commit | 41dde1ea641f1944afc2d841b4caab0498c529e0 (patch) | |
tree | 4a46a90913de083fffb0d7fd8dd209a734d43f6d /apps | |
parent | 97bdb9482af0d417e31ebba5da770d3d6fb3b464 (diff) | |
download | px4-firmware-41dde1ea641f1944afc2d841b4caab0498c529e0.tar.gz px4-firmware-41dde1ea641f1944afc2d841b4caab0498c529e0.tar.bz2 px4-firmware-41dde1ea641f1944afc2d841b4caab0498c529e0.zip |
Fix issue where the roll controller never receives parameter updates.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/multirotor_att_control/multirotor_attitude_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/multirotor_att_control/multirotor_attitude_control.c b/apps/multirotor_att_control/multirotor_attitude_control.c index c6547b199..312942acb 100644 --- a/apps/multirotor_att_control/multirotor_attitude_control.c +++ b/apps/multirotor_att_control/multirotor_attitude_control.c @@ -231,7 +231,7 @@ void multirotor_control_attitude(const struct vehicle_attitude_setpoint_s *att_s pid_set_parameters(&yaw_pos_controller, p.yaw_p, p.yaw_i, p.yaw_d, p.yaw_awu); pid_set_parameters(&yaw_speed_controller, p.yawrate_p, p.yawrate_d, p.yawrate_i, p.yawrate_awu); pid_set_parameters(&pitch_controller, p.att_p, p.att_i, p.att_d, p.att_awu); - pid_set_parameters(&pitch_controller, p.att_p, p.att_i, p.att_d, p.att_awu); + pid_set_parameters(&roll_controller, p.att_p, p.att_i, p.att_d, p.att_awu); } /* calculate current control outputs */ |