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