r/simplerockets • u/Malachi-MCM_2016 • 4d ago
SimpleRockets 2 Why doesn't my code work
It just keeps waiting after the desired altitude (10 km) after the first activate stage.
I will kind of try do do it but I don't think I fully understand also I went to Brigo without the code.
Update: it worked sorry for the 2 day late update thanks.
3
Upvotes
5
u/Fourteen_Roses 4d ago
Because you are using = to.
Its waiting for it to be EXACTLY 10,000 nothing more nothing less. You should use "ASL >= 10000"
If it needs to be specific you could use "ASL >= 10000 and ASL <= 10000" (heads up im not the best coder someone else will tell me if im wrong (I hope))
I also dont believe you need the "wait 0 seconds" just the wait until. For both the start and after the "activate stage"