Using Messages in Simulations

Hello everybody. I am trying to control a drone using simulation.
I wrote a Python code to go to the desired location using the ‘MAV_CMD_NAV_WAYPOINT’ message, but it doesn’t seem to be executed properly. There are no errors, but the copter does not move.
Could you please tell me which part is wrong?


That is expected you aren’t using the right message.
use or

You can see an example here : or in ArduPilot autotest suite

Thank you very much. I’ll take note! :grinning: