Depends on ros2_tracing!101 (merged)
Closes #10 (closed)
- Display progress percentage when processing. It works really well and provides some feedback, which is good to have when processing big traces.
- Remove references to "pickle file", and instead use the term "output file" or "converted file."
READMEby describing how to analyze a trace step by step and providing a quick Python example.
- Display time differences (total time when running commands) depending on the value (e.g. 400 ms vs. 6 s vs. 3 m 10 s).
convertoptionally take an output file name (to be created under the given trace directory) instead of a full path (default output file name is "converted" but we can change that of course).
- Provide a
ros2 trace-analysiscommand with
processverbs (as a more generic interface).
Using the commands:
convertstep optional by having the
processcommand check if the given path is a file. If it is, it tries to import it just like before. If it is a directory, it checks if there is a "converted" file directly inside it, otherwise it tries to import the path as a trace directory. If that fails, it gives an error message. Thus you can provide
processwith a path to:
- a trace directory, or
- a converted file
- Provide a
processto re-convert a trace even if a converted file is found.