stamps: 1, 0.000000000
(snip, same lines)
stamps: 1, 0.000000000
Traceback (most recent call last):
File "TILDE/install/tilde_vis/lib/tilde_vis/latency_viewer", line 11, in <module>
load_entry_point('tilde-vis', 'console_scripts', 'latency_viewer')()
File "TILDE/build/tilde_vis/tilde_vis/latency_viewer.py", line 767, in main
main_curses(None, args=sys.argv)
File "TILDE/build/tilde_vis/tilde_vis/latency_viewer.py", line 749, in main_curses
rclpy.spin(node)
File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/__init__.py", line 196, in spin
executor.spin_once()
File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/executors.py", line 707, in spin_once
raise handler.exception()
File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/task.py", line 239, in __call__
self._handler.send(None)
File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/executors.py", line 415, in handler
await call_coroutine(entity, arg)
File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/executors.py", line 329, in _execute_timer
await await_or_execute(tmr.callback)
File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/executors.py", line 107, in await_or_execute
return callback(*args)
File "TILDE/build/tilde_vis/tilde_vis/latency_viewer.py", line 695, in timer_callback
logs.extend(self.handle_stat(stamps))
File "TILDE/build/tilde_vis/tilde_vis/latency_viewer.py", line 573, in handle_stat
stats = handle_stat(stamps,
File "TILDE/build/tilde_vis/tilde_vis/latency_viewer.py", line 295, in handle_stat
stats = calc_stat(merged)
File "TILDE/build/tilde_vis/tilde_vis/latency_viewer.py", line 388, in calc_stat
return results.apply_with_depth(_calc_stat)
AttributeError: 'NoneType' object has no attribute 'apply_with_depth'
# latency_viewer.py
def handle_stat(stamps, pubinfos, target_topic, solver, stops, dumps=False):
idx = 0 # actually, we set idx by logic.
merged = None
for target_stamp in stamps[:idx]: # if idx=0, no loop
# update merged
stats = calc_stat(merged) # here, merged = None
return stats