From c5155fe641d1d93d7fe7c849dfec12e8b868a185 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 8 Jul 2025 15:22:36 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Adds=20servo=20to=20topics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/include/msgs/topics.def | 9 +++++---- esp32/include/topic.hpp | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/esp32/include/msgs/topics.def b/esp32/include/msgs/topics.def index a89c1f5..7ac3182 100644 --- a/esp32/include/msgs/topics.def +++ b/esp32/include/msgs/topics.def @@ -1,4 +1,5 @@ -#define TOPIC_LIST \ - X(Imu, ImuMsg) \ - X(Mode, ModeMsg) \ - X(Command, CommandMsg) +#define TOPIC_LIST \ + X(Imu, ImuMsg) \ + X(Mode, ModeMsg) \ + X(Command, CommandMsg) \ + X(Servo, ServoMsg)\ diff --git a/esp32/include/topic.hpp b/esp32/include/topic.hpp index 27366bf..dd95e9f 100644 --- a/esp32/include/topic.hpp +++ b/esp32/include/topic.hpp @@ -2,7 +2,7 @@ #include "msgs/imu_msg.hpp" #include "msgs/command_msg.hpp" #include "msgs/mode_msg.hpp" - +#include "msgs/servo_msg.hpp" #include "msgs/topics.def" enum class Topic : uint8_t {