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

How do I generate my own planes data file, similar to the ones in mins_data/FloorPlans? #37

Open
Wayne-sketch opened this issue Jul 29, 2024 · 1 comment

Comments

@Wayne-sketch
Copy link

In the repository, only UD_Spencer and UD_Warehouse data files are provided in the mins_data/FloorPlans folder.
How can I obtain the plane data files for other datasets in BSplineDataset?
How do I generate the corresponding plane data files for the latter?

@goldbattle
Copy link
Member

goldbattle commented Aug 12, 2024

The file format for the floorplans are described in the top of their files. These were created by taking a picture of a floorplan recovering the pixel-wise location of walls, and then scaling it to metric with the single scalar. You can checkout this LIPS code if you want the historical context of this format.

# 5 ft = 68px 
# 0.073529 ft/px
# 13.6 px/ft

# conversion from feet to meters
0.3048

# start_x, start_y, end_x, end_y
0.00,27.13,4.12,27.13
4.12,27.13,4.12,31.32
....

The trajectories are arbitrary, but they need to fit into the floorplan and not intercept the walls. Hope this helps

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

2 participants