Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behavior of MoveToPositionAsync #1643

Closed
majouda7 opened this issue Dec 18, 2018 · 1 comment
Closed

Incorrect behavior of MoveToPositionAsync #1643

majouda7 opened this issue Dec 18, 2018 · 1 comment
Assignees

Comments

@majouda7
Copy link

majouda7 commented Dec 18, 2018

Hello,

I am using Python Client API (move* API) to build a path planner algorithm. I am having an issue with moveToPosition API call, after giving the command to move to a certain position I am noticing a huge offset in the drone location in unreal engine. For instance, if I send the drone to the waypoint (-5, 0, -3) (client.moveToPositionAsync(-5, 0, -3, 5).join()) with a velocity of 5m/s, the drone actually goes to (-10, 0, -4) in unreal environment (Ned frame of the drone). I have also noticed that the error increases with velocity and it is a kind of random (not always the same offset for the same waypoint). Moreover, it seems that AirSim is not aware about this offset in unreal because when I call client.simGetVehiclePose().position it returns exactly the same position I requested at the beginning (-5, 0, -3). This is very undesirable especially in a path planning context where a reasonable precision in the environment is required to avoid obstacles. Is there a way to fix that ?
PS: The figures 1 and 2 show the drone at the starting point (0,0) and at the arriving point respectively.
Thanks,

starting_point

arriving_point

@majouda7 majouda7 changed the title MoveToPositionAsync: Offset in Unreal position MoveToPositionAsync: Offset in drone Unreal position Dec 18, 2018
@majouda7 majouda7 changed the title MoveToPositionAsync: Offset in drone Unreal position Incorrect behavior of MoveToPositionAsync Dec 19, 2018
@madratman madratman self-assigned this Dec 21, 2018
@madratman
Copy link
Contributor

let's track this in 1685

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants