-
Notifications
You must be signed in to change notification settings - Fork 85
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
Bev version #116
base: master
Are you sure you want to change the base?
Bev version #116
Conversation
Update README.md See merge request drones/gpu-voxels!1
Move prob map See merge request drones/gpu-voxels!2
Move prob map See merge request drones/gpu-voxels!3
update issue git url to http See merge request drones/gpu-voxels!4
@BV-OpenSource Thank you for your mail regarding this PR. I am interested in merging all your changes but might want to suggest some minor changes in the coming days. How soon do you want to finish the ROS release? |
As soon as possible. Feel free to ask any question regarding our changes. |
I would like to keep the known issues and known working sections as up to date as possible. |
We are using this package with Ubuntu 18.04 and 20.04, so ROS melodic and noetic and CUDA 10.2. |
@cjue do you have any update on this request? Is there anything we can help? |
Thanks for reaching out again. I now plan to first have a release with essentially just this PR and then add in our internal changes afterwards. I saw that you also have the What about the two commits on there?
|
Even though is not needed, the code is compatible with both Ubuntu 18.04 and Ubuntu 20.04, I think. |
@@ -199,7 +199,7 @@ ICMAKER_CONFIGURE_PACKAGE() | |||
|
|||
############################################################################### | |||
# Build examples | |||
ADD_SUBDIRECTORY(src/examples) | |||
# ADD_SUBDIRECTORY(src/examples) |
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.
Did you disable this to save compilation time or because of errors?
I would prefer introducing a CMake build option for this.
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.
As mentioned before, no issues was found. I agree with that suggestion.
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.
Hi @BV-OpenSource and @cjue,
Thank you very for your work and getting this integrated and ready for binary release to the ROS buildfarm. We are heavy users of GPU-Voxels and are planning to make a PR with additional features in the near-term as well.
Apologies for "jumping in" - a few comments/questions below before this hits the official ROS buildfarm and thus gains wider distribution :-). I used the suggestions feature for easier possible integration. Please ignore comments/questions if irrelevant
Many thanks for all your hard work - this is highly valuable to the wider community,
Wolfgang
git clone https://gitlab.com/libeigen/eigen.git | ||
sudo cp -r signature_of_eigen3_matrix_library /usr/include/eigen3 | ||
sudo cp -r unsupported/ /usr/include/eigen3 | ||
sudo cp -r Eigen/ /usr/include/eigen3 |
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.
We shouldn't overwrite system-installed packages. What is this required for?
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.
As mentioned in README, to fix "math_functions.hpp not found" on Ubuntu 18.04 with CUDA 10.0.
If you have a better way to fix this, I'm okay with that.
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 remember that some way of introducing a newer version of Eigen was needed when Ubuntu 18.04 came out.
We have a script that clones Eigen into a subfolder so you can add it to the build itself, for 18.04, I prefer that over the system overwrite also.
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.
You could check the Eigen version and conditionally use FetchContent
or ExternalProject_Add
to fetch if required?
@@ -199,7 +199,7 @@ ICMAKER_CONFIGURE_PACKAGE() | |||
|
|||
############################################################################### | |||
# Build examples | |||
ADD_SUBDIRECTORY(src/examples) | |||
# ADD_SUBDIRECTORY(src/examples) |
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'd suggest adding an OPTION(BUILD_EXAMPLES ON)
so it doesn't need to be commented
# ADD_SUBDIRECTORY(src/examples) | |
IF(BUILD_EXAMPLES) | |
ADD_SUBDIRECTORY(src/examples) | |
ENDIF(BUILD_EXAMPLES) |
@@ -61,6 +62,10 @@ class ProbVoxelMap: public TemplateVoxelMap<ProbabilisticVoxel>, | |||
|
|||
size_t collideWith(const voxelmap::BitVectorVoxelMap* map, float coll_threshold = 1.0, const Vector3i &offset = Vector3i()); | |||
size_t collideWith(const voxelmap::ProbVoxelMap* map, float coll_threshold = 1.0, const Vector3i &offset = Vector3i()); | |||
|
|||
virtual void moveInto(ProbVoxelMap& dest, const Vector3f offset) const; |
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.
Should Vector3f
be a const-ref?
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.
Not that I'm disagreeing with you but, why not?
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.
Assuming it's an Eigen type, it's recommended to pass by const-ref
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.
Now I see what you were saying, I thought that '&' was there. You're right.
@@ -61,6 +62,10 @@ class ProbVoxelMap: public TemplateVoxelMap<ProbabilisticVoxel>, | |||
|
|||
size_t collideWith(const voxelmap::BitVectorVoxelMap* map, float coll_threshold = 1.0, const Vector3i &offset = Vector3i()); | |||
size_t collideWith(const voxelmap::ProbVoxelMap* map, float coll_threshold = 1.0, const Vector3i &offset = Vector3i()); | |||
|
|||
virtual void moveInto(ProbVoxelMap& dest, const Vector3f offset) const; | |||
virtual void move(Voxel* dest_data, const Voxel* src_data, const Vector3f offset) const; |
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.
Similarly here, should Vector3f
a const-ref?
@@ -60,6 +60,12 @@ This is important if you are still using ROS Indigo and need to compile without | |||
- If the ROS dependency was found, but the GPU-Voxels URDF features are still unabailable, run `source /opt/ros/YOUR_ROS_DISTRO/setup.bash` before running cmake. |
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.
- If the ROS dependency was found, but the GPU-Voxels URDF features are still unabailable, run `source /opt/ros/YOUR_ROS_DISTRO/setup.bash` before running cmake. | |
- If the ROS dependency was found, but the GPU-Voxels URDF features are still unavailable, run `source /opt/ros/$ROS_DISTRO/setup.bash` before running cmake. |
Thank you for your input, feel free to add comments and suggestions! |
@cjue Sorry if we are being annoying but we want to publish our code and we depend on yours. |
No description provided.