Variants¶
Implemented the RoundTrip (RT_001) Demonstrator in python; using the CycloneDDS stack and the “asis” “atolab” python binding. |
Implemented the RoundTrip (RT_001) Demonstrator in C++; using the CycloneDDS stack. |
Implemented the RoundTrip (RT_001) Demonstrator in plan-old-C; using the CycloneDDS stack. |
Implemented the Flood (F_001) Demonstrator in python; using the CycloneDDS stack and the “asis” “atolab” python binding. |
Implemented the Flood (F_001) Demonstrator in C++; using the CycloneDDS stack. |
Implemented the Flood (F_001) Demonstrator in plan-old-C; using the CycloneDDS stack. |
Notes¶
The “atolab” python-binding do work for the RoundTrip (RT_001) and Flood (F_001) Demonstrators; but there are some know issues. It looks like this library is kind of PoC:
- Python-objects are (typically) serialised into json and transfers as strings. This works for python-to-python, but not with other languages. It also not according to the “wire specifications”
- This Python-API does not expose the full (C/Conceptual) API. More advantage DDS-features are impossible.
- The Python interface is not very pythonic
- Note: There is not official pythonic-API.
For the basic-Demonstrator this is not an issue. For the long run, a better, completer and more pythonic-API would be welcome. Then the new (official) Java- and C++ style interfaces are a better start. Its is future work.
Links¶
- CycloneDDS sources are on github: https://github.com/eclipse/cyclonedds
- The atolab-python binding https://github.com/atolab/python-cdds>