Added a bit of documentation
This commit is contained in:
parent
ff7ad8d3df
commit
438d8ba941
1
Sensor.h
1
Sensor.h
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include "Thing.h"
|
#include "Thing.h"
|
||||||
|
|
||||||
|
/// @brief A sensor is a thing which can perform measurements in the environment
|
||||||
class Sensor : public Thing {
|
class Sensor : public Thing {
|
||||||
public:
|
public:
|
||||||
Sensor();
|
Sensor();
|
||||||
|
3
Thing.h
3
Thing.h
@ -1,7 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
/// @brief A thing is a functional component on a robot
|
||||||
class Thing {
|
class Thing {
|
||||||
public:
|
public:
|
||||||
Thing() { isSensor = false, isMotor = false; }
|
Thing() { isSensor = false, isMotor = false; }
|
||||||
bool isSensor;
|
bool isSensor;
|
||||||
bool isMotor;
|
bool isMotor;
|
||||||
|
11
library.json
Normal file
11
library.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "RoboidControl",
|
||||||
|
"version": "0.0",
|
||||||
|
"build": {
|
||||||
|
"srcDir": ".",
|
||||||
|
"flags": [
|
||||||
|
"-I .",
|
||||||
|
"-I ./VectorAlgebra/include"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user