Everything works flawlessly in my simulation: In the command prompt I observe the action server is active and provides all action server services. I am able to take off and land the quiz drone by sending the “TAKEOFF” and “LAND” messages using rostopic. The simulation work flawlessly.
But the grader complains about “Drone did not take off.” or didn’t land. The takeoff and land complains look random, depending on the run.
I also checked code and simulation the grader suggestions:
“- Is your code taking the drone off correctly?”
“- Is your code landing the drone after taking it off? It should NOT. You should use the LAND call for that”
and may confirm that there is no such scenarios in the simulation.
The problem looks like is dealing with the timing. I tried different timeouts for the takeoff/land actions, but still have failures.
Could you take a look explain the grader behaviour.