Merge branch 'main' into ControlledMotor
This commit is contained in:
commit
a4bb2cf55a
@ -2,12 +2,12 @@ cmake_minimum_required(VERSION 3.13) # CMake version check
|
|||||||
if(ESP_PLATFORM)
|
if(ESP_PLATFORM)
|
||||||
set(sourcedirs
|
set(sourcedirs
|
||||||
.
|
.
|
||||||
VectorAlgebra/src
|
VectorAlgebra
|
||||||
)
|
)
|
||||||
|
|
||||||
set(includedirs
|
set(includedirs
|
||||||
.
|
.
|
||||||
VectorAlgebra/include
|
VectorAlgebra
|
||||||
)
|
)
|
||||||
|
|
||||||
idf_component_register(
|
idf_component_register(
|
||||||
@ -37,7 +37,7 @@ FetchContent_MakeAvailable(googletest)
|
|||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
.
|
.
|
||||||
VectorAlgebra/include
|
VectorAlgebra
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(RoboidControl STATIC
|
add_library(RoboidControl STATIC
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "DifferentialDrive.h"
|
#include "DifferentialDrive.h"
|
||||||
#include "FloatSingle.h"
|
#include "VectorAlgebra/FloatSingle.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#include "Motor.h"
|
#include "Motor.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
Motor::Motor() {
|
Motor::Motor() {
|
||||||
|
3
Motor.h
3
Motor.h
@ -1,8 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
#include "Thing.h"
|
#include "Thing.h"
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
|
||||||
|
@ -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/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/Polar.h"
|
||||||
|
#include "VectorAlgebra/Quaternion.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Thing.h"
|
#include "Thing.h"
|
||||||
#include "Vector2.h"
|
#include "VectorAlgebra/Vector2.h"
|
||||||
#include "Vector3.h"
|
#include "VectorAlgebra/Vector3.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/FloatSingle.h"
|
||||||
|
|
||||||
Propulsion::Propulsion() {
|
Propulsion::Propulsion() {
|
||||||
this->placement = nullptr;
|
this->placement = nullptr;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
#include "Motor.h"
|
#include "Motor.h"
|
||||||
#include "Placement.h"
|
#include "Placement.h"
|
||||||
#include "Polar.h"
|
#include "VectorAlgebra/Polar.h"
|
||||||
#include "Quaternion.h"
|
#include "VectorAlgebra/Quaternion.h"
|
||||||
#include "Vector2.h"
|
#include "VectorAlgebra/Vector2.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "Propulsion.h"
|
#include "Propulsion.h"
|
||||||
#include "Thing.h"
|
#include "Thing.h"
|
||||||
#include "Vector3.h"
|
#include "VectorAlgebra/Vector3.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#include <Switch.h>
|
#include "Switch.h"
|
||||||
|
|
||||||
Switch::Switch() {}
|
Switch::Switch() {}
|
||||||
|
|
||||||
bool Switch::IsOn() {
|
bool Switch::IsOn() { return false; }
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Polar.h"
|
|
||||||
#include "Sensor.h"
|
#include "Sensor.h"
|
||||||
|
#include "VectorAlgebra/Polar.h"
|
||||||
|
|
||||||
namespace Passer {
|
namespace Passer {
|
||||||
namespace RoboidControl {
|
namespace RoboidControl {
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 5b2d515cccd8d9b66ca85391a1a45a5bc2052fa7
|
Subproject commit 5a03d296e5180236f12797f925a3e3711b5bb2d1
|
@ -1 +1 @@
|
|||||||
COMPONENT_ADD_INCLUDEDIRS = ./VectorAlgebra/include
|
COMPONENT_ADD_INCLUDEDIRS = ./VectorAlgebra
|
@ -5,7 +5,7 @@
|
|||||||
"srcDir": ".",
|
"srcDir": ".",
|
||||||
"flags": [
|
"flags": [
|
||||||
"-I .",
|
"-I .",
|
||||||
"-I ./VectorAlgebra/include"
|
"-I ./VectorAlgebra"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user