Skip to content

Commit

Permalink
Fix compilation of examples
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Aug 7, 2016
1 parent 148b6e6 commit cf776ae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/examples/attitude_estimator_ekf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#
############################################################################
px4_add_module(
MODULE modules__attitude_estimator_ekf
MODULE examples__attitude_estimator_ekf
MAIN attitude_estimator_ekf
STACK_MAIN 1200
COMPILE_FLAGS
Expand Down
2 changes: 1 addition & 1 deletion src/examples/ekf_att_pos_estimator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
############################################################################

px4_add_module(
MODULE modules__ekf_att_pos_estimator
MODULE examples__ekf_att_pos_estimator
MAIN ekf_att_pos_estimator
COMPILE_FLAGS -Os
STACK_MAIN 3000
Expand Down
2 changes: 1 addition & 1 deletion src/examples/mc_att_control_multiplatform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#
############################################################################
px4_add_module(
MODULE modules__mc_att_control_multiplatform
MODULE examples__mc_att_control_multiplatform
MAIN mc_att_control_m
SRCS
mc_att_control_main.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/examples/mc_pos_control_multiplatform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#
############################################################################
px4_add_module(
MODULE modules__mc_pos_control_multiplatform
MODULE examples__mc_pos_control_multiplatform
MAIN mc_pos_control_m
SRCS
mc_pos_control_main.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "mc_pos_control_params.h"
/* The following inclue is needed because the pos controller depens on a parameter from attitude control to set a
* reasonable yaw setpoint in manual mode */
#include <mc_att_control_multiplatform/mc_att_control_params.h>
#include "../mc_att_control_multiplatform/mc_att_control_params.h"

#define TILT_COS_MAX 0.7f
#define SIGMA 0.000001f
Expand Down

0 comments on commit cf776ae

Please sign in to comment.