aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_defines.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-08 12:12:23 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-08 12:12:23 +0100
commitdc945a3f3f9f7295c73fc8280d6a0048e059c469 (patch)
tree6d9270fa1eaf77bf4ebd994a3cdad6030ac3ddfb /src/platforms/px4_defines.h
parentb3600e5ee6fc4550533d65c1c25abceb6db4466e (diff)
downloadpx4-firmware-dc945a3f3f9f7295c73fc8280d6a0048e059c469.tar.gz
px4-firmware-dc945a3f3f9f7295c73fc8280d6a0048e059c469.tar.bz2
px4-firmware-dc945a3f3f9f7295c73fc8280d6a0048e059c469.zip
actuator controls as msg
Diffstat (limited to 'src/platforms/px4_defines.h')
-rw-r--r--src/platforms/px4_defines.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/platforms/px4_defines.h b/src/platforms/px4_defines.h
index ff302448a..daeff9cf3 100644
--- a/src/platforms/px4_defines.h
+++ b/src/platforms/px4_defines.h
@@ -139,3 +139,10 @@ typedef param_t px4_param_t;
/* wrapper for rotation matrices stored in arrays */
#define PX4_R(_array, _x, _y) PX4_ARRAY2D(_array, 3, _x, _y)
+
+/* Diverese uORB header defiens */ //XXX: move to better location
+#define ORB_ID_VEHICLE_ATTITUDE_CONTROLS ORB_ID(actuator_controls_0)
+ORB_DECLARE(actuator_controls_0);
+ORB_DECLARE(actuator_controls_1);
+ORB_DECLARE(actuator_controls_2);
+ORB_DECLARE(actuator_controls_3);