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

Generating Octree Leaf size #2

Open
Amit10311 opened this issue May 26, 2020 · 5 comments
Open

Generating Octree Leaf size #2

Amit10311 opened this issue May 26, 2020 · 5 comments
Assignees

Comments

@Amit10311
Copy link

Thank you for this great package for octomap. The simulator is working perfectly.

Could you please explain more about the normalization transform and leaf size. It gives ocotmap with scale of 0.060767 but I want the ocomap with the same scale of my mesh.

I look forward to hearing from you. Thank you for your valuable time.

@fpetric fpetric assigned fpetric and aivano and unassigned fpetric May 26, 2020
@aivano
Copy link
Member

aivano commented May 27, 2020

@Amit10311 Can you please provide more details on what you are trying to do?

I didn't understand the underlying problem with scale. If i interpreted correctly, your .stl or .dae file has some size and the octomap is scaled down after using binvox and binvox2bt?

@Amit10311
Copy link
Author

@aivano Yes, the octomap is scaled down after using binvox and binvox2bt.

@aivano
Copy link
Member

aivano commented May 30, 2020

@Amit10311 It happened to me a few times. I think it has something to do with the combination of dimensions used in 3D modeling software and ones used by binvox. The workaround I did a was to measure the created octomap and compare it to 3D model measurements, after which I scaled up the 3D model and repeated the procedure.

Unfortunately, I don't know why this happens. If this workaround does not do the job for you, I suggest you send me the link to your 3D model so I can try to see what happens.

@Amit10311
Copy link
Author

@aivano It's model from company which I can't share. It's making an octomap but there is a gap between two objects. Can you please tell me how to fix this?

@aivano
Copy link
Member

aivano commented Jun 16, 2020

@Amit10311 You can try to increase the map resolution with ./binvox -e res path_to_file . Depending on the size of your model you can try with res=4096. This could provide a more detailed octomap. If the model is small you can further increase resolution.

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

3 participants