Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ROBOT_IP=
CONN_TYPE=webrtc

# Hosted teleop — transport blueprints (teleop-hosted-go2-transport / -multicam).
TRANSPORTS__BROKER__BROKER_URL=https://teleop.dimensionalos.com
TRANSPORTS__BROKER__API_KEY=
TRANSPORTS__BROKER__ROBOT_ID=
TRANSPORTS__BROKER__ROBOT_NAME=
WEBRTC_SERVER_HOST=0.0.0.0
WEBRTC_SERVER_PORT=9991
Expand Down
2 changes: 1 addition & 1 deletion dimos/protocol/pubsub/impl/webrtc/providers/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __init__(self, config: BrokerConfig | None = None) -> None:
"BrokerConfig.api_key required "
"(set --transports.broker.api-key=dimos_sk_... or "
"TRANSPORTS__BROKER__API_KEY=dimos_sk_...; "
"create one in the teleop dashboard: New Key)"
"create one in the Dimensional console: API keys -> Create key)"
)
self._broker_url = config.broker_url.rstrip("/")
self._api_key = config.api_key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

Never deploy this on a robot: it authenticates with the CF *app secret*,
which must not leave server-side/dev environments (robots carry revocable
``dtk_live_*`` keys and go through the dimensional-teleop broker — see
``dimos_sk_*`` keys and go through the dimensional-teleop broker — see
``broker.py``). CF DataChannels are unidirectional, so this provider holds
two CF sessions — one publishing, one subscribing — giving a single process
loopback pubsub through the CF edge: exactly what the integration tests and
Expand Down
4 changes: 2 additions & 2 deletions dimos/protocol/pubsub/impl/webrtc/tool_broker_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
-> negotiated cmd_unreliable channel). The robot side is the exact transport
object the teleop-hosted-go2-transport blueprint binds to cmd_vel.

Needs live-broker credentials, so it only runs when all three are set:
Needs live-broker credentials, so it only runs when both are set:

TELEOP_API_KEY dtk_live_... (dashboard -> New Key)
TELEOP_API_KEY dimos_sk_... (Dimensional console -> API keys -> Create key)
TELEOP_OPERATOR_TOKEN Cognito ID token of the key's owner

TELEOP_ROBOT_ID is optional (the broker derives identity from the key).
Expand Down
4 changes: 2 additions & 2 deletions docs/capabilities/teleoperation/hosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ The robot registers with the broker. Open
the [console Teleop tab](https://console.dimensional.org/console/teleop), sign in, and your
robot appears under **Available Robots**. Click **Connect** and you're driving.

The API key alone is enough; one key drives the CLI, uploads, and teleop. The
robot identifies itself by `TRANSPORTS__BROKER__ROBOT_ID` (blueprint default).
The API key alone is enough; one key drives the CLI, uploads, and teleop. By
default, the broker derives the robot identity from the API key.
`TRANSPORTS__BROKER__ROBOT_ID` / `TRANSPORTS__BROKER__ROBOT_NAME` are optional
overrides. All broker settings can also be passed on the CLI, e.g.
`--transports.broker.api-key=dimos_sk_...`.
Expand Down
Loading