How tobethieren/parol6_leader-arm works
PAROL6 Leader Arm is Arduino Mega firmware that maps a manually moved, potentiometer-equipped leader arm to a six-joint follower robot. The principal workflow samples and calibrates joint positions, filters and queues poses, generates synchronized motion segments, and emits timed step pulses. Calibration is a separate utility whose output is copied into the runtime firmware; hardware documentation covers the mechanical and wiring build. Runtime is intentionally concentrated in one source file, so its internal stages share that path. Edges reflect the README’s documented workflow; unsampled implementation details are not inferred.
Main entry points: main.cpp Synchronized stepping · calibration.cpp Interactive calibration · hardware Build and wiring resources
Components 15
Leader-follow firmware
- ADC sampling
src/main.cpp - Angle mapping
src/main.cpp - One Euro filter
src/main.cpp - Pose queue
src/main.cpp - Motion segments
src/main.cpp - Synchronized stepping
src/main.cpp - Fast pin writes
src/main.cpp - Fast ADC configuration
src/main.cpp - Axis deadbands
src/main.cpp - Calibration values
src/main.cpp
Calibration utility
- Interactive calibration
calibration/calibration.cpp
Robot hardware
- Build and wiring resources
hardware
Other components
- Leader arm
- Follower robot
- Serial monitor
Connections 14
- Leader arm → ADC sampling: provides pose
README.md - ADC sampling → Angle mapping: samples raw values
README.md - Angle mapping → One Euro filter: maps angles
README.md - One Euro filter → Pose queue: queues poses
README.md - Pose queue → Motion segments: supplies poses
README.md - Motion segments → Synchronized stepping: schedules axes
README.md - Synchronized stepping → Follower robot: drives joints
README.md - Serial monitor → Interactive calibration: guides calibration
calibration/calibration.cpp - Interactive calibration → Calibration values: prints values
README.md - Calibration values → Angle mapping: configures mapping
README.md - Fast ADC configuration → ADC sampling: speeds sampling
README.md - Fast pin writes → Synchronized stepping: writes pulses
README.md - Axis deadbands → Synchronized stepping: limits chatter
README.md - Build and wiring resources → Leader arm: documents build
README.md