LEGACY: older hexapod sketches (Hexapod_NEW, HexapodRobot)

From https://mangavalk.com/Hexapod/Hexapod @ 7945005 (its Hexapod_Teensy
is identical to the copy already in LEGACY). Earlier electronics
generation: on-board IK driving an external SSC-32-style servo
controller. Notes on what still applies are in CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-10-25 01:17:46 +02:00
1 parent 5ff85c4eb8
commit 09f7424714
11 files changed
+1318 -1

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
// Version 1
#ifndef SerD_H
#define SerD_H
class SerD
{
public:
// Coordinate
int x;
int y;
int z;
// Angles
int o1;
int o2;
int o3;
// Pulse Length.
int t1;
int t2;
int t3;
//Input
SerD& operator() (int X, int Y, int Z)
{
x = X;
y = Y;
z = Z;
return *this;
}
SerD& operator= (SerD& R)
{
x = R.x;
y = R.y;
z = R.z;
return *this;
}
};
#endif