#ifndef REMOTEDEBUGGING_H #define REMOTEDEBUGGING_H #include #include "MessagingInterface.h" #include "control/ActuatorFactory.h" #include "control/IActuator.h" #include "util/ring_buffer.h" #define LOG_BUFFER_SIZE 50 static auto log_buffer = std::make_unique>(LOG_BUFFER_SIZE); class RemoteDebugging { public: static std::string get_task_manager(); static std::string get_logs(); static std::string get_coredump_summary(); static int custom_log_write(const char *data, va_list args); static void register_calls(MessagingInterface &messaging_interface); private: }; #endif // REMOTEDEBUGGING_H