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:
@@ -9,21 +9,20 @@
|
||||
#include "flatbuffers_generated/TopologyMessage_generated.h"
|
||||
|
||||
class Actuator : public Module {
|
||||
public:
|
||||
explicit Actuator(uint8_t device_id) : Module(device_id) {};
|
||||
public:
|
||||
explicit Actuator(uint8_t device_id) : Module(device_id) {};
|
||||
|
||||
Actuator(uint8_t device_id, ModuleType module_type)
|
||||
: Module(device_id, module_type) {};
|
||||
Actuator(uint8_t device_id, ModuleType module_type) : Module(device_id, module_type) {};
|
||||
|
||||
Actuator(uint8_t device_id, ModuleType module_type,
|
||||
Messaging::ConnectionType connection_type, uint8_t leader)
|
||||
: Module(device_id, module_type, connection_type, leader) {};
|
||||
Actuator(uint8_t device_id, ModuleType module_type, Messaging::ConnectionType connection_type,
|
||||
uint8_t leader)
|
||||
: Module(device_id, module_type, connection_type, leader) {};
|
||||
|
||||
protected:
|
||||
virtual std::vector<uint8_t> get_actuation_message() = 0;
|
||||
protected:
|
||||
virtual std::vector<uint8_t> get_actuation_message() = 0;
|
||||
|
||||
private:
|
||||
[[noreturn]] void actuator_tx_loop();
|
||||
private:
|
||||
[[noreturn]] void actuator_tx_loop();
|
||||
};
|
||||
|
||||
#endif // CONTROL_MODULE_H
|
||||
|
||||
Reference in New Issue
Block a user