-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from NVIDIA-ISAAC-ROS/release-dp-2
Isaac ROS 0.20.0 (DP2)
- Loading branch information
Showing
21 changed files
with
582 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Isaac ROS Contribution Rules | ||
|
||
Any contribution that you make to this repository will | ||
be under the Apache 2 License, as dictated by that | ||
[license](http://www.apache.org/licenses/LICENSE-2.0.html): | ||
|
||
> **5. Submission of Contributions.** Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. | ||
Contributors must sign-off each commit by adding a `Signed-off-by: ...` | ||
line to commit messages to certify that they have the right to submit | ||
the code they are contributing to the project according to the | ||
[Developer Certificate of Origin (DCO)](https://developercertificate.org/). | ||
|
||
[//]: # (202201002) |
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,35 +1,61 @@ | ||
# Tutorial with Isaac Sim | ||
# Tutorial for AprilTag Detection with Isaac Sim | ||
|
||
<div align="center"><img src="../resources/Rviz_apriltag_output.png" width="800px"/></div> | ||
|
||
## Overview | ||
|
||
This tutorial walks you through a pipeline to estimate the 6DOF pose of [AprilTags](https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_apriltag) using images from Isaac Sim. | ||
|
||
## Tutorial Walkthrough | ||
|
||
1. Complete the [Quickstart section](../README.md#quickstart) in the main README. | ||
2. Launch the Docker container using the `run_dev.sh` script: | ||
|
||
```bash | ||
cd ~/workspaces/isaac_ros-dev/src/isaac_ros_common && \ | ||
./scripts/run_dev.sh | ||
``` | ||
|
||
3. Inside the container, build and source the workspace: | ||
|
||
```bash | ||
cd /workspaces/isaac_ros-dev && \ | ||
colcon build --symlink-install && \ | ||
source install/setup.bash | ||
``` | ||
4. Launch the pre-composed pipeline launchfile: | ||
```bash | ||
|
||
4. Launch the pre-composed pipeline launchfile: | ||
|
||
```bash | ||
ros2 launch isaac_ros_apriltag isaac_ros_apriltag_isaac_sim_pipeline.launch.py | ||
``` | ||
|
||
5. Install and launch Isaac Sim following the steps in the [Isaac ROS Isaac Sim Setup Guide](https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common/blob/main/docs/isaac-sim-sil-setup.md) | ||
6. Open up the Isaac ROS Common USD scene (using the "content" window) located at: | ||
|
||
`omniverse://localhost/NVIDIA/Assets/Isaac/2022.1/Isaac/Samples/ROS2/Scenario/carter_warehouse_apriltags_worker.usd` | ||
|
||
Wait for it to load completely. | ||
> **Note:** To use a different server, replace `localhost` with `<your_nucleus_server>` | ||
7. Press **Play** to start publishing data from Isaac Sim. | ||
<div align="center"><img src="../resources/Isaac_sim_april_tag.png" width="800px"/></div> | ||
|
||
7. In a separate terminal, run RViz to visualize the AprilTag detections:<br> | ||
`rviz2` | ||
8. Add the tf tree in the **Displays** RViz panel. <br> <div align="center"><img src="../resources/Rviz_add_tf.png" width="600px"/></div> | ||
9. Set the **Fixed frame** in the **Global Options** to `chassis_link`. <br> <div align="center"><img src="../resources/Rviz_fixed_frame.png" width="300px"/></div> | ||
10. You should see the pose of the tags in RVIZ: <br> <div align="center"><img src="../resources/Rviz_apriltag_output.png" width="800px"/></div> | ||
11. If you prefer to observe the AprilTag output in text form, echo the contents of the `/tag_detections` topic with the following command in a separate terminal: | ||
`ros2 topic echo /tag_detections` <br> <div align="center"><img src="../resources/Terminal_output.png" width="600px"/></div> | ||
<div align="center"><img src="../resources/Isaac_sim_april_tag.png" width="800px"/></div> | ||
|
||
8. In a separate terminal, run RViz to visualize the AprilTag detections: | ||
|
||
```bash | ||
rviz2 | ||
``` | ||
|
||
9. Add the tf tree in the **Displays** RViz panel. | ||
<div align="center"><img src="../resources/Rviz_add_tf.png" width="600px"/></div> | ||
10. Set the **Fixed frame** in the **Global Options** to `chassis_link`. | ||
<div align="center"><img src="../resources/Rviz_fixed_frame.png" width="300px"/></div> | ||
11. You should see the pose of the tags in RVIZ: | ||
<div align="center"><img src="../resources/Rviz_apriltag_output.png" width="800px"/></div> | ||
12. If you prefer to observe the AprilTag output in text form, echo the contents of the `/tag_detections` topic with the following command in a separate terminal: | ||
|
||
```bash | ||
ros2 topic echo /tag_detections | ||
``` | ||
|
||
<div align="center"><img src="../resources/Terminal_output.png" width="600px"/></div> |
Oops, something went wrong.