Skip to content

Commit

Permalink
Add docs for services examples (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Antonio Moral <joseantoniomoralparras@gmail.com>
  • Loading branch information
jamoralp authored May 20, 2021
1 parent 0791ca1 commit 37c4390
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,24 @@ The configuration file used by *Integration Service* for this example can be fou
For a detailed step by step guide on how to build and test this example, please refer to the
[dedicated section](https://integration-service.docs.eprosima.com/en/latest/examples/different_protocols/pubsub/ros1-ros2.html) in the official documentation.

<!-- TODO: add YAML and applications for DDS and ROS2 to test this
### ROS 1 service server addressing petitions coming from a ROS 2 service client

The configuration file for this example can be found
[here](TODO).
<a href="https://integration-service.docs.eprosima.com/en/latest/examples/different_protocols/services/ros1-server.html"><img align="left" width="15" height="38" src="https://via.placeholder.com/15/40c15d/000000?text=+" alt="Green icon"></a>

Below, a high level diagram is presented, showing which entities will *Integration Service* create
to forward the petitions requested from a ROS 2 client application to a ROS 1 service server application,
which will process them and produce a reply message which will be transmited back to the DDS client:
### ROS 1 service server

![ROS1_server_and_ROS2_client](TODO)
In this example, the *ROS 1 System Handle* tackles the task of bridging a ROS 1 server with one or more client applications,
playing the role of a service server capable of processing incoming requests from several middlewares (*DDS*, *ROS2*,
*WebSocket*) and producing an appropriate answer for them.

<p align="center">
<a href="https://integration-service.docs.eprosima.com/en/latest/examples/different_protocols/services/ros1-server.html"><img src="docs/images/ros1_services_example.png" width="550"></a>
</p>

The configuration file used by *Integration Service* for this example can be found
[here](https://github.com/eProsima/Integration-Service/blob/main/examples/basic/ros1_server__addtwoints.yaml).

For a detailed step by step guide on how to build and test this example, please refer to the
[official documentation](TODO: link).
-->
[dedicated section](https://integration-service.docs.eprosima.com/en/latest/examples/different_protocols/services/ros1-server.html) in the official documentation.
## Compilation flags

Besides the [global compilation flags](https://integration-service.docs.eprosima.com/en/latest/installation_manual/installation.html#global-compilation-flags) available for the
Expand Down Expand Up @@ -169,9 +172,14 @@ whole *Integration Service* product suite, there are some specific flags which a
~/is_ws$ colcon build --cmake-args -DMIX_ROS_PACKAGES="std_msgs geometry_msgs" -DMIX_ROS1_PACKAGES="dummy_msgs"
```

<!-- TODO: complete when it is uploaded to read the docs
## API Reference
-->
## Documentation

The official documentation for the *ROS 1 System Handle* is included within the official *Integration Service*
documentation, hosted by [Read the Docs](https://integration-service.docs.eprosima.com/), and comprises the following sections:

* [Installation Manual](https://integration-service.docs.eprosima.com/en/latest/installation_manual/installation_manual.html)
* [User Manual](https://integration-service.docs.eprosima.com/en/latest/user_manual/systemhandle/ros1_sh.html)
* [API Reference](https://integration-service.docs.eprosima.com/en/latest/api_reference/ros1_sh/api_is_ros1_sh.html)

## License

Expand Down
Binary file added docs/images/ros1_services_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 37c4390

Please sign in to comment.