Files
hexapod-robot/2026-current/robot/ServoDriver.h
T
mangavalkandClaude Opus 5.5 ad77b06c36 Initial import: robot firmware + PlatformIO two-env scaffold
Robot-side firmware (Teensy 4.0) imported unchanged as extracted.
platformio.ini defines [env:robot] (teensy40) and [env:remote]
(teensy41); scripts/select_src_dir.py points each env at its own
sketch folder so robot/ and remote/ stay Arduino-style sketches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 15:36:37 +02:00

10 lines
301 B
C++

#pragma once
#include "Kinematics.h"
class ServoDriver {
public:
void begin(); // attach all servos
void relaxAll(); // detach all servos - call when disarming
void writeLeg(int leg_index, const JointAngles& angles);
};