feat: began working on cleaning up explorative main file

This commit is contained in:
Leonetienne
2025-12-13 20:50:31 +01:00
commit 181139aae5
11 changed files with 583 additions and 0 deletions
Executable
+11
View File
@@ -0,0 +1,11 @@
#pragma once
// ----- Servo config -----
#define SERVO_PMIN 125 // Minimum pulse length (0 degrees)
#define SERVO_PMAX 625 // Maximum pulse length (180 degrees)
const int servo_range[] = {270, 270, 270, 180};
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};