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:
Randy Mackay 2018-01-22 11:43:10 +09:00
parent 04822152da
commit eefa629039

View File

@ -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();