Skip to content

Commit 07add59

Browse files
committed
combined dave_robot_launch package with dave_demos package for consistency
1 parent 40cd903 commit 07add59

File tree

5 files changed

+38
-60
lines changed

5 files changed

+38
-60
lines changed

examples/dave_demos/README.md

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Examples
1+
# Examples
22

3-
### 1. Launching a Dave Object Model using Fuel URI
3+
## Launching a Dave Object Model using Fuel URI
44

55
To launch a Dave model directly from a Fuel URI, follow these steps:
66

@@ -18,7 +18,7 @@ To launch a Dave model directly from a Fuel URI, follow these steps:
1818

1919
This method simplifies the process by pulling the model directly from Fuel, ensuring you always have the latest version without needing to manage local files.
2020

21-
### 2. Launching a Dave Sensor Model using Downloaded Model Files
21+
## Launching a Dave Sensor Model using Downloaded Model Files
2222

2323
If you prefer to use model files downloaded from Fuel, proceed as follows:
2424

@@ -52,7 +52,39 @@ If you prefer to use model files downloaded from Fuel, proceed as follows:
5252

5353
This approach gives you more control over the models you use, allowing for offline use and customization. It's especially useful when working in environments with limited internet connectivity or when specific model versions are required.
5454

55-
### 3. Launching a World File
55+
## Launching a Dave Robot Model
56+
57+
Before launching, ensure to build and source the workspace:
58+
59+
```bash
60+
colcon build && source install/setup.bash
61+
```
62+
63+
1. Launching REXROV in an empty world:
64+
65+
```bash
66+
ros2 launch dave_demos dave_robot.launch.py z:=2.0 namespace:=rexrov world_name:=empty.sdf paused:=false
67+
```
68+
69+
2. Launching REXROV in dave_ocean_waves.world:
70+
71+
```bash
72+
ros2 launch dave_demos dave_robot.launch.py z:=-5 namespace:=rexrov world_name:=dave_ocean_waves paused:=false
73+
```
74+
75+
3. Launching Slocum Glider in an empty world:
76+
77+
```bash
78+
ros2 launch dave_demos dave_robot.launch.py z:=0.2 namespace:=glider_slocum world_name:=empty.sdf paused:=false
79+
```
80+
81+
4. Launching Slocum Glider in dave_ocean_waves.world:
82+
83+
```bash
84+
ros2 launch dave_demos dave_robot.launch.py x:=4 z:=-1.5 namespace:=glider_slocum world_name:=dave_ocean_waves paused:=false
85+
```
86+
87+
## Launching a World File
5688

5789
To launch a specific world file, you can specify the world name without the `.world` extension. Follow these steps:
5890

@@ -62,14 +94,14 @@ To launch a specific world file, you can specify the world name without the `.wo
6294
colcon build && source install/setup.bash
6395
```
6496

65-
1. Launch the world using the specified launch file
97+
2. Launch the world using the specified launch file
6698

6799
```bash
68100
ros2 launch dave_demos dave_world.launch.py world_name:='dave_ocean_waves'
69101
```
70102

71103
To check which worlds are available to launch, refer to `models/dave_worlds/worlds` directory.
72104

73-
The worlds files are linked to use models at https://app.gazebosim.org/ which means you need an internet connection to download the models and it takes some time to download at first launch. The files are saved in temporary directories and are reused in subsequent launches.
105+
The world files are linked to use models at https://app.gazebosim.org/ which means you need an internet connection to download the models and it takes some time to download at first launch. The files are saved in temporary directories and are reused in subsequent launches.
74106

75107
In this setup, you can dynamically specify different world files by changing the `world_name` argument in the launch command.

examples/dave_robot_launch/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/dave_robot_launch/README.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

examples/dave_robot_launch/package.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)