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

OLED makes Telemetrix crash #27

Closed
mklomp opened this issue Oct 17, 2023 · 0 comments · Fixed by #39
Closed

OLED makes Telemetrix crash #27

mklomp opened this issue Oct 17, 2023 · 0 comments · Fixed by #39
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mklomp
Copy link
Contributor

mklomp commented Oct 17, 2023

When running a simple script using the OLED screen, after some time the Telemetrix node will crash.

Simple script:

from mirte_robot import robot
mirte=robot.createRobot()
import time

t = 0
while True:
  mirte.setOLEDText('left', str(t))
  time.sleep(0.1)
  t += 1

Error in mirte_telemetrix_mirte:

Traceback (most recent call last):
  File "/home/mirte/mirte_ws/src/mirte-ros-packages/mirte_telemetrix/scripts/ROS_telemetrix_aio_api.py", line 1070, in <module>
    loop.run_forever()
  File "/usr/local/lib/python3.8/dist-packages/nest_asyncio.py", line 82, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.8/dist-packages/nest_asyncio.py", line 109, in _run_once
    heappop(scheduled)
RuntimeError: list changed size during iteration
@mklomp mklomp added the bug Something isn't working label Oct 17, 2023
@mklomp mklomp added this to the 0.1 milestone Oct 17, 2023
@ArendJan ArendJan linked a pull request Oct 26, 2023 that will close this issue
@ArendJan ArendJan self-assigned this Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants