* Delete superfluous/erroneous/misleading comment
Signed-off-by: Erik Boasson <eb@ilities.com>
* Check for matched endpoints in server_is_available
Signed-off-by: Erik Boasson <eb@ilities.com>
* Initialize participant on first use. Destroy participant after last node is destroyed
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Please linters
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Solve problems with guard conditions
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Address peer review comments
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Address peer review comments
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Used DDS_CYCLONEDDS_HANDLE to create all guard conditions
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Increase ref count always
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Add support for taking a sequence of messages
Signed-off-by: Michael Carroll <michael@openrobotics.org>
* Reorder valid messages to front of sequence
Signed-off-by: Michael Carroll <michael@openrobotics.org>
* Initialize taken value
Signed-off-by: Michael Carroll <michael@openrobotics.org>
* implement with_info version of take
Signed-off-by: Luetkebohle Ingo (CR/AEX3) <ingo.luetkebohle@de.bosch.com>
* Fix function names and signatures.
Signed-off-by: Luetkebohle Ingo (CR/AEX3) <ingo.luetkebohle@de.bosch.com>
* Return 0 on received for responses as well
Signed-off-by: Luetkebohle Ingo (CR/AEX3) <ingo.luetkebohle@de.bosch.com>
* Fill in message_info timestamps
Signed-off-by: Luetkebohle Ingo (CR/AEX3) <ingo.luetkebohle@de.bosch.com>
* Report error when timestamp cannot be obtained.
Signed-off-by: Luetkebohle Ingo (CR/AEX3) <ingo.luetkebohle@de.bosch.com>
* return 0 for received timestamp to signify lack of support
Signed-off-by: Luetkebohle Ingo (CR/AEX3) <ingo.luetkebohle@de.bosch.com>
Delete cyclonedds_cmake_module package and remove dependencies on it.
This is not needed, since Eclipse Cyclone DDS already provides a package configuration file (CycloneDDSConfig.cmake)
Properly handle downstream effects of ROS_SECURITY_STRATEGY and ROS_SECURITY_ENABLE environment variables through security_options. Improve memory management and make sure to only set security qos properties when all files are sure to exist.
Add in conditional compile based on ENABLE_SECURITY make flag
and Cyclone DDS feature availability. Also addressed review
comments.
Signed-off-by: Sid Faber <sid.faber@canonical.com>
Add utility function to insert security settings to the cyclone QOS
object used to create nodes. Include a utility to find security
files and properly format their location to use with DDS.
Signed-off-by: Sid Faber <sid.faber@canonical.com>
Since m_get_const_function calls `std::vector<T>::operator[]`, accessing the zeroth element causes undefined behavior. Instead, return a null pointer to make the function behave sanely when vector is empty.
Fix#120
The security specification has a mode in which keyhashes containing the
MD5 of the key value are required on the wire, and this requires some
small changes to the topic interface. Currently, these changes reside
only on the security branch of Cyclone DDS.
The changes use conditional compilation to handle both the master branch
of Cyclone and the security branch to minimise version dependencies.
Signed-off-by: Erik Boasson <eb@ilities.com>
Use the function dds_create_topic_generic for creating topic, so that
the sertopic that is actually used is referenced in the publisher.
Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>