OTA + remote logging + profiling

This commit is contained in:
2026-02-18 11:12:38 -05:00
parent 63a18677cb
commit 107f185527
16 changed files with 524 additions and 12 deletions

View File

@@ -0,0 +1,26 @@
#ifndef REMOTEDEBUGGING_H
#define REMOTEDEBUGGING_H
#include <memory>
#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<RingBuffer<std::string>>(LOG_BUFFER_SIZE);
class RemoteDebugging {
public:
static std::string get_task_manager();
static std::string get_logs();
static int custom_log_write(const char *data, va_list args);
static void register_calls(MessagingInterface &messaging_interface);
private:
};
#endif // REMOTEDEBUGGING_H