aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_includes.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-16 08:24:51 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-16 08:24:51 +0100
commit9520983e08397c453af735d0ff0736cc007c2c45 (patch)
tree171df31a96bd6863c5dfd94242274177f9413dd2 /src/platforms/px4_includes.h
parent9980e4482146333340cc105b560bdbd26acb999f (diff)
downloadpx4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.tar.gz
px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.tar.bz2
px4-firmware-9520983e08397c453af735d0ff0736cc007c2c45.zip
lots' of header juggling and small changes to make mc att control compile for NuttX and ROS
Diffstat (limited to 'src/platforms/px4_includes.h')
-rw-r--r--src/platforms/px4_includes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/platforms/px4_includes.h b/src/platforms/px4_includes.h
index 525f94aae..752c6b5fe 100644
--- a/src/platforms/px4_includes.h
+++ b/src/platforms/px4_includes.h
@@ -45,8 +45,21 @@
/*
* Building for running within the ROS environment
*/
+
+#ifdef __cplusplus
#include "ros/ros.h"
#include "px4/rc_channels.h"
+#include "px4/vehicle_attitude.h"
+#include <px4/vehicle_attitude_setpoint.h>
+#include <px4/manual_control_setpoint.h>
+#include <px4/actuator_controls.h>
+#include <px4/actuator_controls_0.h>
+#include <px4/vehicle_rates_setpoint.h>
+#include <px4/vehicle_attitude.h>
+#include <px4/vehicle_control_mode.h>
+#include <px4/actuator_armed.h>
+#include <px4/parameter_update.h>
+#endif
#else
/*