rmw_cyclonedds/rmw_cyclonedds_cpp
Erik Boasson 870854b7ba Fix return of rmw_wait
Misuse of std::vector resize as if it would leave any reserved entries
unchanged caused a misinterpretation of entries whenever the number of
triggering entities was larger than the number of triggering entities in
the preceding call to rmw_wait: these would all be mapped to the first
entity in the set.

If the waitset is reused from call to call and spurious events are
handled gracefully, this is recoverable; otherwise, no such luck.

Moreover, not accounting for a sentinel entry added to the list of
triggered entities means it would never return RMW_RET_TIMEOUT.

Signed-off-by: Erik Boasson <eb@ilities.com>
2019-06-20 19:53:13 +08:00
..
include/rmw_cyclonedds_cpp Specialize deserializer for strings (#3) 2019-06-07 11:21:22 +02:00
src Fix return of rmw_wait 2019-06-20 19:53:13 +08:00
CMakeLists.txt update for Cyclone DDS changes and ROS2 changes 2019-04-29 10:08:59 +02:00
package.xml replace FastCDR and serialise straight into a serdata to avoid an extra copy 2018-07-19 16:37:12 +02:00
rmw_cyclonedds_cpp-extras.cmake replace FastCDR and serialise straight into a serdata to avoid an extra copy 2018-07-19 16:37:12 +02:00