Files
appRobotRoom/Readme.md
2026-06-16 10:06:05 +02:00

39 lines
1022 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Time-of-Flight Daten von den Sensoren des
Roboters sollen graphisch ansprechend im ThreeJS
in beliebigen Browsern angezeigt werden.
ESP32 (WS /ws, CSV-Frames)
│ (nur LAN-Zugriff)
Node.js "AppRobot_Room"
- WS-Client → verbindet sich zum ESP32 (/ws)
- WS-Server → verteilt dieselben CSV-Frames unverändert an Browser
- HTTP-Server → liefert Viewer (Three.js)
- (später) Sensorpose einspeisen & an Browser pushen
Browser (Three.js-Viewer)
- OrbitControls für freie Kameraführung
- 8×8 Punkte werden als Kugeln (~5cm ø) in 3D gerendert
- Mapping: Distanz + FOV + Sensorpose ⇒ 3DKoordinaten
AppRobot_Room/
├─ room.config # zentrale Konfiguration (JSON, ohne Endung)
├─ package.json
├─ server.js # Express + WS-Bridge
├─ README.md
└─ public/
├─ index.html # Three.js-Viewer mit OrbitControls
└─ app.js # CSV-Parsing, 3D-Mapping, InstancedMesh