diff --git a/Sensor.h b/Sensor.h index f49bfe6..1f47259 100644 --- a/Sensor.h +++ b/Sensor.h @@ -2,6 +2,7 @@ #include "Thing.h" +/// @brief A sensor is a thing which can perform measurements in the environment class Sensor : public Thing { public: Sensor(); diff --git a/Thing.h b/Thing.h index 610542c..dc29ba0 100644 --- a/Thing.h +++ b/Thing.h @@ -1,8 +1,9 @@ #pragma once +/// @brief A thing is a functional component on a robot class Thing { -public: - Thing() { isSensor = false, isMotor = false; } - bool isSensor; - bool isMotor; + public: + Thing() { isSensor = false, isMotor = false; } + bool isSensor; + bool isMotor; }; \ No newline at end of file diff --git a/library.json b/library.json new file mode 100644 index 0000000..8b014b3 --- /dev/null +++ b/library.json @@ -0,0 +1,11 @@ +{ + "name": "RoboidControl", + "version": "0.0", + "build": { + "srcDir": ".", + "flags": [ + "-I .", + "-I ./VectorAlgebra/include" + ] + } +} \ No newline at end of file