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 {