habitat-lab icon indicating copy to clipboard operation
habitat-lab copied to clipboard

Question regarding the EpisodicGPSSensor's position data

Open wzx16 opened this issue 3 years ago • 1 comments

Hi,

I find the following code reverses the order of x and z in the simulation environment. I wonder why you do this? Thank you! https://github.com/facebookresearch/habitat-lab/blob/9220a301c3b168f845150a3d2f20df8fc21f3842/habitat/tasks/nav/nav.py#L456

wzx16 avatar Aug 17 '21 03:08 wzx16

This is just transforming the 3D coordinate system to the 2D coordinate system. We use +x is forward and +y is right in 2D.

erikwijmans avatar Aug 17 '21 15:08 erikwijmans

@zxwang96 Feel free to re-open the issue, if you still have questions.

rpartsey avatar Sep 12 '22 13:09 rpartsey