RoboticsAcademy icon indicating copy to clipboard operation
RoboticsAcademy copied to clipboard

[Humble] Exercise didn't terminate correctly

Open pawanw17 opened this issue 2 years ago • 4 comments

While testing Rescue People exercise in Humble, the exercise loop got stuck and kept running even after exiting to menu. image

pawanw17 avatar Nov 03 '23 07:11 pawanw17

Hey @ango1994 , could you take a look at this? Thanks!

pariaspe avatar Nov 07 '23 16:11 pariaspe

Hi @pawanw17! Could you provide more information about this issue? I just launched the RADI 4.4.19 and executed some code to make the drone take off. After closing every process terminates correctly. How can I replicate this error?

ango1994 avatar Nov 09 '23 16:11 ango1994

@ango1994, Unfortunately, this is an intermittent issue and I do not have specific steps to reproduce it, I have come across this a few times on the latest RADI (4.4.19).

Maybe some stress testing can help reproduce the issue? closing and opening the exercise several times?

pawanw17 avatar Nov 10 '23 00:11 pawanw17

Hi @ango1994 , fortunately I found a way to reproduce this issue try running this code in the editor and then restart and play the exercise, this crashes the exercise

from GUI import GUI
from HAL import HAL
import time

print("Hi")
time.sleep(100)


while True:
    # Enter iterative code!
    print("Hello")

EDIT: I am not seeing this issue in Follow line exercise

pawanw17 avatar Jan 03 '24 20:01 pawanw17

Solved in superthin refactoring

pawanw17 avatar Apr 22 '24 12:04 pawanw17