Hello, I need to find out a solution to the problem I am currently facing with Exercise 9.13.
Whenever I run simulations, I could never land a drone and it was just hovering in the air while spinning. Just to clarify, I put the same launch and script codes that were in the solution page, and followed the same exact instructions. Although I could see a drone moving in square at first, the drone did not land as expected and printed an error right after it printed out the time it needed for a drone to perform a square. It couldn’t print ‘Landing …’ as it was supposed to do. And echoing the results topic didn’t do anything.
I took a picture of shell script after an error, and this was what it showed. To me I think the main problem has to be with the last line “To transition to an aborted state, the goal must be in a preempting or active state, it is currently in state: 3”. I am not aware of the full meaning of this but I assume this error message has to do with the fact that 3 feedbacks were given instead of 2 even though I set the state of goal to 2.
From this point on I have zero clue. No solutions from other internet sources were clear enough for me and mostly unrelated, so I need you guys’ help.