Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

RuntimeError during realtime simulation #7

Open
milosz275 opened this issue May 9, 2024 · 0 comments
Open

RuntimeError during realtime simulation #7

milosz275 opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@milosz275
Copy link
Owner

There is a bug over concurrent class member access when running the app in the realtime, even though mutex is being used.
Error:

Traceback (most recent call last):
File "/home/mlsh/uksw/uav-collision-avoidance/uav_collision_avoidance/src/simulation/simulation_widget.py", line 499, in paintEvent
self.draw_destinations(aircraft, scale)
File "/home/mlsh/uksw/uav-collision-avoidance/uav_collision_avoidance/src/simulation/simulation_widget.py", line 217, in draw_destinations
for idx, destination in enumerate(self.__aircraft_fccs[aircraft.aircraft_id].destinations):
RuntimeError: deque mutated during iteration

@milosz275 milosz275 added the bug Something isn't working label May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant