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

simSetObjectPose transforms the object pose wrong #57

Open
anilzeybek opened this issue Sep 11, 2022 · 0 comments
Open

simSetObjectPose transforms the object pose wrong #57

anilzeybek opened this issue Sep 11, 2022 · 0 comments

Comments

@anilzeybek
Copy link

When I get the object pose with the simGetObjectPose, it is correct and the same as the location coordinates in Unreal Engine. However, when I try to set the object pose it ends up being in a different location. Even when I do the following, the position changes, which I think it should stay:

current_pose = self.airsim_client.simGetObjectPose(object_name)
self.airsim_client.simSetObjectPose(object_name, current_pose)

Or when set the object's pose to a new pose twice, the second transform shouldn't affect, but it does and rotation slightly changes

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

1 participant