... | ... | @@ -150,7 +150,7 @@ ros2 interface show air_lab_interfaces/srv/ExecuteTst |
|
|
|
|
|
This lab can be completed using **Python** or **C++**. Follows the instruction corresponding to your choice of programming language.
|
|
|
|
|
|
You will need to create a package for `air_lab3`, in your `ros2_ws/src/air_labs` directory, with dependencies on a few packages. For python:
|
|
|
You will need to create a package for `air_lab3`, in your `ros2_ws/src/labs` directory, with dependencies on a few packages. For python:
|
|
|
|
|
|
```bash
|
|
|
ros2 pkg create air_lab3 --build-type ament_python --dependencies rclpy air_lab_interfaces --node-name tst_executor
|
... | ... | @@ -183,7 +183,7 @@ Note that we use *\`ros2 pkg prefix air_tst\`* which will be replaced by the ful |
|
|
|
|
|
## Initialise TstML and a load a TstML file
|
|
|
|
|
|
First we need to load the Tst definitions in a `TSTNodeModelsRegistry`.
|
|
|
First we need to load the Tst definitions in a `TSTNodeModelsRegistry`. `TSTNodeModelsRegistry` is a class from the TstML library, which we are using to implement this lab.
|
|
|
|
|
|
### Python
|
|
|
|
... | ... | |