{"repo":"ros-tracing/tracetools_analysis","free":true,"listed":false,"github":"https://github.com/ros-tracing/tracetools_analysis","clone":"git clone https://github.com/ros-tracing/tracetools_analysis.git","description":"Utilities for analyzing trace data from ROS 2 systems generated by the ros2_tracing packages.","language":"Python","stars":30,"topics":["ros","ros2","tracing","ros2-tracing","trace-analysis","tracetools-analysis"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"tracetools analysis Analysis tools for ros2 tracing . Note : make sure to use the right branch, depending on the ROS 2 distro: use rolling for Rolling, humble for Humble, etc. Trace analysis After generating a trace (see ros2 tracing ), we can analyze it to extract useful execution data. Commands Then we can process a trace to create a data model which could be queried for analysis. Note that this simply outputs lightly-processed ROS 2 trace data which is split into a number of pandas DataFrame s. This can be used to quickly check the trace data. For real data processing/trace analysis, see Analysis . Since CTF traces (the output format of the LTTng tracer) are very slow to read, the trace is first converted into a single file which can be read much faster and can be re-used to run many analyses. This is done automatically, but if the trace changed after the file was generated, it can be re-generated using the --force-conversion option. Run with --help to see all options. Analysis The command above will process and output raw data models. We need to actually analyze the data and display some results. We recommend doing this in a Jupyter Notebook, but you can do this in a normal Python file. Navigate to the analysis/ directory, and select one of the provided notebooks, or create your own! For example: Note: bokeh has to be installed manually, e.g., with pip : Design See the ros2 tracing design document, especially the Goals and requirements and Analysis sections. Packages ros2","default_branch":null,"files":null,"tree":[],"storefront":"/r/ros-tracing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ros-tracing/tracetools_analysis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}