mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-03-10 00:32:26 +01:00
Formatting, add remote calling to c library
This commit is contained in:
24
examples/rpc_call/include/rpc/RemoteDebugging.h
Normal file
24
examples/rpc_call/include/rpc/RemoteDebugging.h
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Created by Johnathon Slightham on 2026-02-16.
|
||||
//
|
||||
|
||||
#ifndef NEW_DEV_TOOLS_REMOTEDEBUGGING_H
|
||||
#define NEW_DEV_TOOLS_REMOTEDEBUGGING_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "libcontrol.h"
|
||||
|
||||
class RemoteDebugging {
|
||||
public:
|
||||
RemoteDebugging(std::shared_ptr<RobotController> controller) : m_robot_controller(controller) {
|
||||
}
|
||||
std::string get_task_manager(uint8_t module_id);
|
||||
std::string get_logs(uint8_t module_id);
|
||||
|
||||
private:
|
||||
std::shared_ptr<RobotController> m_robot_controller;
|
||||
};
|
||||
|
||||
#endif //NEW_DEV_TOOLS_REMOTEDEBUGGING_H
|
||||
Reference in New Issue
Block a user