How tny-robotics/tny-360-web works
TNY-360 Web Interface is a browser control center for operating and maintaining the TNY-360 robot. Users enter workspaces for teleoperation, animation, block coding, or diagnostics; the dashboard also exposes telemetry, joint controls, movement editing, and robot files. The sampled code shows SDK-backed robot access, Blockly initialization, calibration operations, and HTTP-based user-data access. Some workspace wiring and the animation implementation were not sampled, so those documented capabilities are represented without speculative internal call edges.
Main entry points: TNY360.ts Robot connection · index.vue Workspace home · userdata.ts User-data API · BlocklyZone.vue Blockly workspace
Components 21
App entry
- Workspace home
app/pages/index.vue
Robot operation
- Teleoperation
app/pages/teleop.vue - Joystick controls
app/components/teleop/Joystick.vue - Animation studio
app/pages/dash/movements.vue
Dashboard and tools
- Robot calibration
app/pages/calibration.vue - Telemetry dashboard
app/pages/dash/index.vue - Live 3D view
app/components/dash/TNY360View.vue - Joint controls
app/pages/dash/joints.vue - Joint calibration
app/components/dash/joint/CalibrationModal.vue - Diagnostic mode
app/pages/diagnostic.vue - Error review
app/pages/errors.vue - Robot file explorer
app/components/FileExplorer.vue - Text editor
app/components/TextEditor.vue
Block coding
- Coder workspace
app/pages/coder.vue - Blockly workspace
app/components/coder/BlocklyZone.vue - Coder engine
app/assets/scripts/coder.main.ts
Robot and data access
- TNY-360 SDK
- Robot connection
app/composables/TNY360.ts - User-data API
app/composables/userdata.ts
Other components
- Robot owner
- TNY-360 robot
Connections 19
- Robot owner → Workspace home: opens app
README.md - Workspace home → Teleoperation: offers drive
README.md - Workspace home → Animation studio: offers animation
README.md - Workspace home → Coder workspace: offers coding
README.md - Workspace home → Telemetry dashboard: offers toolkit
README.md - Robot owner → Robot calibration: calibrates robot
README.md - Robot owner → Diagnostic mode: runs diagnostics
README.md - Robot owner → Robot file explorer: manages files
README.md - Blockly workspace → Coder engine: initializes
app/components/coder/BlocklyZone.vue - Blockly workspace → Robot connection: exposes robot API
app/components/coder/BlocklyZone.vue - Telemetry dashboard → Robot connection: requests statistics
app/pages/dash/index.vue - Live 3D view → Robot connection: requests joint data
app/components/dash/TNY360View.vue - Robot connection → TNY-360 SDK: creates client
app/composables/TNY360.ts - Robot connection → TNY-360 robot: connects
app/composables/TNY360.ts - Robot file explorer → User-data API: lists and edits files
app/components/FileExplorer.vue - User-data API → Robot connection: gets robot address
app/composables/userdata.ts - User-data API → TNY-360 robot: reads and writes files
app/composables/userdata.ts - Robot calibration → TNY-360 robot: calibrates joints
app/pages/calibration.vue - Joint calibration → TNY-360 robot: sets calibration
app/components/dash/joint/CalibrationModal.vue