got motor running

This commit is contained in:
Leonetienne
2025-12-14 18:57:28 +01:00
parent d339f5b297
commit bd906add53
14 changed files with 123 additions and 78 deletions
+2
View File
@@ -3,6 +3,7 @@
constexpr float COMP_EPSILON = 0.01;
// ----- Servo config -----
/*
#define SERVO_PMIN 125 // Minimum pulse length (0 degrees)
#define SERVO_PMAX 625 // Maximum pulse length (180 degrees)
@@ -11,3 +12,4 @@ const int min_safe_angles[] = {10, 0, 0, 0};
const int max_safe_angles[] = {270, 181, 270, 180};
const int initial_pose[] = {186, 71, 171, 36};
int currentPose[] = {0, 0, 0, 0};
*/