Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests to cover message's send and received timestamps during…
… recording (#1641) (#1673) * Workaround for zeros in a message's received timestamp with CycloneDDS - CycloneDDS doesn't support 'received_timestamps' and settling up zeros in message_info for that field. - Fallback to the timestamp from node clock in case of the CycloneDDS. Signed-off-by: Michael Orlov <[email protected]> * Fix typo in rmw_has_received_timestamp_support Signed-off-by: Michael Orlov <[email protected]> * Add one more check in tests that "recv_timestamp >= send_timestamp" - Also fixed typo in 'rwm_has_send_timestamp_support' in test Signed-off-by: Michael Orlov <[email protected]> * Revert workaround for `rmw_cyclonedds` in recorder.cpp - The fix will be done on the `rmw_cyclonedds` layer in the scope of the ros2/rmw_cyclonedds#491 Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit b7d9b5b) Co-authored-by: Michael Orlov <[email protected]>
- Loading branch information