Convert rosbag2 to csv file. Add all of ROS2 executables and libraries to your path and library path before using this tool like;
source install/setup.bash
python3 rosbag2_diag.py <rosbag file location>
-
CSV with extracted
/diagnostics
and/system/emergency/hazard_status
from rosbag(s). -
CSV with extracted interval statistics of
/diagnostics
from rosbag(s).
ex.)
python3 rosbag2_diag.py <rosbag file location> cpu