Skip to content

multirotor fly in straight line #4497

Discussion options

You must be logged in to vote

Hi, I am literally just trying to fly in a straight line.

I am using moveToPositionAsync(200,0,0,40) so i expected the drone to just fly 200 meters in x-direction and 0 in y- and z-direction. However the drone keeps dropping until it eventually crashes into the ground along its path. I have also tried moveByVelocityAsync, moveByVelocityZBodyFrameAsync and moveByVelocityBodyFrameAsync (whatever the difference between these 3 is --> is there no documentation or can i just not find it?) where i also set the z-velocity to 0, resulting in the drone crashing into the ground again (which is flat by the way). I tried changing the PhysicsEngineName setting in the settings.json to "ExternalPhysics…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@Zzerr0r
Comment options

@xxEoD2242
Comment options

@Zzerr0r
Comment options

@xxEoD2242
Comment options

@Zzerr0r
Comment options

Answer selected by jonyMarino
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment