Arduino IDE compatibility
This commit is contained in:
parent
c66a3215e1
commit
502121ba3b
@ -1,5 +1,5 @@
|
|||||||
#include "DifferentialDrive.h"
|
#include "DifferentialDrive.h"
|
||||||
#include "FloatSingle.h"
|
#include "VectorAlgebra/include/FloatSingle.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
7
Motor.h
7
Motor.h
@ -1,15 +1,16 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
#include "Thing.h"
|
#include "Thing.h"
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
|
||||||
/// @brief A Motor is a Thing which can move parts of the Roboid
|
/// @brief A Motor is a Thing which can move parts of the Roboid
|
||||||
/// @note Currently only rotational motors are supported
|
/// @note Currently only rotational motors are supported
|
||||||
class Motor : public Thing {
|
class Motor : public Thing {
|
||||||
public:
|
public:
|
||||||
/// @brief Default constructor for the Motor
|
/// @brief Default constructor for the Motor
|
||||||
Motor();
|
Motor();
|
||||||
|
|
||||||
@ -27,7 +28,7 @@ class Motor : public Thing {
|
|||||||
/// forward)
|
/// forward)
|
||||||
virtual float GetSpeed();
|
virtual float GetSpeed();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
float currentTargetSpeed = 0;
|
float currentTargetSpeed = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "Perception.h"
|
#include "Perception.h"
|
||||||
#include "Angle.h"
|
|
||||||
#include "DistanceSensor.h"
|
#include "DistanceSensor.h"
|
||||||
#include "NetworkSync.h"
|
#include "NetworkSync.h"
|
||||||
#include "Switch.h"
|
#include "Switch.h"
|
||||||
|
#include "VectorAlgebra/include/Angle.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Placement.h"
|
#include "Placement.h"
|
||||||
#include "Polar.h"
|
|
||||||
#include "Quaternion.h"
|
|
||||||
#include "Sensor.h"
|
#include "Sensor.h"
|
||||||
#include "TrackedObject.h"
|
#include "TrackedObject.h"
|
||||||
|
#include "VectorAlgebra/include/Polar.h"
|
||||||
|
#include "VectorAlgebra/include/Quaternion.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "Propulsion.h"
|
#include "Propulsion.h"
|
||||||
#include "Roboid.h"
|
#include "Roboid.h"
|
||||||
|
|
||||||
#include "FloatSingle.h"
|
#include "VectorAlgebra/include/FloatSingle.h"
|
||||||
|
|
||||||
Propulsion::Propulsion() {
|
Propulsion::Propulsion() {
|
||||||
this->placement = nullptr;
|
this->placement = nullptr;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "Propulsion.h"
|
#include "Propulsion.h"
|
||||||
#include "Thing.h"
|
#include "Thing.h"
|
||||||
#include "Vector3.h"
|
#include "VectorAlgebra/include/Vector3.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Polar.h"
|
|
||||||
#include "Sensor.h"
|
#include "Sensor.h"
|
||||||
|
#include "VectorAlgebra/include/Polar.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user