Copter: remove setting accel_z PID controller's dt
This is handled from within the pos controller this commit can be merged with Copter: move pos-control pids to pos-control library
This commit is contained in:
parent
04822152da
commit
eefa629039
@ -178,8 +178,6 @@ void Copter::init_ardupilot()
|
||||
attitude_control->parameter_sanity_check();
|
||||
pos_control->set_dt(scheduler.get_loop_period_s());
|
||||
|
||||
g.pid_accel_z.set_dt(scheduler.get_loop_period_s());
|
||||
|
||||
// init the optical flow sensor
|
||||
init_optflow();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user