Skip to content

Commit 155f80b

Browse files
committed
add create package stuff
1 parent f5fb02d commit 155f80b

File tree

4 files changed

+422
-42
lines changed

4 files changed

+422
-42
lines changed

snake_tutorial/docs/01_running-the-example.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,38 +40,38 @@ game. We will start by running the `snakesim` package to see what we will
4040
be controlling. Run the following commands to open our 'dockerized'
4141
environment:
4242

43-
```
43+
```bash
4444
./src/arc_tutorials/docker/docker-build.sh
4545
```
4646
then
47-
```
47+
```bash
4848
./src/arc_tutorials/docker/docker-run.sh
4949
```
5050

5151
You should now be running a shell within our ARC development container. To
5252
verify that your workspace is correct, run:
5353

54-
```
54+
```bash
5555
ls catkin_ws
5656
```
5757
If everything is correct, you should simply see a `src/` folder. Let's now
5858
move into our workspace by running:
5959

60-
```
60+
```bash
6161
cd catkin_ws
6262
```
6363

6464
Now we need to build our workspace, which will setup our environment
6565
to run packages. This will all be explained in the next section, so hang
6666
in there. We do this with the command:
6767

68-
```
68+
```bash
6969
catkin build
7070
```
7171

7272
Now if we print our directory contents again:
7373

74-
```
74+
```bash
7575
ls
7676
```
7777

@@ -81,7 +81,7 @@ also important for configuring our environment.
8181
Again this will be covered in the next section, so just run these
8282
commands and it will make sense soon.
8383

84-
```
84+
```bash
8585
source devel/setup.bash
8686
```
8787

@@ -90,7 +90,7 @@ packages we have stored.
9090

9191
Lets start by moving into our package directory:
9292

93-
```
93+
```bash
9494
cd src/arc_tutorials
9595
```
9696

@@ -109,7 +109,7 @@ don't have to do it manually.
109109

110110
To run the launch file:
111111

112-
```
112+
```bash
113113
roslaunch snakesim snakesim.launch
114114
```
115115

@@ -140,7 +140,7 @@ example to see what we are building towards.
140140

141141
Again we will use a launch file:
142142

143-
```
143+
```bash
144144
roslaunch snake_tutorial snake.launch
145145
```
146146

0 commit comments

Comments
 (0)