Adapted uORB topic files to work with ROS (data stuctures are used but not the uORB functionality)

This commit is contained in:
Roman Bapst
2014-09-25 10:20:15 +02:00
parent 81a5aeb6f5
commit 96b22f1ba8
10 changed files with 41 additions and 4 deletions
+4
View File
@@ -40,7 +40,9 @@
#ifndef TOPIC_AIRSPEED_H_
#define TOPIC_AIRSPEED_H_
#ifdef CONFIG_ARCH_ARM
#include "../uORB.h"
#endif
#include <stdint.h>
/**
@@ -63,6 +65,8 @@ struct airspeed_s {
*/
/* register this as object request broker structure */
#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(airspeed);
#endif
#endif