From b6c19400c0ee852d4cb20078ad6a3ba34128c17c Mon Sep 17 00:00:00 2001 From: tumbili Date: Tue, 27 Oct 2015 10:27:49 +0100 Subject: [PATCH] build vtol att control module for sitl --- cmake/configs/posix_sitl_simple.cmake | 1 + src/modules/vtol_att_control/vtol_att_control_main.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/configs/posix_sitl_simple.cmake b/cmake/configs/posix_sitl_simple.cmake index b0a8158070..581b82e827 100644 --- a/cmake/configs/posix_sitl_simple.cmake +++ b/cmake/configs/posix_sitl_simple.cmake @@ -36,6 +36,7 @@ set(config_module_list modules/ekf_att_pos_estimator modules/position_estimator_inav modules/navigator + modules/vtol_att_control modules/mc_pos_control modules/mc_att_control modules/mc_pos_control_multiplatform diff --git a/src/modules/vtol_att_control/vtol_att_control_main.h b/src/modules/vtol_att_control/vtol_att_control_main.h index 36c06a39ad..90d93823fc 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.h +++ b/src/modules/vtol_att_control/vtol_att_control_main.h @@ -190,7 +190,6 @@ private: /* for multicopters it is usual to have a non-zero idle speed of the engines * for fixed wings we want to have an idle speed of zero since we do not want * to waste energy when gliding. */ - unsigned _motor_count; // number of motors float _airspeed_tot; int _transition_command;