-
Notifications
You must be signed in to change notification settings - Fork 20
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
Extending likelihood field to model unexplored spaces #430
Conversation
7e2e962
to
32867eb
Compare
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.
First pass!
It would be nice to make some maps testing the draft. How could I perform that?
I recommend extending the likelihood field model unit tests for this next.
Hi @hidmic! I'm trying to replicate locally the 'build_and_test.sh' file, since it is failing in the pipeline. I wanted to tested first before updating the draft PR. However, I'm getting the following error (similar to #422, but it actually build when using -- Configuring incomplete, errors occurred!
---
--- stderr: beluga
CMake Error at test/CMakeLists.txt:30 (find_package):
By not providing "Findbenchmark.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"benchmark", but CMake did not find one.
Could not find a package configuration file provided by "benchmark" with
any of the following names:
benchmarkConfig.cmake
benchmark-config.cmake
Add the installation prefix of "benchmark" to CMAKE_PREFIX_PATH or set
"benchmark_DIR" to a directory containing one of the above files. If
"benchmark" provides a separate development package or SDK, be sure it has
been installed.
--- This is happening in |
fa79f0b
to
e591f1e
Compare
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.
codecov
isn't happy because we are lacking tests :)
beluga/test/beluga/include/beluga/test/static_occupancy_grid.hpp
Outdated
Show resolved
Hide resolved
9e8b397
to
eec92a5
Compare
@DPR00 we should update the PR title. |
6804e7f
to
0e3fff9
Compare
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 is amazing @DPR00, great job!
We should add tests now though, for the likelihood model and for the action we just added.
This is no draft anymore, it's solid PR material. |
Awesome @hidmic, thanks! I will be addressing the comments during the following days and adding tests, as well. |
1f913d5
to
6612d46
Compare
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.
Third pass I think. Really good work @DPR00.
beluga/test/beluga/include/beluga/test/general_occupancy_grid.hpp
Outdated
Show resolved
Hide resolved
This PR needs a rebase after #433. |
aebeaf6
to
2911f92
Compare
I did the rebase and reduce all the changes to one commit. The latter was due there were a lot of commits where the changes are no longer valid. |
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.
I left a few more comments and CI is not happy, but this is a great piece of work @DPR00.
I'm happy with it once the missing bits are addressed and CI goes green (looks like clang-tidy
is not happy).
beluga/test/beluga/include/beluga/test/static_occupancy_grid.hpp
Outdated
Show resolved
Hide resolved
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.
Plain amazing. I'm good with this PR as-is. @nahueespinosa ?
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.
LGTM! After fixing forwarding references.
78f0239
to
ceee341
Compare
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.
LGTM!
Signed-off-by: Diego Palma <dpalma@symbotic.com>
Signed-off-by: Diego Palma <dpalma@symbotic.com>
Signed-off-by: Diego Palma <dpalma@symbotic.com>
Signed-off-by: Diego Palma <dpalma@symbotic.com>
Signed-off-by: Diego Palma <dpalma@symbotic.com>
Signed-off-by: Diego Palma <dpalma@symbotic.com>
3542c38
to
287453b
Compare
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.
@DPR00 go go go 🚀
I am not able to merge it because I need to be an authorized user. Could you merge it @hidmic, pls? 🚀 |
Proposed changes
The following changes are proposed in order to enhance the Likelihood Field Model based on the suggestions described on #55:
unknown_obstacle_data()
is created to ideally replace theobstacle_data()
function inbeluga/sensor/data/OccupancyGrid.hpp
. This new function will return asrd::tuple<bool, bool>
containing the values which are occupied and unknown.nearest_obstacle_unknown_distance_map
. This new function will ideally replace thenearest_obstacle_distance_map
function.nearest_obstacle_unknown_distance_map
function. Based on this computed value, the likelihood will beSome comments:
Type of change
💥 Breaking change! Explain why a non-backwards compatible change is necessary or remove this line entirely if not applicable.
Checklist
Put an
x
in the boxes that apply. This is simply a reminder of what we will require before merging your code.Additional comments