|
|
@ -56,7 +56,7 @@ |
|
|
|
#include <AC_PID/AC_PI_2D.h> // PID library (2-axis) |
|
|
|
#include <AC_PID/AC_PI_2D.h> // PID library (2-axis) |
|
|
|
#include <AC_PID/AC_P.h> // P library |
|
|
|
#include <AC_PID/AC_P.h> // P library |
|
|
|
#include <AC_AttitudeControl/AC_AttitudeControl_Sub.h> // Attitude control library |
|
|
|
#include <AC_AttitudeControl/AC_AttitudeControl_Sub.h> // Attitude control library |
|
|
|
#include <AC_AttitudeControl/AC_PosControl.h> // Position control library |
|
|
|
#include <AC_AttitudeControl/AC_PosControl_Sub.h> // Position control library |
|
|
|
#include <RC_Channel/RC_Channel.h> // RC Channel Library |
|
|
|
#include <RC_Channel/RC_Channel.h> // RC Channel Library |
|
|
|
#include <AP_Motors/AP_Motors.h> // AP Motors library |
|
|
|
#include <AP_Motors/AP_Motors.h> // AP Motors library |
|
|
|
#include <AP_RangeFinder/AP_RangeFinder.h> // Range finder library |
|
|
|
#include <AP_RangeFinder/AP_RangeFinder.h> // Range finder library |
|
|
@ -405,7 +405,7 @@ private: |
|
|
|
// To-Do: move inertial nav up or other navigation variables down here
|
|
|
|
// To-Do: move inertial nav up or other navigation variables down here
|
|
|
|
AC_AttitudeControl_Sub attitude_control; |
|
|
|
AC_AttitudeControl_Sub attitude_control; |
|
|
|
|
|
|
|
|
|
|
|
AC_PosControl pos_control; |
|
|
|
AC_PosControl_Sub pos_control; |
|
|
|
|
|
|
|
|
|
|
|
#if AVOIDANCE_ENABLED == ENABLED |
|
|
|
#if AVOIDANCE_ENABLED == ENABLED |
|
|
|
AC_Avoid avoid; |
|
|
|
AC_Avoid avoid; |
|
|
|