Browse Source

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
master
Randy Mackay 7 years ago
parent
commit
eefa629039
  1. 2
      ArduCopter/system.cpp

2
ArduCopter/system.cpp

@ -178,8 +178,6 @@ void Copter::init_ardupilot() @@ -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…
Cancel
Save