You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where, 30000 is the amount of time (in milliseconds) to wait for the vehicle to become visible.
If no exception is thrown, this means that the vehicle started executing a special behavior which will make it accept waypoint commands only from your Matlab application.
You can query the current vehicle position by using the command:
pos =myVehicle.getPosition()
Also, you can command the vehicle to go to a different location by sending it the desired coordinates:
myVehicle.guide(41.02343, -8.242333, 4)
Bear in mind that you shoud provide the WGS84 coordinates of the desired location plus a desired depth or altitude from the ground/bottom (negative value). In the previous expression, 41.02343 is the desired latitude, -8.242333 is the desired longitude and 4 is the desired depth.