ROS2 tf2 performance on a Pi4+

asked 2021-10-17 08:11:39 -0500

bassline gravatar image

updated 2021-10-17 08:12:25 -0500

Having now resolved my issue with the learning_tf2 tutorials, the static broadcaster works fine on a HP laptop. However if I try to run it remotely via ssh on a Pi4+ with 4Gb of memory it is VERY slow. It is still slow on an old latop via ssh cpu:
Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 2000 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 2000 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 1884 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 3166 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 2000 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 2000 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 2000 MHz Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 2000 MHz

Is this expected or are there some performance issues with either remote control or the Pi4?

edit retag flag offensive close merge delete

Comments

How do you measure performance of a static transform broadcaster? It publishes once, then does almost nothing (it it all works as it should).

What does "VERY slow" mean in this case?

gvdhoorn gravatar image gvdhoorn  ( 2021-10-17 10:13:29 -0500 )edit

My apologies for a very poorly worded question (complete with errors!). It is the second broadcaster (not static) I was trying to run. When I have initiated teleop and hit the movement keys then:- on same machine the turtle moves immediately and quickly, on the second laptop via ssh each movement takes approx twice as long - so 2 -3 seconds to move up the screen, on the PI4+ it takes nearer to 6 seconds. (All approx as I have not actually put a stopwatch on it). Before I investigated further I was wondering if anyone else had any issues working on remote systems via ssh.

bassline gravatar image bassline  ( 2021-10-17 10:38:19 -0500 )edit

@bassline Your title and description and followup comment are confusing. I suggest you completely rewrite the title and description. Include only related information for this problem. A "broadcaster" is different from a "publisher". You should make it clear to us which one you are asking about.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-10-18 08:06:05 -0500 )edit

Question removed as unclear and imprecise

bassline gravatar image bassline  ( 2021-10-18 08:21:40 -0500 )edit

The question seems ok, it's just the phrasing which could be tweaked a little.

@bassline: would it not be worth it to do that and see whether that draws some more attention?

You could just edit it (use the edit button/link).

gvdhoorn gravatar image gvdhoorn  ( 2021-10-18 08:30:09 -0500 )edit

@gvdhoorn Given the comment, my best guess is that their question has nothing to do with tf2.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-10-18 08:46:09 -0500 )edit