How gritrini/ssg_tomato_poc works
This repository is a robot-control proof of concept: its main workflow runs an apple-handling cycle on an M1013 robot, requests a vision target, executes pick/place and handling motions, and records telemetry for later plotting. The Python controller delegates hardware commands to a wrapper over the external rt_bind backend. Separate from that real-robot path, the repository exposes a simulation trajectory API. The README names only the PoC; workflow details come from the sampled controller. Vision-session setup and some state transitions are in omitted code, so only visible calls and documented capabilities are linked.
Main entry points: main.py Cycle controller · robot.py Robot wrapper · apple_rt_log.csv CSV log · log_graph.py Log plotter
Components 11
Apple handling
- Cycle controller
ssg_tomato_poc/main.py - Vision service
Robot control API
- Robot wrapper
rt_py/robot.py - rt_bind backend
Trajectory simulation
- Robot model
rt_py/trajectory.py - Trajectory generator
rt_py/trajectory.py
Telemetry and analysis
- Runtime log
ssg_tomato_poc/main.py - CSV log
ssg_tomato_poc/apple_rt_log.csv - Log plotter
ssg_tomato_poc/log_graph.py - Analysis image
Other components
- Operator
Connections 10
- Operator → Cycle controller: starts cycle
ssg_tomato_poc/main.py - Cycle controller → Robot wrapper: creates and commands
ssg_tomato_poc/main.py - Robot wrapper → rt_bind backend: delegates API
rt_py/robot.py - Cycle controller → Vision service: requests target
ssg_tomato_poc/main.py - Vision service → Cycle controller: returns target
- Cycle controller → Runtime log: records telemetry
ssg_tomato_poc/main.py - Runtime log → CSV log: writes CSV
ssg_tomato_poc/main.py - CSV log → Log plotter: loads data
ssg_tomato_poc/log_graph.py - Log plotter → Analysis image: saves plot
ssg_tomato_poc/log_graph.py - Robot model → Trajectory generator: initializes with model
rt_py/trajectory.py