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 to measure the size of the Voxblox mesh map built? #197

Closed
Mayankm96 opened this issue Aug 20, 2018 · 1 comment
Closed

How to measure the size of the Voxblox mesh map built? #197

Mayankm96 opened this issue Aug 20, 2018 · 1 comment

Comments

@Mayankm96
Copy link

As the question suggests, I am trying to measure the size of the Voxblox mesh that has been built so that I can calculate the amount of area that has been explored by the UAV.

Any idea on how to implement this?

@ZacharyTaylor
Copy link
Contributor

It really depends what you mean by area and which representation you are using.

The easiest to calculate would be the viewed surface area, which would be as simple as iterating through the triangles and summing their area.

Another possibility would be to calculate the explored volume. If you are using the ply mesh output however this information has been lost. If you use the Mesh.msg a pretty good approximation to this can be given by the number of blocks with unique indexes multiplied by the volume of each block. However this is more easily done by counting blocks allocated in the actual voxblox map.

If you want 2D area, you can do the same as above but only consider the x and y component of the block when deciding if it is unique.

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