Skip to content
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

GUI can die if I click "Run" too soon after a previous action completed #9

Open
sea-bass opened this issue Oct 17, 2024 · 1 comment

Comments

@sea-bass
Copy link

If I click the "Run" button on a new skill immediately after another one completes, the SkiROS2 GUI dies.

The error:

[rqt_gui-3] Traceback (most recent call last):
[rqt_gui-3]   File "/delib_ws/build/skiros2_gui/skiros2_gui/core/skiros_widget.py", line 1336, in on_skill_exe_button_clicked
[rqt_gui-3]     if self._sli.agent.execute(execution_id=self._sli.agent.task):
[rqt_gui-3]        ^^^^^^^^^^^^^^^
[rqt_gui-3]   File "/delib_ws/build/skiros2_skill/skiros2_skill/ros/skill_layer_interface.py", line 31, in agent
[rqt_gui-3]     return next(iter(self._agents.values()))
[rqt_gui-3]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rqt_gui-3] StopIteration
@matthias-mayr
Copy link
Owner

Thanks for reporting this. I think I should merge RobotLabLTH/skiros2_std_lib#15 that should cure this one as well and will make everything more responsive. I was a bit hesitant first so shortly before the workshop since it's new, but it should tackle a couple of things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants