Cleanup rpc interfaces

This commit is contained in:
2025-10-22 23:07:41 -04:00
parent 63a2f86343
commit 703020452f
28 changed files with 224 additions and 97 deletions

View File

@@ -18,7 +18,7 @@
#define METADATA_PERIOD_MS 1000
[[noreturn]] void LoopManager::control_loop() const {
const auto actuator = ActuatorFactory::create_actuator(m_config_manager.get_module_type());
const auto actuator = ActuatorFactory::create_actuator(m_config_manager.get_module_type()); // todo: this needs to be moved higher up with one factory that returns shared ptr for both actuator and sensor.
uint8_t buffer[512];
while (true) {
@@ -27,6 +27,11 @@
}
}
[[noreturn]] void LoopManager::sensor_loop() const {
// todo: impl
}
[[noreturn]] void LoopManager::metadata_tx_loop(char * args) {
const auto that = reinterpret_cast<LoopManager *>(args);
const auto topology_message_builder = std::make_unique<Flatbuffers::TopologyMessageBuilder>();