mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Copter: integrate WPNav constructor change
This commit is contained in:
parent
9e31f0b985
commit
0df1dc267b
@ -690,7 +690,7 @@ AC_AttitudeControl attitude_control(ahrs, ins, aparm, motors, g.pi_stabilize_rol
|
||||
AC_PosControl pos_control(ahrs, inertial_nav, motors, attitude_control,
|
||||
g.pi_alt_hold, g.pid_throttle_rate, g.pid_throttle_accel,
|
||||
g.pi_loiter_lat, g.pi_loiter_lon, g.pid_loiter_rate_lat, g.pid_loiter_rate_lon);
|
||||
static AC_WPNav wp_nav(&inertial_nav, &ahrs, pos_control, &g.pi_loiter_lat);
|
||||
static AC_WPNav wp_nav(&inertial_nav, &ahrs, pos_control);
|
||||
static AC_Circle circle_nav(inertial_nav, ahrs, pos_control);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user