I am using the code from my PR, #1. So, this bug may be related to the changes made, but I'm not entirely certain.
After entering a level and successfully landing on my first mine, I can't seem to take back off. The thruster starts to go after holding down "A" but stutters and I get "engine shutoff" repeated in REPL. Because I have plenty of fuel and there are no "...:after engine_shutoff()" prints, I'm thinking this is being called here:
ground_detected must be returning True when it shouldn't. I'm not familiar enough with the logic involved to determine a solution to this issue at this time.
After entering a level and successfully landing on my first mine, I can't seem to take back off. The thruster starts to go after holding down "A" but stutters and I get "engine shutoff" repeated in REPL. Because I have plenty of fuel and there are no "...:after engine_shutoff()" prints, I'm thinking this is being called here:
MoonMiner/code.py
Line 1934 in 0a25559
ground_detectedmust be returningTruewhen it shouldn't. I'm not familiar enough with the logic involved to determine a solution to this issue at this time.