diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-08 12:12:23 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-08 12:12:23 +0100 |
commit | dc945a3f3f9f7295c73fc8280d6a0048e059c469 (patch) | |
tree | 6d9270fa1eaf77bf4ebd994a3cdad6030ac3ddfb /msg | |
parent | b3600e5ee6fc4550533d65c1c25abceb6db4466e (diff) | |
download | px4-firmware-dc945a3f3f9f7295c73fc8280d6a0048e059c469.tar.gz px4-firmware-dc945a3f3f9f7295c73fc8280d6a0048e059c469.tar.bz2 px4-firmware-dc945a3f3f9f7295c73fc8280d6a0048e059c469.zip |
actuator controls as msg
Diffstat (limited to 'msg')
-rw-r--r-- | msg/px4_msgs/actuator_controls.msg | 4 | ||||
-rw-r--r-- | msg/templates/msg.h.template | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/msg/px4_msgs/actuator_controls.msg b/msg/px4_msgs/actuator_controls.msg new file mode 100644 index 000000000..743f20cdf --- /dev/null +++ b/msg/px4_msgs/actuator_controls.msg @@ -0,0 +1,4 @@ +uint8 NUM_ACTUATOR_CONTROLS = 8 +uint8 NUM_ACTUATOR_CONTROL_GROUPS = 4 +uint64 timestamp +float32[8] control diff --git a/msg/templates/msg.h.template b/msg/templates/msg.h.template index 5fce506b6..84dea37a3 100644 --- a/msg/templates/msg.h.template +++ b/msg/templates/msg.h.template @@ -104,7 +104,8 @@ type_map = {'int8': 'int8_t', 'uint32': 'uint32_t', 'uint64': 'uint64_t', 'float32': 'float', - 'bool': 'bool'} + 'bool': 'bool', + 'actuator_controls': 'actuator_controls'} # Function to print a standard ros type def print_field_def(field): |