Copter: set pos_control.set_dt
This commit is contained in:
parent
faf1e99f1a
commit
2c03a3a3c6
@ -232,8 +232,9 @@ static void init_ardupilot()
|
||||
if(g.compass_enabled)
|
||||
init_compass();
|
||||
|
||||
// initialise attitude controller
|
||||
// initialise attitude and position controllers
|
||||
attitude_control.set_dt(MAIN_LOOP_SECONDS);
|
||||
pos_control.set_dt(MAIN_LOOP_SECONDS);
|
||||
|
||||
// init the optical flow sensor
|
||||
if(g.optflow_enabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user