compatiblity updates

This commit is contained in:
Pascal Serrarens 2024-01-03 11:50:40 +01:00
parent 000ca8d4e3
commit ae327c8bac
13 changed files with 19 additions and 18 deletions

View File

@ -2,12 +2,12 @@ cmake_minimum_required(VERSION 3.13) # CMake version check
if(ESP_PLATFORM)
set(sourcedirs
.
VectorAlgebra/src
VectorAlgebra
)
set(includedirs
.
VectorAlgebra/include
VectorAlgebra
)
idf_component_register(
@ -37,7 +37,7 @@ FetchContent_MakeAvailable(googletest)
include_directories(
.
VectorAlgebra/include
VectorAlgebra
)
add_library(RoboidControl STATIC

View File

@ -1,5 +1,5 @@
#include "DifferentialDrive.h"
#include "VectorAlgebra/include/FloatSingle.h"
#include "VectorAlgebra/FloatSingle.h"
#include <math.h>

View File

@ -1,4 +1,5 @@
#include "Motor.h"
#include <time.h>
Motor::Motor() {

View File

@ -2,7 +2,7 @@
#include "DistanceSensor.h"
#include "NetworkSync.h"
#include "Switch.h"
#include "VectorAlgebra/include/Angle.h"
#include "VectorAlgebra/Angle.h"
#include <math.h>

View File

@ -3,8 +3,8 @@
#include "Placement.h"
#include "Sensor.h"
#include "TrackedObject.h"
#include "VectorAlgebra/include/Polar.h"
#include "VectorAlgebra/include/Quaternion.h"
#include "VectorAlgebra/Polar.h"
#include "VectorAlgebra/Quaternion.h"
namespace Passer {
namespace RoboidControl {

View File

@ -1,8 +1,8 @@
#pragma once
#include "Thing.h"
#include "VectorAlgebra/include/Vector2.h"
#include "VectorAlgebra/include/Vector3.h"
#include "VectorAlgebra/Vector2.h"
#include "VectorAlgebra/Vector3.h"
namespace Passer {
namespace RoboidControl {

View File

@ -1,7 +1,7 @@
#include "Propulsion.h"
#include "Roboid.h"
#include "VectorAlgebra/include/FloatSingle.h"
#include "VectorAlgebra/FloatSingle.h"
Propulsion::Propulsion() {
this->placement = nullptr;

View File

@ -2,9 +2,9 @@
#include "Motor.h"
#include "Placement.h"
#include "VectorAlgebra/include/Polar.h"
#include "VectorAlgebra/include/Quaternion.h"
#include "VectorAlgebra/include/Vector2.h"
#include "VectorAlgebra/Polar.h"
#include "VectorAlgebra/Quaternion.h"
#include "VectorAlgebra/Vector2.h"
namespace Passer {
namespace RoboidControl {

View File

@ -2,7 +2,7 @@
#include "Propulsion.h"
#include "Thing.h"
#include "VectorAlgebra/include/Vector3.h"
#include "VectorAlgebra/Vector3.h"
namespace Passer {
namespace RoboidControl {

View File

@ -1,7 +1,7 @@
#pragma once
#include "Sensor.h"
#include "VectorAlgebra/include/Polar.h"
#include "VectorAlgebra/Polar.h"
namespace Passer {
namespace RoboidControl {

@ -1 +1 @@
Subproject commit 5b2d515cccd8d9b66ca85391a1a45a5bc2052fa7
Subproject commit 37d45cdda59948e6d2bf11ffd6912ca9b3476c2e

View File

@ -1 +1 @@
COMPONENT_ADD_INCLUDEDIRS = ./VectorAlgebra/include
COMPONENT_ADD_INCLUDEDIRS = ./VectorAlgebra

View File

@ -5,7 +5,7 @@
"srcDir": ".",
"flags": [
"-I .",
"-I ./VectorAlgebra/include"
"-I ./VectorAlgebra"
]
}
}