How intrinsic-ai/intrinsic-omts works
OMTS is a configurable robot machine-tending application: its entry point connects to an SBL deployment, assembles hardware adapters and an infeed strategy, then runs a behavior tree through part acquisition, CNC loading, machining, unloading, and return. The graph preserves both perception and grid infeed, the hardware adapters, and domain-state models. Workflow sequencing is documented in the README; source-index references and excerpts support the implementation links shown. Some utility and model interactions are not shown, so no speculative edges are drawn.
Main entry points: pick.py Acquire workpiece · robot.py Robot adapter · main.py Application entry · load_machine.py Load CNC
Components 24
Application and workflow
- Application entry
src/main.py - Cycle orchestration
src/behaviors/machine_tending_bt.py - Acquire workpiece
src/behaviors/pick.py - Load CNC
src/behaviors/load_machine.py - Machining handshake
src/behaviors/machining.py - Unload CNC
src/behaviors/unload_machine.py - Return to infeed
src/behaviors/return_infeed.py
Cell configuration and models
- Cell configuration
src/core/config.py - Infeed strategies
src/core/infeed.py - Tray and slots
src/core/tray.py - Workpiece state
src/core/workpiece.py - Workcell state
src/core/workcell.py - Domain types
src/core/types.py
Hardware and perception
- Camera perception
src/hardware/vision.py - Gripper adapter
src/hardware/gripper.py - CNC and I/O adapter
src/hardware/machine.py
Motion and grasp
- Grasp attachment
src/hardware/grasping.py - Grasp planning
src/hardware/grasp_planners.py - Robot adapter
src/hardware/robot.py - Motion task builders
src/behaviors/motions.py - Dynamic frame utility
src/utils/dynamic_frame_calculator.py - Motion math utilities
src/utils/math_utils.py - Script utilities
src/utils/script_utils.py
Other components
- Operator
Connections 42
- Operator → Application entry: starts
src/main.py - Application entry → Cell configuration: loads
src/main.py - Application entry → Cycle orchestration: runs
src/main.py - Cycle orchestration → Acquire workpiece: starts cycle
README.md - Acquire workpiece → Load CNC: then loads
README.md - Load CNC → Machining handshake: then machines
README.md - Machining handshake → Unload CNC: then unloads
README.md - Unload CNC → Return to infeed: then returns
README.md - Acquire workpiece → Infeed strategies: uses strategy
src/behaviors/pick.py - Infeed strategies → Tray and slots: reads slots
src/core/infeed.py - Tray and slots → Workpiece state: holds parts
src/core/tray.py - Workcell state → Tray and slots: uses model
src/core/workcell.py - Workcell state → Workpiece state: tracks state
src/core/workcell.py - Infeed strategies → Workpiece state: creates or retrieves
src/core/infeed.py - Acquire workpiece → Camera perception: localizes part
src/behaviors/pick.py - Acquire workpiece → Robot adapter: builds motion
src/behaviors/pick.py - Acquire workpiece → Gripper adapter: controls gripper
src/behaviors/pick.py - Acquire workpiece → CNC and I/O adapter: prepares CNC
src/behaviors/pick.py - Load CNC → Robot adapter: builds motion
src/behaviors/load_machine.py - Load CNC → Gripper adapter: controls gripper
src/behaviors/load_machine.py - Load CNC → CNC and I/O adapter: actuates CNC
src/behaviors/load_machine.py - Machining handshake → Robot adapter: moves to standby
src/behaviors/machining.py - Machining handshake → CNC and I/O adapter: signals cycle
src/behaviors/machining.py - Unload CNC → Robot adapter: builds motion
src/behaviors/unload_machine.py - Unload CNC → Gripper adapter: controls gripper
src/behaviors/unload_machine.py - Unload CNC → CNC and I/O adapter: opens CNC
src/behaviors/unload_machine.py - Return to infeed → Robot adapter: builds motion
src/behaviors/return_infeed.py - Return to infeed → Gripper adapter: releases part
src/behaviors/return_infeed.py - Robot adapter → Motion task builders: builds tasks
src/behaviors/motions.py - Acquire workpiece → Grasp attachment: attaches part
src/behaviors/pick.py - Acquire workpiece → Grasp planning: optionally plans grasp
src/behaviors/pick.py - Application entry → Robot adapter: constructs adapter
src/main.py - Application entry → Gripper adapter: selects adapter
src/main.py - Application entry → CNC and I/O adapter: constructs adapter
src/main.py - Application entry → Camera perception: constructs adapter
src/main.py - Motion task builders → Motion math utilities: uses utilities
- Camera perception → Dynamic frame utility: updates frames
src/hardware/vision.py - Return to infeed → Script utilities: uses script helpers
src/behaviors/return_infeed.py - Tray and slots → Domain types: uses states
src/core/tray.py - Workpiece state → Domain types: uses pose types
src/core/workpiece.py - Robot adapter → Domain types: uses motion types
src/hardware/robot.py - Cell configuration → Domain types: defines typed settings
src/core/config.py