diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-18 18:43:45 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-21 14:26:22 +0100 |
commit | 7c3223b8609ee418b520d19cae7e52d2a7a85e99 (patch) | |
tree | be6f98c262b390494c06b26ee12a28400b3cc105 /src/platforms/ros | |
parent | 81215746321756665dfee562615e353c003cedd9 (diff) | |
download | px4-firmware-7c3223b8609ee418b520d19cae7e52d2a7a85e99.tar.gz px4-firmware-7c3223b8609ee418b520d19cae7e52d2a7a85e99.tar.bz2 px4-firmware-7c3223b8609ee418b520d19cae7e52d2a7a85e99.zip |
added a messageplayer prototype for ros
Diffstat (limited to 'src/platforms/ros')
-rw-r--r-- | src/platforms/ros/px4_messages/px4_rc_channels.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/platforms/ros/px4_messages/px4_rc_channels.h b/src/platforms/ros/px4_messages/px4_rc_channels.h new file mode 100644 index 000000000..a5a5ee202 --- /dev/null +++ b/src/platforms/ros/px4_messages/px4_rc_channels.h @@ -0,0 +1,25 @@ +#include "px4/rc_channels.h" +#include "platforms/px4_message.h" + +#pragma once +namespace px4 +{ + +class px4_rc_channels : + public PX4Message<rc_channels> +{ +public: + px4_rc_channels() : + PX4Message<rc_channels>() + {} + + px4_rc_channels(rc_channels msg) : + PX4Message<rc_channels>(msg) + {} + + ~px4_rc_channels() {} + + PX4TopicHandle handle() {return "rc_channels";} +}; + +} |