aboutsummaryrefslogtreecommitdiff
path: root/src/examples/publisher/publisher_example.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-11 10:51:19 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-11 10:51:19 +0100
commit173b1b2a8bcf2344be92b1f6e5acbc089a43fcab (patch)
tree63afb74e15312ecf8c60800962895e217c6e634c /src/examples/publisher/publisher_example.cpp
parenta1685ed6d093ec01214e6839ea66f9dd565e55ce (diff)
downloadpx4-firmware-173b1b2a8bcf2344be92b1f6e5acbc089a43fcab.tar.gz
px4-firmware-173b1b2a8bcf2344be92b1f6e5acbc089a43fcab.tar.bz2
px4-firmware-173b1b2a8bcf2344be92b1f6e5acbc089a43fcab.zip
WIP, make class based and extended subscriber/publisher example compile for ros
Diffstat (limited to 'src/examples/publisher/publisher_example.cpp')
-rw-r--r--src/examples/publisher/publisher_example.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/publisher/publisher_example.cpp b/src/examples/publisher/publisher_example.cpp
index 3c716291b..2e5779ebe 100644
--- a/src/examples/publisher/publisher_example.cpp
+++ b/src/examples/publisher/publisher_example.cpp
@@ -41,6 +41,8 @@
#include "publisher_example.h"
+using namespace px4;
+
PublisherExample::PublisherExample() :
_n(),
_rc_channels_pub(PX4_ADVERTISE(_n, rc_channels))