TradHeli: Add pointer for pilot roll/pitch inputs to attitude_control constructor. To be used for flybar passthrough.

This commit is contained in:
Robert Lefebvre 2014-07-03 15:04:56 -04:00 committed by Randy Mackay
parent 5c04af6d20
commit 82061bc65d
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ static AP_InertialNav inertial_nav(ahrs, barometer, gps_glitch, baro_glitch);
////////////////////////////////////////////////////////////////////////////////
#if FRAME_CONFIG == HELI_FRAME
AC_AttitudeControl_Heli attitude_control(ahrs, aparm, motors, g.p_stabilize_roll, g.p_stabilize_pitch, g.p_stabilize_yaw,
g.pid_rate_roll, g.pid_rate_pitch, g.pid_rate_yaw);
g.pid_rate_roll, g.pid_rate_pitch, g.pid_rate_yaw, g.rc_1, g.rc_2);
#else
AC_AttitudeControl attitude_control(ahrs, aparm, motors, g.p_stabilize_roll, g.p_stabilize_pitch, g.p_stabilize_yaw,
g.pid_rate_roll, g.pid_rate_pitch, g.pid_rate_yaw);