From c37369efa9deca9f4a890f18191e730965b36553 Mon Sep 17 00:00:00 2001
From: m-guberina <gubi.guberina@gmail.com>
Date: Thu, 31 Oct 2024 23:38:04 +0100
Subject: [PATCH] this is it for logplotting on the real branch, just spawn 1
 set of plots and don't resize it

---
 .../__pycache__/visualize.cpython-312.pyc     | Bin 17147 -> 16886 bytes
 .../ur_simple_control/visualize/visualize.py  |   8 +++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/python/ur_simple_control/visualize/__pycache__/visualize.cpython-312.pyc b/python/ur_simple_control/visualize/__pycache__/visualize.cpython-312.pyc
index cdb303e8174d784085e917dde458ea4c3b6b14d9..eaf4ae636a0f3e0494bc8ae3166c0c46fe1bf886 100644
GIT binary patch
delta 249
zcmey}%J{9Bk?%AwFBby?1A_*eO1ic4M!p^ToNDY04DBNAqSGf&G!WhVM4y|LQDX83
z6Fs)P)tw?)u9FP~geO~?u4Uq6nEcH&XEK|)5>wCJ$%aA-lYPvc8AT>fFc)VO-MqrQ
zl9{n;vXXTJWB%mD)~hGS+MHyZKUv*&7vsXok8DG@)-o_Km@zUi6w7aRunT5lyfJx-
zLkueygMi4L$^RVWg{}ywe&A!^73=ry^qrx8g-7Yb<TOWT0cQnYU52x|3Vs62=lB`@
z1SaovJShV*Yb8UGBm)COkvIbb!z~V*-29Z%oK(A_os;J|1#w3(Co?h%gB1V(7y?Rv

delta 388
zcmey?%=o*Nk?%AwFBby?1H<{B%IQ~}HuCMz=e)ztz|bzzE;@bkL<7;yPxQH286_uw
zFwtX~z?jE6S;6#(K#fp}NEI6cLkeTI1_MK}`Q&G&IWl>HCCng`KsZHoH6w^-U|?kE
z6v;B3EGQ&1`IK=OACeNW)r^z9%(Pf0F!oqXHWX5rJk88mQXHW#lA*_<oS}j_lA)YY
zQ)2Tcvr1;hUz2mJ8W?jYzqMM;|I&zofuU#~h?vj7z%Y4+^-0DBlap+AF)o@cYa7C~
zo`HeEgpq-vIDT`rZ7>t#&B^EOWB522L}g|qP4rpdcu7R{$z%fudC#i?s!s$&CuCj`
zP`Du=Hl2GS_Y~e60%F$%lrIV>UlCBfA**~{*65<F(FWt~78@-t%i2ufx+5SuA^(bi
z+6^Aje&0^t8R}Pfls-;QbZ{1MvG(U+IM1Qrug!d3i_u?u@)n1ajO!=YIZ83^o;=er
Rh&zNinUPVrNRokp0RU?VahU)B

diff --git a/python/ur_simple_control/visualize/visualize.py b/python/ur_simple_control/visualize/visualize.py
index 6d1cfde..8c78735 100644
--- a/python/ur_simple_control/visualize/visualize.py
+++ b/python/ur_simple_control/visualize/visualize.py
@@ -304,7 +304,9 @@ def manipulatorComparisonVisualizer(args, model, collision_model, visual_model,
 # get arguments that way.
 # but otherwise i can't pass arguments to that.
 # even if i could with partial, i can't return them,
-# so no cigar from that
+# so no cigar from that.
+# NOTE this is being tried out in realtimelogplotter branch
+# there is no successful re-drawing here.
 def logPlotter(args, log, cmd_queue, ack_queue):
     """
     logPlotter
@@ -389,8 +391,8 @@ def logPlotter(args, log, cmd_queue, ack_queue):
                 axes_and_updating_artists[data_key].artists.set_xdata([time_index])
                 axes_and_updating_artists[data_key].ax.draw_artist(axes_and_updating_artists[data_key].artists)
             # NOTE: this is stupid, i just want to catch the resize event
-            if not (counter % 50 == 0):
-            #if True:
+            #if not (counter % 50 == 0):
+            if True:
                 print(counter)
                 canvas.blit(fig.bbox)
                 canvas.flush_events()
-- 
GitLab