... | ... | @@ -36,7 +36,7 @@ ros2 run air_tst tst_editor |
|
|
You can open a specific file by giving it as an argument, for instance, the following will allow you to open the `explore_record.json` tst:
|
|
|
|
|
|
```
|
|
|
tdde05-cd air_tsts tsts
|
|
|
tdde05-cd air_tst tsts
|
|
|
ros2 run air_tst tst_editor explore_record_semantic.json
|
|
|
```
|
|
|
|
... | ... | @@ -174,9 +174,9 @@ You should follow an incremental approach: |
|
|
* Once you have modified it, you can test your calling your service with:
|
|
|
|
|
|
```bash
|
|
|
ros2 service call /execute_tst air_lab_interfaces/srv/ExecuteTst "tst_file: '`ros2 pkg prefix air_tsts`/share/air_tsts/tsts/undock.json'"
|
|
|
ros2 service call /execute_tst air_lab_interfaces/srv/ExecuteTst "tst_file: '`ros2 pkg prefix air_tst`/share/air_tst/tsts/undock.json'"
|
|
|
```
|
|
|
Note that we use *\`ros2 pkg prefix air_tsts\`* which will be replaced by the full path to the directory where the tsts are installed on the system.
|
|
|
Note that we use *\`ros2 pkg prefix air_tst\`* which will be replaced by the full path to the directory where the tsts are installed on the system.
|
|
|
* Don't forget to run `tst_executor` and to start it from your screen file.
|
|
|
|
|
|
## Initialise TstML and a load a TstML file
|
... | ... | @@ -566,7 +566,7 @@ Do not forget to add the `UndockExecutor` to the executor registry, like it was |
|
|
You should now start your `tst_executor` node, and we can use a service call to execute our first TST:
|
|
|
|
|
|
```bash
|
|
|
ros2 service call /execute_tst air_lab_interfaces/srv/ExecuteTst "tst_file: '`ros2 pkg prefix air_tsts`/share/air_tsts/tsts/undock.json'"
|
|
|
ros2 service call /execute_tst air_lab_interfaces/srv/ExecuteTst "tst_file: '`ros2 pkg prefix air_tst`/share/air_tst/tsts/undock.json'"
|
|
|
```
|
|
|
|
|
|
You should see your robot undocking.
|
... | ... | @@ -638,7 +638,7 @@ Note that the ```execute_tst``` call is not reentrant, and should not be added t |
|
|
We provide some test cases:
|
|
|
|
|
|
```bash
|
|
|
roscd air_tsts/tsts
|
|
|
roscd air_tst/tsts
|
|
|
```
|
|
|
|
|
|
* `undock.json`: undock
|
... | ... | |