-
Notifications
You must be signed in to change notification settings - Fork 104
Visibility table enhancements #609
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
Conversation
Note, to test, you will need
|
This targets the |
Ideally, this should target |
@caguero friendly ping |
@mjcarroll , can you update this to target |
* Use threads to accelerate computation (distributing the space equally across the threads) * Split visiblity functionality into library to deduplicate compilation * New validate_visibility_table cc file for main function * Use FCL's distance function to disambiguate overlapped tile segments Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
cdf382a
to
1d3722e
Compare
Done. |
I just installed |
Try using |
private: std::vector< | ||
std::pair<ignition::math::AxisAlignedBox, uint64_t>> worldSegments; | ||
|
||
private: std::map<uint64_t, std::string> worldSegmentNames; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Missing doc.
|
||
/// \brief A map that stores 3D points an the vertex id in which are located | ||
private: std::map<std::tuple<int32_t, int32_t, int32_t>, uint64_t> vertices; | ||
public : std::map<std::tuple<int32_t, int32_t, int32_t>, uint64_t> vertices; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking, is this change on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was unintentionally left in as part of threading.
I can find the |
I take it back, after evaluating both upstream |
Signed-off-by: Michael Carroll <[email protected]>
I'm getting these compilation errors:
I think I've installed the correct version of FCL. |
Michael tweaked the code and now it requires to install FCL from debs ( |
I left two minor comments, ready to approve as the test |
@nkoenig FCL from debs should be sufficient ( |
Signed-off-by: Michael Carroll <[email protected]>
* Updated comms model Signed-off-by: Carlos Agüero <[email protected]> * Tweak scaling factor and add last breadcrumb for range computations. Signed-off-by: Carlos Agüero <[email protected]> * Update subt-communication/subt_rf_interface/include/subt_rf_interface/subt_rf_model.h * Tweak doc Signed-off-by: Carlos Agüero <[email protected]> * Visibility table enhancements (#609) * Visibility table enhancements * Use threads to accelerate computation (distributing the space equally across the threads) * Split visiblity functionality into library to deduplicate compilation * New validate_visibility_table cc file for main function * Use FCL's distance function to disambiguate overlapped tile segments Signed-off-by: Michael Carroll <[email protected]> * Cleanups Signed-off-by: Michael Carroll <[email protected]> * Adjust to Ubuntu libfcl (0.5.0) Signed-off-by: Michael Carroll <[email protected]> * Address reviewer feedback Signed-off-by: Michael Carroll <[email protected]> * Adding extra dependencies to Docker Signed-off-by: Carlos Agüero <[email protected]> Co-authored-by: Nate Koenig <[email protected]> Co-authored-by: Michael Carroll <[email protected]>
across the threads)
Signed-off-by: Michael Carroll [email protected]