-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release-ea2: 5fd7ed086de471571e4e221d048db069555e1f40
- Loading branch information
1 parent
f9c60a0
commit b5261b2
Showing
133 changed files
with
26,300 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# Ignore all pycache files | ||
**/__pycache__/** | ||
# Ignore ROS build files | ||
**/build/** | ||
**/install/** | ||
**/cc_internals/** | ||
**/log/** |
This file contains 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 |
---|---|---|
@@ -1,4 +1,60 @@ | ||
# Isaac ROS Common | ||
|
||
Isaac ROS common utilities for use in conjunction with the Isaac ROS suite of packages. | ||
Note: Please refer to `scripts/README.md` for script used to setup dev environment | ||
Isaac ROS common utilities and scripts for use in conjunction with the Isaac ROS suite of packages. | ||
|
||
## Docker Scripts | ||
`run_dev.sh` creates a dev environment with ROS2 installed and key versions of NVIDIA frameworks prepared for both x86_64 and Jetson. By default, the directory `/workspaces/isaac_ros-dev` in the container is mapped from `~/workspaces/isaac_ros-dev` on the host machine if it exists OR the current working directory from where the script was invoked otherwise. The host directory the container maps to can be explicitly set by running the script with the desired path as the first argument: | ||
``` | ||
scripts/run_dev.sh <path to workspace> | ||
``` | ||
|
||
## System Requirements | ||
This script is designed and tested to be compatible with ROS2 Foxy on Jetson hardware in addition to on x86 systems with an Nvidia GPU. | ||
|
||
### Jetson | ||
- AGX Xavier or Xavier NX | ||
- JetPack 4.6 | ||
|
||
### x86_64 | ||
- CUDA 11.1+ supported discrete GPU | ||
- VPI 1.1.11 | ||
- Ubuntu 20.04+ | ||
|
||
You must first install the [Nvidia Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) to make use of the Docker container development/runtime environment. | ||
|
||
Configure `nvidia-container-runtime` as the default runtime for Docker by editing `/etc/docker/daemon.json` to include the following: | ||
``` | ||
"runtimes": { | ||
"nvidia": { | ||
"path": "nvidia-container-runtime", | ||
"runtimeArgs": [] | ||
} | ||
}, | ||
"default-runtime": "nvidia" | ||
``` | ||
and then restarting Docker: `sudo systemctl daemon-reload && sudo systemctl restart docker` | ||
|
||
**Note:** For best performance on Jetson, ensure that power settings are configured appropriately ([Power Management for Jetson](https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/power_management_jetson_xavier.html#wwpID0EUHA)). | ||
|
||
## Troubleshooting | ||
### `run_dev.sh` on x86 fails with `vpi-lib-1.1.11-cuda11-x86_64-linux.deb` is not a Debian format archive | ||
When building a Docker image, `run_dev.sh` may fail because some files seem to be invalid. Debian packages for VPI on x86 are packaged in Isaac ROS using `git-lfs`. These files need to be fetched in order to install VPI in the Docker image. | ||
|
||
#### Symptoms | ||
``` | ||
dpkg-deb: error: 'vpi-lib-1.1.11-cuda11-x86_64-linux.deb' is not a Debian format archive | ||
dpkg: error processing archive vpi-lib-1.1.11-cuda11-x86_64-linux.deb (--install): | ||
dpkg-deb --control subprocess returned error exit status 2 | ||
Errors were encountered while processing: | ||
vpi-lib-1.1.11-cuda11-x86_64-linux.deb | ||
``` | ||
#### Solution | ||
Run `git lfs pull` in each Isaac ROS repository you have checked out, especially `isaac_ros_common`, to ensure all of the large binary files have been downloaded. | ||
|
||
|
||
# Updates | ||
|
||
| Date | Changes | | ||
| -----| ------- | | ||
| 2021-10-20 | Migrated to [NVIDIA-ISAAC-ROS](https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common), added `isaac_ros_nvengine` and `isaac_ros_nvengine_interfaces` packages | | ||
| 2021-08-11 | Initial release to [NVIDIA-AI-IOT](https://github.com/NVIDIA-AI-IOT/isaac_ros_common) | |
This file contains 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 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
Git LFS file not shown
This file contains 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
Oops, something went wrong.