-
Notifications
You must be signed in to change notification settings - Fork 0
Implement Ito v1 local teleoperation loop #5
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ services: | |
| depends_on: | ||
| - ito-server | ||
| volumes: | ||
| - ./client:/usr/share/nginx/html:ro | ||
| - ./client:/usr/share/nginx/html:ro,Z | ||
| ports: | ||
| - "8080:80" | ||
|
|
||
|
|
@@ -31,14 +31,14 @@ services: | |
| depends_on: | ||
| - ito-server | ||
| environment: | ||
| ITO_SERVER_URL: ws://ito-server:8765 | ||
| ITO_SERVER_URL: ws://host.containers.internal:8765 | ||
| ITO_MOCK_ROBOT_ID: mock-robot-1 | ||
| ITO_MOCK_ROBOT_NAME: Mock Robot | ||
| ITO_MOCK_ROBOT_STATUS_INTERVAL_MS: "1000" | ||
| ITO_MOCK_ROBOT_CAMERA_VIDEO: /data/mock-camera.mp4 | ||
| ITO_MOCK_ROBOT_CAMERA_LOOP: "true" | ||
| volumes: | ||
| - ${ITO_MOCK_ROBOT_CAMERA_VIDEO_HOST:-./fixtures/mock-camera.mp4}:/data/mock-camera.mp4:ro | ||
| - ${ITO_MOCK_ROBOT_CAMERA_VIDEO_HOST:-./fixtures/mock-camera.mp4}:/data/mock-camera.mp4:ro,Z | ||
|
|
||
| ito-droid: | ||
| profiles: | ||
|
|
@@ -53,3 +53,8 @@ services: | |
| ITO_DROID_NAME: ${ITO_DROID_NAME:-Ito Droid} | ||
| ITO_DROID_ROS_CAMERA_TOPIC: ${ITO_DROID_ROS_CAMERA_TOPIC:-/image_raw} | ||
| ITO_DROID_ROS_SERVO_COMMAND_TOPIC: ${ITO_DROID_ROS_SERVO_COMMAND_TOPIC:-/ito_droid/camera_pan/command} | ||
|
|
||
| networks: | ||
| default: | ||
| name: podman | ||
| external: true | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a user follows the documented Docker path ( Useful? React with 👍 / 👎. |
||
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.
When the
mockprofile is run with Docker, the mock driver now connects to Podman'shost.containers.internalname instead of the Compose service DNS name that Docker provides forito-server. Docker's host-service documentation listshost.docker.internalfor host access (https://docs.docker.com/desktop/features/networking/networking-how-tos/), and this compose file has noextra_hostsor Docker override forhost.containers.internal, so after the network issue is addressed the documented Docker mock command will still leave the robot unable to register and reconnecting forever. Keepws://ito-server:8765for Docker or make the Podman hostname an override/env default.Useful? React with 👍 / 👎.