-
Notifications
You must be signed in to change notification settings - Fork 7
Handle metadata refresh in real time mode #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle metadata refresh in real time mode #109
Conversation
99fdd61 to
a5ede6b
Compare
|
After a meeting with @GiulioRomualdi @HosameldinMohamed and the issues with the installation of pyside2 documented in #108 I switched the dependencies back to use pyqt5 (always through the |
|
Hi @GiulioRomualdi have you had the chance to review this? Are there changes you recommend? |
|
With @S-Dafarra @carloscp3009 we tested this PR branch (with the corresponding logger version in ami-iit/bipedal-locomotion-framework#1008 ) on ergocub and also ran the walking module. The visualizer worked as expected. We were able to:
Moreover we tested that the MAT file saved by the logger contained all the data visualized in real-time, including the cameras. There also some minor improvements to do here:
|
In commit 70fa4ef I introduced this functionality! As you can see the refresh button blinks only when new metadata is available (flag that has been added in sister PR of blf without doing any rpc call to the server. In this way the user knows when new signals are available and can refresh the list, otherwise is disabled. 2025-11-13.15-39-30.mp4 |
70fa4ef to
501752c
Compare
Addressed with 501752c |
|
CC @traversaro |
|
I noticed that I missed to add some python bindings in blf, fixing it in ami-iit/bipedal-locomotion-framework#1017 |
|
That's great!! Thank you @xela-95 for all the effort! |
Closes #103
Real-time signal provider improvements:
ROBOT_REALTIME_KEYconstant and refactored all hardcoded"robot_realtime"string usages inrealtime_signal_provider.pyto use this constant.update_metadatamethod toRealtimeSignalProviderto allow refreshing metadata from the remote logger and dynamically updating internal data buffers and metadata._populate_realtime_logger_metadatato be more robust: now only missing nodes are created, leaf buffers are initialized if missing, and metadata merging is handled without overwriting existing data. Added input validation for parameters._update_data_bufferto return early if no keys are provided, preventing unnecessary processing.UI enhancements:
visualizer.py) to add a new "refresh" button for metadata.