-
Notifications
You must be signed in to change notification settings - Fork 0
Implement Ito v1 local teleoperation loop #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1ff95f8
feat(server): implement session acquisition lifecycle
adbe6d5
feat(mock-robot): scaffold driver lifecycle
32409c0
feat(client): scaffold pilot VR client
b82eaca
feat(driver): scaffold ito droid ros driver
78a7b1c
feat: add WebRTC reconstruction transport seams
737a625
test: add local v1 e2e docs
a364614
feat: add mock camera media WebRTC transport
33d533c
fix: use container-friendly media dependencies
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| <title>Ito Pilot</title> | ||
| <link rel="stylesheet" href="./styles.css" /> | ||
| <script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
| <script type="module" src="./src/main.js"></script> | ||
| </head> | ||
| <body> | ||
| <main id="launch"> | ||
| <h1>Ito Pilot</h1> | ||
| <button id="enter-vr" type="button">Enter VR</button> | ||
| <p id="launch-status" role="status"></p> | ||
| </main> | ||
|
|
||
| <a-scene | ||
| embedded | ||
| renderer="antialias: true; colorManagement: true" | ||
| vr-mode-ui="enabled: false" | ||
| ito-xr-frame-events> | ||
| <a-assets></a-assets> | ||
| <a-entity id="rig" position="0 0 0"> | ||
| <a-camera id="camera" position="0 1.6 0" look-controls="enabled: true"></a-camera> | ||
| <a-entity | ||
| id="left-controller" | ||
| laser-controls="hand: left" | ||
| raycaster="objects: .ito-clickable; far: 6" | ||
| line="color: #7ee2d3; opacity: 0.78"></a-entity> | ||
| <a-entity | ||
| id="right-controller" | ||
| laser-controls="hand: right" | ||
| raycaster="objects: .ito-clickable; far: 6" | ||
| line="color: #7ee2d3; opacity: 0.78"></a-entity> | ||
| </a-entity> | ||
| <a-entity id="ito-splat-root" ito-spark-scene></a-entity> | ||
| <a-entity id="ito-ui-root"></a-entity> | ||
| <a-sky color="#071017"></a-sky> | ||
| <a-light type="ambient" color="#ffffff" intensity="0.65"></a-light> | ||
| </a-scene> | ||
| </body> | ||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "ito-pilot-client", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "type": "module", | ||
| "scripts": { | ||
| "test": "node --test tests/*.test.js" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| { | ||
| "app": { | ||
| "title": "Ito Pilot", | ||
| "enterVr": "Enter VR", | ||
| "webxrUnavailable": "Immersive VR is not available in this browser.", | ||
| "loading": "Loading..." | ||
| }, | ||
| "catalog": { | ||
| "title": "Robot Catalog", | ||
| "refresh": "Refresh", | ||
| "empty": "No robots are reporting yet.", | ||
| "acquire": "Pilot", | ||
| "unavailable": "Unavailable" | ||
| }, | ||
| "connection": { | ||
| "connecting": "Connecting...", | ||
| "connected": "Connected", | ||
| "failed": "Connection failed" | ||
| }, | ||
| "session": { | ||
| "connecting": "Connecting to {{name}}...", | ||
| "active": "Piloting {{name}}", | ||
| "ending": "Ending session...", | ||
| "ended": "Session ended", | ||
| "returnToCatalog": "Return to Catalog", | ||
| "visualPaused": "Visual feed lost. Robot controls paused.", | ||
| "menu": "Menu", | ||
| "resume": "Resume", | ||
| "end": "End Session", | ||
| "settings": "Settings" | ||
| }, | ||
| "settings": { | ||
| "title": "Settings", | ||
| "serverUrl": "Server", | ||
| "visualFreshnessTimeoutMs": "Visual timeout", | ||
| "pilotInputRateHz": "Input rate", | ||
| "splatBudget": "Splat budget", | ||
| "splatLifetimeMs": "Splat lifetime", | ||
| "save": "Save", | ||
| "reset": "Reset" | ||
| }, | ||
| "enum": { | ||
| "robotType": { | ||
| "Mecha": "Mecha", | ||
| "Android Robot": "Android Robot", | ||
| "Droid": "Droid", | ||
| "Drone": "Drone", | ||
| "Car": "Car", | ||
| "Plane": "Plane" | ||
| }, | ||
| "robotStatus": { | ||
| "Available": "Available", | ||
| "Occupied": "Occupied", | ||
| "Unavailable": "Unavailable" | ||
| } | ||
| }, | ||
| "reason": { | ||
| "unknown": "Unknown reason.", | ||
| "request": { | ||
| "timeout": "The request timed out." | ||
| }, | ||
| "robot": { | ||
| "unavailable": "The robot is unavailable.", | ||
| "driver_disconnected": "The robot driver disconnected.", | ||
| "driver_status_timeout": "The robot stopped reporting status." | ||
| }, | ||
| "session": { | ||
| "acquire": { | ||
| "robot_unavailable": "That robot is not available." | ||
| }, | ||
| "ended": { | ||
| "requested": "The session was ended.", | ||
| "pilot_requested": "The pilot ended the session.", | ||
| "endpoint_disappeared": "A required endpoint disconnected.", | ||
| "reconstruction_failed": "Reconstruction failed." | ||
| }, | ||
| "resume_unavailable": "The previous session can no longer be resumed." | ||
| }, | ||
| "connection": { | ||
| "hello_required": "The server rejected the connection handshake.", | ||
| "invalid_role": "The server rejected the client role." | ||
| }, | ||
| "protocol": { | ||
| "invalid_message": "The server rejected an invalid protocol message.", | ||
| "version_mismatch": "The Ito protocol versions do not match." | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Docker/nginx pilot client serves the repo's static files, but this page still loads A-Frame from an external CDN. In the trusted/private or offline robot-network deployments described for local and physical testing, that leaves
AFRAMEundefined beforemain.jsruns, so the Enter VR launch surface and all in-VR UI never initialize.Useful? React with 👍 / 👎.