mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Work on sensor
This commit is contained in:
@@ -5,10 +5,16 @@
|
||||
#ifndef IACTUATOR_H
|
||||
#define IACTUATOR_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "SensorMessageBuilder.h"
|
||||
|
||||
|
||||
class IActuator {
|
||||
public:
|
||||
virtual ~IActuator() {}
|
||||
virtual void actuate(uint8_t *cmd) = 0;
|
||||
virtual std::vector<Flatbuffers::SensorValueInstance> get_sensor_data() = 0;
|
||||
};
|
||||
|
||||
#endif //IACTUATOR_H
|
||||
|
||||
Reference in New Issue
Block a user