From 84d7f19d7d0ed7a2e5671dd90fd5f6798bda2adf Mon Sep 17 00:00:00 2001 From: jgoppert Date: Sun, 6 Jan 2013 15:47:07 -0500 Subject: [PATCH] Added control library to build. --- apps/systemlib/Makefile | 15 ++++++++++++++- nuttx/configs/px4fmu/nsh/appconfig | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/apps/systemlib/Makefile b/apps/systemlib/Makefile index b3e7f6ac9a..918d5872d1 100644 --- a/apps/systemlib/Makefile +++ b/apps/systemlib/Makefile @@ -43,12 +43,19 @@ CSRCS = err.c \ conversions.c \ cpuload.c \ getopt_long.c \ - up_cxxinitialize.c + up_cxxinitialize.c \ + control/test_params.c # ppm_decode.c \ CXXSRCS = test/test.cpp \ + control/block/Block.cpp \ + control/block/BlockParam.cpp \ + control/block/UOrbPublication.cpp \ + control/block/UOrbSubscription.cpp \ + control/blocks.cpp \ + control/fixedwing.cpp \ math/Vector.cpp \ math/Vector3.cpp \ math/EulerAngles.cpp \ @@ -57,6 +64,12 @@ CXXSRCS = test/test.cpp \ math/Matrix.cpp CXXHDRS = test/test.hpp \ + control/block/Block.hpp \ + control/block/BlockParam.hpp \ + control/block/UOrbPublication.hpp \ + control/block/UOrbSubscription.hpp \ + control/blocks.hpp \ + control/fixedwing.hpp \ math/Vector.hpp \ math/Vector3.hpp \ math/EulerAngles.hpp \ diff --git a/nuttx/configs/px4fmu/nsh/appconfig b/nuttx/configs/px4fmu/nsh/appconfig index 7048ef82fa..8330137bed 100644 --- a/nuttx/configs/px4fmu/nsh/appconfig +++ b/nuttx/configs/px4fmu/nsh/appconfig @@ -68,6 +68,9 @@ CONFIGURED_APPS += systemcmds/delay_test # Math library CONFIGURED_APPS += examples/math_demo +# Control library +CONFIGURED_APPS += examples/control_demo + # Shared object broker; required by many parts of the system. CONFIGURED_APPS += uORB