... | ... | @@ -110,13 +110,7 @@ cd ~/TDDE05/ros2_ws/src/labs |
|
|
ros2 pkg create --build-type ament_cmake --node-name lab2_node air_lab2
|
|
|
```
|
|
|
|
|
|
You should go to the top directory in your environment and run the build command:
|
|
|
|
|
|
```bash
|
|
|
cd ~/TDDE05/ros2_ws/
|
|
|
colcon build
|
|
|
```
|
|
|
Alternatively, from any directory you can build using:
|
|
|
You can now run the build command:
|
|
|
|
|
|
```bash
|
|
|
tdde05-build
|
... | ... | @@ -125,7 +119,7 @@ tdde05-build |
|
|
Then, you need to source the environment with:
|
|
|
|
|
|
```bash
|
|
|
source install/local_setup.bash
|
|
|
source $HOME/TDDE05/ros2_ws/install/local_setup.bash
|
|
|
```
|
|
|
|
|
|
or run:
|
... | ... | |