[ros-users] [Discourse.ros.org] [Next Generation ROS] Latency and throughput in ROS2
Loïc Dauphin
ros.discourse at gmail.com
Thu Jun 21 09:14:24 UTC 2018
I didn't do anything complex, but since it is an invasive way of measuring, I don't know if it is easy to integrate into the performance_test. [I only printed events with their timestamp on stdio](https://github.com/astralien3000/rmw_fastrtps/blob/phd_meas_latency/rmw_fastrtps_cpp/src/rmw_publish.cpp#L53), and then post processed with a python script. It is not very precise, but since I don't want the real latency (only being able to compare the two implementations), it is ok for me. To avoid the print extra cost during the experiment, you can register the events+timestamp in a (pre-allocated) table, and print everything at the end.
---
[Visit Topic](https://discourse.ros.org/t/latency-and-throughput-in-ros2/4367/9) or reply to this email to respond.
More information about the ros-users
mailing list