... | @@ -173,7 +173,7 @@ You should start by reading and understanding the official tutorials for [Python |
... | @@ -173,7 +173,7 @@ You should start by reading and understanding the official tutorials for [Python |
|
|
|
|
|
You should follow an incremental approach:
|
|
You should follow an incremental approach:
|
|
|
|
|
|
* Copy/paste the service server example from the respective tutorials into your `lab3_node.py` or `lab3_node.cpp`. *We do not need a client, in this lab, we will use the command line to call the service*.
|
|
* Copy/paste the service server example from the respective tutorials into your `tst_executor.py` or `tst_executor.cpp`. *We do not need a client, in this lab, we will use the command line to call the service*.
|
|
* Make sure you understand what is happening, if you have doubts, ask questions to your lab assistant.
|
|
* Make sure you understand what is happening, if you have doubts, ask questions to your lab assistant.
|
|
* You won't be able to run the tutorial. So you can start modifying to replace the service call with `execute_tst` and the type `air_lab_interfaces/srv/ExecuteTst`.
|
|
* You won't be able to run the tutorial. So you can start modifying to replace the service call with `execute_tst` and the type `air_lab_interfaces/srv/ExecuteTst`.
|
|
* Once you have modified it, you can test your calling your service with:
|
|
* Once you have modified it, you can test your calling your service with:
|
... | | ... | |