mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
Copter: init G_Dt with MAIN_LOOP_SECONDS definition
This commit is contained in:
parent
a9cda8b384
commit
5090e6f4fb
@ -72,7 +72,7 @@ Copter::Copter(void) :
|
|||||||
yaw_look_ahead_bearing(0.0f),
|
yaw_look_ahead_bearing(0.0f),
|
||||||
condition_value(0),
|
condition_value(0),
|
||||||
condition_start(0),
|
condition_start(0),
|
||||||
G_Dt(0.0025f),
|
G_Dt(MAIN_LOOP_SECONDS),
|
||||||
inertial_nav(ahrs),
|
inertial_nav(ahrs),
|
||||||
attitude_control(ahrs, aparm, motors, MAIN_LOOP_SECONDS),
|
attitude_control(ahrs, aparm, motors, MAIN_LOOP_SECONDS),
|
||||||
pos_control(ahrs, inertial_nav, motors, attitude_control,
|
pos_control(ahrs, inertial_nav, motors, attitude_control,
|
||||||
|
Loading…
Reference in New Issue
Block a user