mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Cleanup rpc interfaces
This commit is contained in:
14
main/include/control/ISensor.h
Normal file
14
main/include/control/ISensor.h
Normal file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Created by Johnathon Slightham on 2025-10-16.
|
||||
//
|
||||
|
||||
#ifndef ISENSOR_H
|
||||
#define ISENSOR_H
|
||||
|
||||
class ISensor {
|
||||
public:
|
||||
virtual ~ISensor() {}
|
||||
virtual void get_reading() = 0; // todo: return a flatbuffer object
|
||||
};
|
||||
|
||||
#endif //ISENSOR_H
|
||||
Reference in New Issue
Block a user