From 6afbe824ac8f5310d73155d7a211832a214eef4d Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Tue, 21 Jul 2020 01:12:29 +0200
Subject: [PATCH] add mqtt message

---
 CMakeLists.txt      | 1 +
 msg/MqttMessage.msg | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 msg/MqttMessage.msg

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e929225..3ee3821 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,6 +82,7 @@ add_message_files(
         Waypoint.msg
         StampedVelocity.msg
         StampedInZone.msg
+        MqttMessage.msg
 )
 
 ## Generate services in the 'srv' folder
diff --git a/msg/MqttMessage.msg b/msg/MqttMessage.msg
new file mode 100644
index 0000000..d306c68
--- /dev/null
+++ b/msg/MqttMessage.msg
@@ -0,0 +1,3 @@
+# an MQTT topic that is not treated by a special handler
+string topic                 # the mqtt topic
+int8[] content               # the content of the message as bytes (int8 in the msg format)
\ No newline at end of file
-- 
GitLab