From 784f7385b5f4428ccab9821e70e47935cfca4c9e Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 10 Jan 2014 23:29:55 +0900 Subject: [PATCH] Copter: add attitude and pos control params --- ArduCopter/Parameters.h | 4 +++- ArduCopter/Parameters.pde | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index d4884284a7..f710f94d1a 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -137,7 +137,9 @@ public: // 100: Inertial Nav // k_param_inertial_nav = 100, - k_param_wp_nav = 101, + k_param_wp_nav, + k_param_attitude_control, + k_param_pos_control, // 110: Telemetry control // diff --git a/ArduCopter/Parameters.pde b/ArduCopter/Parameters.pde index 58de142ca1..8d4a539a3e 100644 --- a/ArduCopter/Parameters.pde +++ b/ArduCopter/Parameters.pde @@ -1007,6 +1007,14 @@ const AP_Param::Info var_info[] PROGMEM = { // @Path: ../libraries/AC_WPNav/AC_WPNav.cpp GOBJECT(wp_nav, "WPNAV_", AC_WPNav), + // @Group: ATCON_ + // @Path: ../libraries/AC_AttitudeControl/AC_AttitudeControl.cpp + GOBJECT(attitude_control, "ATTCON_", AC_AttitudeControl), + + // @Group: POSCON_ + // @Path: ../libraries/AC_AttitudeControl/AC_PosControl.cpp + GOBJECT(pos_control, "POSCON_", AC_PosControl), + // @Group: SR0_ // @Path: GCS_Mavlink.pde GOBJECTN(gcs[0], gcs0, "SR0_", GCS_MAVLINK),