ros-tracing / tracetools_analysis Goto Github PK
View Code? Open in Web Editor NEWUtilities for analyzing trace data from ROS 2 systems generated by the ros2_tracing packages.
License: Apache License 2.0
Utilities for analyzing trace data from ROS 2 systems generated by the ros2_tracing packages.
License: Apache License 2.0
On Gitlab Humble is still available but not here
Using Bokeh 3.2.0 and python 3.10 on Ubuntu 22.04, the following error is seen in cell 6:
AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width
Similar errors are given for plot_height. And DatetimeTickFormatter objects no longer accept lists of formatting strings as of Bokeh 3.0
When trying the jupyter notebook example from the README.md I get the following error:
RequiredEventNotFoundError Traceback (most recent call last)
Cell In[1], line 15
12 ros2_handler = Ros2Handler()
13 cpu_handler = CpuTimeHandler()
---> 15 Processor(ros2_handler, cpu_handler).process(events)
17 # Use data model utils to extract information
18 # ros2_util = Ros2DataModelUtil(ros2_handler.data)
19 # cpu_util = CpuTimeDataModelUtil(cpu_handler.data)
(...)
30
31 # print(time_per_thread)
File ~/tracetools_analysis/tracetools_analysis/tracetools_analysis/processor/init.py:417, in Processor.process(self, events, erase_progress, no_required_events_check)
409 """
410 Process all events.
411
(...)
414 :param no_required_events_check: whether to skip the check for required events
415 """
416 if not no_required_events_check:
--> 417 self._check_required_events(events)
419 if not self._processing_done:
420 # Split into two versions so that performance is optimal
421 if self._progress_display is None:
File ~/tracetools_analysis/tracetools_analysis/tracetools_analysis/processor/init.py:399, in Processor._check_required_events(self, events)
397 missing_events[handler.class.name].add(name)
398 if missing_events:
--> 399 raise self.RequiredEventNotFoundError(
400 f'missing events: {dict(missing_events)}'
401 )
RequiredEventNotFoundError: missing events: {'CpuTimeHandler': {'sched_switch'}}
I am on branch humble and generated the trace with the example launch file in ros2_tracing (converted file attached as txt due to github limitations:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.