mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-03-10 00:32:26 +01:00
Prepare files for public release
This commit is contained in:
24
src/Hub.cpp
Normal file
24
src/Hub.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "Hub.h"
|
||||
#include "flatbuffers/SensorMessageBuilder.h"
|
||||
|
||||
double Hub::get_position() {
|
||||
// no-op
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Hub::actuate(double /* position */) {
|
||||
// no-op
|
||||
}
|
||||
|
||||
void Hub::actuate(double /* x */, double /* y */) {
|
||||
// no-op
|
||||
}
|
||||
|
||||
std::vector<uint8_t> Hub::get_actuation_message() {
|
||||
// no-op
|
||||
return {};
|
||||
}
|
||||
|
||||
void Hub::update_sensor_data(const Flatbuffers::sensor_value & /* value */) {
|
||||
// no-op
|
||||
}
|
||||
Reference in New Issue
Block a user