How yarindan27/dofbot_tests works
DOFBOT Chess is a local, interactive chessboard-manipulation application: an operator calibrates the board, tests reach and grasp, then commands piece moves; a camera stream is available alongside those tasks. The main workflow uses a saved three-point board frame and guarded arm motion. A separate master-calibration script provides joint-profile calibration and a detector-based layout audit. The chess-engine module appears to be a stub and is not shown in the main workflow. Some modules are unsampled; edges are limited to relationships visible in excerpts or the SOURCE INDEX.
Main entry points: config.py Runtime configuration · main.py Chess CLI · master_calibration.py Master calibration · arm.py Safe arm control
Components 13
Operator workflow
- Chess CLI
chess_project/main.py - Board frame
chess_project/chessboard.py
Arm motion
- Safe arm control
chess_project/arm.py - Arm kinematics
chess_project/kinematics.py - DOFBOT hardware
- Joint control
chess_project/arm_control.py
Vision and calibration
- Camera and MJPEG
chess_project/camera.py - Master calibration
chess_project/master_calibration.py - Square joint mapper
chess_project/board_mapper.py - Layout detector
chess_project/detector.py
Runtime support
- Runtime configuration
chess_project/config.py
Other components
- Operator
- Stream viewer
Connections 20
- Operator → Chess CLI: uses
chess_project/main.py - Chess CLI → Board frame: loads and saves
chess_project/main.py - Chess CLI → Safe arm control: commands moves
chess_project/main.py - Safe arm control → Arm kinematics: solves poses
chess_project/arm.py - Safe arm control → DOFBOT hardware: writes and reads
chess_project/arm.py - Chess CLI → Camera and MJPEG: starts stream
chess_project/main.py - Stream viewer → Camera and MJPEG: requests stream
chess_project/camera.py - Chess CLI → Runtime configuration: reads settings
chess_project/main.py - Safe arm control → Runtime configuration: reads limits
chess_project/arm.py - Arm kinematics → Runtime configuration: reads geometry
chess_project/kinematics.py - Camera and MJPEG → Runtime configuration: reads stream settings
chess_project/camera.py - Operator → Master calibration: runs calibration
chess_project/master_calibration.py - Master calibration → Joint control: commands joints
chess_project/master_calibration.py - Master calibration → Square joint mapper: requests square joints
chess_project/master_calibration.py - Master calibration → Layout detector: captures and audits layout
chess_project/master_calibration.py - Layout detector → Square joint mapper: uses mapping
chess_project/master_calibration.py - Joint control → DOFBOT hardware: writes and reads
chess_project/arm_control.py - Master calibration → Runtime configuration: reads profiles
chess_project/master_calibration.py - Square joint mapper → Runtime configuration: imports settings
chess_project/board_mapper.py - Layout detector → Runtime configuration: imports settings
chess_project/detector.py