How inner-king/elrobot-digital-twin works
ElRobot Digital Twin combines a browser robot console with an iPhone-based spatial twin. The main workflow is browser commands through the server to the servo arm, while camera frames stream into live point-cloud display, reconstruction, and object recognition; users can then select objects for planned and simulated pick-and-place execution. The graph preserves the documented calibration, registration, completion, object-model, and virtual-scene capabilities. Relationships involving unsampled code are included only where the README or source index documents them.
Main entry points: manager.py Grasp Manager · server.py Arm Server · stream.py Camera Stream · index.html Web Console
Components 18
Robot Console
- Web Console
static/index.html - Arm Server
server.py - Calibration Manager
server.py
Camera And Mapping
- Camera Stream
camera/stream.py - TSDF Reconstruction
camera/recon.py - Mesh Completion
camera/complete.py - Object Detection
camera/detect.py - Object Models
camera/objmodel.py
Grasp And Motion
- Grasp Manager
grasp/manager.py - Grasp Planner
grasp/planner.py - Physics Prediction
grasp/sim.py - Motion Timeline
grasp/motion.py
Virtual Devices
- Virtual Servo Bus
virtual.py - Virtual Camera
virtual.py - Kitchen Scene
virtual_kitchen.py
Other components
- Operator
- ST3215 Bus
- iPhone Stream
Connections 25
- Operator → Web Console: uses
README.md - Web Console → Arm Server: sends commands
README.md - Arm Server → Web Console: streams state
README.md - Arm Server → ST3215 Bus: polls and commands
README.md - Arm Server → Calibration Manager: loads and saves
server.py - Arm Server → Camera Stream: serves camera
server.py - iPhone Stream → Camera Stream: sends frames
README.md - Camera Stream → Web Console: streams point cloud
README.md - Camera Stream → TSDF Reconstruction: submits frames
camera/stream.py - Camera Stream → Object Detection: submits frames
camera/stream.py - TSDF Reconstruction → Mesh Completion: completes meshes
camera/recon.py - Object Detection → Object Models: generates models
camera/detect.py - TSDF Reconstruction → Object Detection: gets labels
camera/recon.py - Arm Server → Grasp Manager: routes commands
server.py - Web Console → Grasp Manager: sends grasp commands
grasp/manager.py - Grasp Manager → Grasp Planner: plans grasp
grasp/manager.py - Grasp Manager → Physics Prediction: predicts outcome
grasp/manager.py - Grasp Manager → Motion Timeline: executes timeline
grasp/manager.py - Grasp Manager → TSDF Reconstruction: reads scene
grasp/manager.py - Physics Prediction → Motion Timeline: uses timeline
grasp/sim.py - Grasp Manager → ST3215 Bus: executes motion
README.md - Grasp Manager → Virtual Servo Bus: supports virtual arm
README.md - Camera Stream → Virtual Camera: supports virtual feed
camera/stream.py - Kitchen Scene → Virtual Camera: extends camera
virtual_kitchen.py - Physics Prediction → Virtual Camera: updates virtual scene