... | ... | @@ -173,7 +173,7 @@ For now we have hard coded parameters, such as the velocity and the distance. To |
|
|
So that we can run our program this way:
|
|
|
|
|
|
```bash
|
|
|
ros2 run lab2 lab2_node --ros-args -p linear:=0.5 -p angular:=0.1 -p distance:=0.4
|
|
|
ros2 run air_lab2 lab2_node --ros-args -p linear:=0.5 -p angular:=0.1 -p distance:=0.4
|
|
|
```
|
|
|
|
|
|
Before starting, you should study the [official python tutorial](https://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Using-Parameters-In-A-Class-Python.html) or the [official C++ tutorial](https://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Using-Parameters-In-A-Class-CPP.html).
|
... | ... | |