Set up Spot
Once you completed the general setup, configure the Spot-specific settings to connect Spot to InRobot. For better experience with the InRobot functionality, use Spot Enterprise with Spot Cam + IR and Core I/O with the internet access or Spot EAP 2.
Connect Spot Core to the internet
Learn about the Spot CORE I/O specifications and how to connect the Spot CORE I/O to the internet.
Download Spot integration
To download the Spot CORE I/O integration:
- Navigate to the
CDFportal application. - In the Integrate dropdown list, select Connect to source systems.
- Select and download the Cognite Boston Dynamics Spot Integration extractor.
Learn more about data extraction.
Deploy Spot device agent to your Boston Dynamics Spot
Set environment variables
Copy the env. template and follow the guidance below to fill in the environment variables.
env. template
#Deployment environment variables
# Video streaming
STREAM_TARGET_BITRATE=100
STREAM_FRAME_REFRESH_INTERVAL=30
STREAM_IDR_INTERVAL=30
# Cognite
COGNITE_CLIENT_ID=abc1234
COGNITE_CLIENT_SECRET=abc1234
COGNITE_TENANT_ID=abc1234
COGNITE_PROJECT=<project>
COGNITE_CLUSTER=<cluster>
# Boston dynamics
BOSDYN_HOSTNAME=192.168.50.3
BOSDYN_CLIENT_USERNAME =user
BOSDYN_CLIENT_PASSWORD=<password>
MISSION_PARSER_SERVICE_PORT=5533
DATA_UPLOAD_SERVICE_PORT=5534
SERVICE_HOST_IP=192.168.50.5
ROBOT_NAME="Spot Robot 1"
SPOT_DOCK_ID=520
ENABLE_ESTOP_HIJACK=False
# Video streaming
VIDEO_STREAM_ID=5
WEBRTC_JANUS_ADDRESS=<janus instance|EU,US>
WEBRTC_JANUS_ROOM=<janus room id>
WEBRTC_JANUS_FORWARD_VIDEO_PORT=<forward port>
WEBRTC_JANUS_FORWARD_SECRET=<room admin password>
WEBRTC_CONFIG="config" or "config-twilio"
Docker images
Parameter | Description |
---|---|
TAG | Enter the latest version of the device agent, for example, 0.5.0 . |
REPOSITORY | Enter cognite/ . |
Cognite
Parameter | Description |
---|---|
COGNITE_CLIENT_ID | Enter client ID. |
COGNITE_CLIENT_SECRET | Enter client secret. |
COGNITE_TENANT_ID | Enter |
COGNITE_PROJECT | Enter the name of the |
COGNITE_CLUSTER | Enter the name of the |
Boston Dynamics
Parameter | Description |
---|---|
BOSDYN_HOSTNAME | Enter the IP address of the robot found on the 192.168.50.3 . |
BOSDYN_CLIENT_USERNAME | Enter the Spot username, for example, user. |
BOSDYN_CLIENT_PASSWORD | Enter the Spot password. |
MISSION_PARSER_SERVICE_PORT | Leave the default value of 5533. |
DATA_UPLOAD_SERVICE_PORT | Leave the default value of 5534. |
SERVICE_HOST_IP | Enter the IP address of the |
SPOT_DOCK_ID | Enter the ID of the fiducial on the docking station, for example 520. If the robot has no docking station, remove this parameter. |
ENABLE_ESTOP_HIJACK | Allow the device agent to take control over the emergency stop from any other entity (tablet, other agents running on Spot). Default value is False . |
3D
Parameter | Description |
---|---|
DEFAULT_THREED_MODEL | Optional. Enter the name of the default 3D model. |
Video streaming
Parameter | Description |
---|---|
VIDEO_STREAM_ID | Enter the video stream ID. |
WEBRTC_VERSION_TAG | Enter the version of the video docker image. |
WEBRTC_ADDRESS | Enter the address to the instance. |
WEBRTC_ROOM | Enter the room ID. |
WEBRTC_FORWARD_VIDEO_PORT | Enter the video port. |
WEBRTC_FORWARD_SECRET | Enter the room admin password. |
Install Device Agent on Spot CORE I/O
Copy the .env
file to the Spot CORE I/O. Run the following command via the robot Ethernet or Wi-Fi:
scp -P 20022 ${path/to/.env} spot@${spots_ip}:~/
ssh -p 20022 spot@${spots_ip}
sudo mkdir -p /data/cognite/
sudo cp ~/.env /data/cognite/