Skip to content

Commit

Permalink
add instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adeeb10abbas committed Aug 7, 2023
1 parent ebbacd4 commit 33253cc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
7 changes: 6 additions & 1 deletion drake_ros_examples/examples/hydroelastic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ bazel run @ros2//:rviz2 -- -d `pwd`/examples/hydroelastic/hydroelastic.rviz
# Using Colcon/CMake
rviz2 -d `ros2 pkg prefix --share drake_ros_examples`/hydroelastic/hydroelastic.rviz
```
Or use ROS2 Launch:
```sh
# Using ROS2 Launch (C++)
ros2 launch drake_ros_examples hydroelastic_cc_launch.py
```

You can optionall enable visualizng the simulation with Meshcat.
You can optionally enable visualizng the simulation with Meshcat.

```bash
# Using bazel
Expand Down
8 changes: 7 additions & 1 deletion drake_ros_examples/examples/iiwa_manipulator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ bazel run //examples/iiwa_manipulator:iiwa_manipulator
# Python
bazel run //examples/iiwa_manipulator:iiwa_manipulator_py
```

Or
```sh
# Using ROS2 Launch
ros2 launch drake_ros_examples iiwa_manipulator_py_launch.py
# or
ros2 launch drake_ros_examples iiwa_manipulator_cc_launch.py
```
You should see the manipulation station with simple sinusoidal motion.

**Note***: If you restart the simulation but not RViz, you should click RViz's
Expand Down
7 changes: 7 additions & 0 deletions drake_ros_examples/examples/multirobot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ bazel run //examples/multirobot:multirobot
# Python
bazel run //examples/multirobot:multirobot_py
```
Or use ROS2 Launch:
```sh
# Using ROS2 Launch (C++)
ros2 launch drake_ros_examples multirobot_py_launch.py
# or (Python)
ros2 launch drake_ros_examples multirobot_cc_launch.py
```

You should observe a 5 x 5 array of manipulators flopping about under the influence of gravity.

Expand Down

0 comments on commit 33253cc

Please sign in to comment.