AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Issue with having the drone face the flight direction using moveToPositionAsync

Open vguillet opened this issue 6 years ago • 4 comments

Good afternoon,

I have been wondering how I could make sure that the drone would face the flight direction when using the moveToPositionAsync command, I managed to achieve that using moveOnPathAsync by setting airsim.DrivetrainType.ForwardOnly and airsim.YawMode(False, 0), 20, 1), but that doesnt seem to work with moveToPositionAsync, any suggestions?

Cheers!

vguillet avatar Jun 04 '20 08:06 vguillet

I got the same problem too! The ForwardOnly mode seems not working, the api returns quickly but the drone not moving.

sy300302 avatar Jun 05 '20 04:06 sy300302

Any solutions?

vguillet avatar Jun 11 '20 15:06 vguillet

Having the same issue using c++ API.

DanielGilo avatar Jul 09 '20 11:07 DanielGilo

This is my code,it work well. client.moveOnPathAsync(v_path_list, 20, 20000,airsim.DrivetrainType.ForwardOnly, airsim.YawMode( False,0)) ps:when u set" forwardonly",YawMode must be False.

Rick-Weng avatar Sep 27 '21 06:09 Rick-Weng