mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 01:23:35 +08:00
move tailsitter_recovery lib to mc_att_control
This commit is contained in:
committed by
Lorenz Meier
parent
b3b1161d53
commit
f5c1124812
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
add_subdirectory(tailsitter_recovery)
|
||||
|
||||
px4_add_module(
|
||||
MODULE modules__mc_att_control
|
||||
MAIN mc_att_control
|
||||
@@ -39,6 +42,5 @@ px4_add_module(
|
||||
SRCS
|
||||
mc_att_control_main.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
tailsitter_recovery
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
* If rotation matrix setpoint is invalid it will be generated from Euler angles for compatibility with old position controllers.
|
||||
*/
|
||||
|
||||
#include "tailsitter_recovery/tailsitter_recovery.h"
|
||||
|
||||
#include <conversion/rotation.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/geo/geo.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <lib/tailsitter_recovery/tailsitter_recovery.h>
|
||||
#include <px4_config.h>
|
||||
#include <px4_defines.h>
|
||||
#include <px4_posix.h>
|
||||
|
||||
+4
-10
@@ -30,13 +30,7 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
px4_add_module(
|
||||
MODULE lib__tailsitter_recovery
|
||||
STACK_MAIN 400
|
||||
COMPILE_FLAGS
|
||||
SRCS
|
||||
tailsitter_recovery.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
px4_add_library(tailsitter_recovery
|
||||
tailsitter_recovery.cpp
|
||||
)
|
||||
Reference in New Issue
Block a user