KumarRobotics / kr_autonomous_flight

KR (KumarRobotics) autonomous flight system for GPS-denied quadrotors
Other
654 stars 110 forks source link

Adding simple performance test for voxel_mapper with googletest #163

Closed orlando21lara closed 2 years ago

orlando21lara commented 2 years ago

I simply wrote two tests that just run one function each to measure the time it takes to run them.

Since we want to measure performance, I was considering that we could instead use google/benchmark. Googletest seems to be more suitable for checking the functionality of the code rather than the performance.

XuRobotics commented 2 years ago

@fcladera seems like the checks are failing, should we still go ahead and merge?

orlando21lara commented 2 years ago

Thank you Xu and Chao. I've committed the changes discussed above.

fcladera commented 2 years ago

Follow up in #166