Skip to content

Commit

Permalink
Aj/small updates (#38)
Browse files Browse the repository at this point in the history
* add nucleus token; add ROS localhost only so don't interfere other desktops

* Update nucleus server to new airlab one

* Construction usd updates with sensors
  • Loading branch information
andrewjong authored Sep 16, 2024
1 parent d241c2a commit 9afd806
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion docker/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,12 @@ function cws(){
fi
}

sws
sws # source the workspace by default

# for local development, prevent conflict with other desktops
export ROS_LOCALHOST_ONLY=1

# omniverse
export OMNI_USER='$omni-api-token'
export OMNI_PASS=$(cat ~/AirStack/developer/nucleus_token.txt)

3 changes: 0 additions & 3 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ services:
- ACCEPT_EULA=Y
- DISPLAY
- QT_X11_NO_MITSHM=1
# Omniverse Nucleus stuff
# - OMNI_USER="$$omni-api-token" # need a double dollar sign here so docker compose doesn't try to interpret it https://stackoverflow.com/a/40621373
# - OMNI_PASS=$(cat ./../nucleus_token.txt) # this didn't work, used ~/.bashrc instead. echo 'export OMNI_PASS=$(cat ~/AirStack/nucleus_token.txt)' >> ~/.bashrc
deploy:
resources:
reservations:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docker/extras/.thumbs/256x256/spirit_drone.usd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docker/extras/construction.usd
Binary file not shown.
Binary file modified docker/extras/spirit_drone.usd
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/user_guide/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ wget https://install.launcher.omniverse.nvidia.com/installers/omniverse-launcher

Follow these instructions to setup Nucleus : https://airlab.slite.com/app/docs/X8dZ8w5S3GP9tw

Follow these instructions to create a nucleus token: https://docs.omniverse.nvidia.com/nucleus/latest/config-and-info/api_tokens.html
Create a file `AirStack/developer/nucleus_token.txt` and paste in your token.

### SITL
If you are using the Ascent Spirit drone download the SITL software packages from this link:
https://drive.google.com/file/d/1UxgezaTrHe4WJ28zsVeRhv1VYfOU5VK8/view?usp=drive_link
Expand Down

0 comments on commit 9afd806

Please sign in to comment.