mitchellspryn/UrdfSim

simSetObjectPose transforms the object pose wrong

Opened this issue · 0 comments

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