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

Transferring R2R viewpoint IDs into Habitat coordinates

Open Leikrit opened this issue 8 months ago • 1 comments
trafficstars

Habitat-Sim version

v0.1.7

How to tranfer the viewpoint IDs in R2R scenes into coordinates?

Hi, thanks for your great work. I am currently dealing with R2R environment and encountering the problem of transferring viewpoint IDs into coordinates in Habitat. I wonder if there exists some functions that can do it?

It seems that the coordinates in Matterport Simulator and Habitat Simulator are not perfectly aligned.

I was trying to use connectivity files to extract coordinates in 'pose'. Unfortunately it did not work for me.


Here is an example for my problem. I was using Scene QUCTc6BB5sX in R2R (mp3d). The trajectory was from viewpoint "471a6f3beedb4cc7a71edc7fc1c5275b" to viewpoint "afde05a9bd214e63808a5546594b59d1". And the coordinates from the connectivity file (which is based on Matterport Simulator) were:

"coordinates": [
            [
                5.272799968719482,
                1.66815,
                -7.86318
            ],
            [
                5.490809917449951,
                1.63001,
                -4.881120204925537
            ]
        ]

Image

Leikrit avatar Mar 04 '25 03:03 Leikrit