How bkairat/robotics works
This is a command-line application for sorting ArUco-marked cubes into marked boxes with a CRS97 robot. Its main workflow selects a mode, moves the robot to a camera position, detects cubes and boxes, runs a sorting task, and commands the robot to pick and place cubes. The README also documents setup, initialization, motor reset, shutdown preparation, and image display modes. The graph follows the sampled entry point and source; the sorting classes shown in task.py differ from the names imported by main.py, so that mismatch is not resolved here.
Main entry points: main.py Mode dispatcher · robot.py Motion and gripper control · camera.py Image and marker vision · task.py Sorting task
Components 8
Mode workflow
- Mode dispatcher
main.py - Sorting task
task.py
Camera vision
- Image and marker vision
camera.py
Robot manipulation
- Motion and gripper control
robot.py
Other components
- Operator
- Chameleon camera
- Pyrocon control library
- CRS97 robot
Connections 10
- Operator → Mode dispatcher: selects mode
README.md - Mode dispatcher → Image and marker vision: creates camera
main.py - Mode dispatcher → Motion and gripper control: creates controller
main.py - Mode dispatcher → Image and marker vision: requests detections
main.py - Mode dispatcher → Sorting task: constructs task
main.py - Mode dispatcher → Motion and gripper control: prepares position
main.py - Image and marker vision → Chameleon camera: captures frames
camera.py - Sorting task → Motion and gripper control: commands pick and place
task.py - Motion and gripper control → Pyrocon control library: issues motion commands
robot.py - Pyrocon control library → CRS97 robot: controls robot