isaac-sim / IsaacGymEnvs

Isaac Gym Reinforcement Learning Environments
Other
1.94k stars 411 forks source link

Change the coordinate in Isaac SIm #212

Open JianlinWang-JL opened 6 months ago

JianlinWang-JL commented 6 months ago

I am facing a problem with coordinates, because the rules used to transfer euler to quaternion is quiet different in Sim and Gym.

In sim, we do the transfer based on xyz as shown in figure below: image

But in sim, according to the examples given, is based on zyx, as shown in the formula: “qua= gymapi.Quat.from_euler_zyx(10,0,0)”.

Now I would like to use both Sim and Gym, I would like to find a good parameter in Sim and use the euler angle in gym directly. But according to the different rules, the good parameters cannot be used in Gym.

I would like to ask if there is any possible way, I can change the coordinates and the transfer rule to the same one in gym?

Many thanks in advance!