-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature Request: Add Gaussian Noise #29
Comments
Hi @camilleconcepcion3012, I am not sure what was exactly the process in your case - can you maybe elaborate? Binaries in releases are the newest that we support. We did not prepare or publish more up-to-date version. However, if you are really willing to put some work into it, your goal should be possible to achieve. You have to build this plugin from source following this paragraph. Before building you have to update RGL_VERSION (for binary) and RGL_COMMIT (for core.h) here. For v0.13.1 it should be: This should give you access to v0.13.1 RGL API calls. Then, you should create gaussian noise node here and connect it to RGL graph here. You can find more information about this node here. RGL API rather did not change much or at all between v0.11.3 and v0.13.1 - if you will have any problems, you will have to update RGL native calls probably mostly in this file. Best regards! |
Hi @PawelLiberadzki, thanks for the response! My process is quite similar to the one you have suggested. I defined the gaussian noise node in the RGLServerInstance.hh via this code: After which, I created the gaussian noise node and connected it to the RGL graph as shown in the code below(for now using hard-coded values): Then, I updated the RGL_VERSION and RGL_COMMIT to 'v0.13.1' and '9786a9689ee0c84208753b98ee35f2c7ddb67d24' and proceeded to build the plugin and copied the updated binaries to my ign_gazebo_6 plugin directory. However, when running the sonoma test world, it resulted in the following error: Further troubleshooting, I discovered that the dowloaded binaries for the libRobotecGPULidar.so are empty: Could you please advise as to how I can solve this issue? |
Hi @camilleconcepcion3012 You have two options:
It's also worth knowing that RGL binaries for our releases are built with all available extensions. For instance, with v0.12.0 there was a new extension added (ROS2), so to run RGL binary from the release v0.12.0+ you have to provide ROS2 libraries. You can do this in two ways:
Alternatively, you can build RGL yourself from source without ROS2 extension. Instructions can be found in the RGL README. Best regards! |
Hi @msz-rai @PawelLiberadzki I believe this is due to my environment being on Ubuntu 20.04. For project-specific reasons, I am unable to update to Ubuntu 22.04 and thus trying the alternative method which is to build RGL from source on my current environment. I have followed the steps in the RGL README but I am facing this error when building: Could you please advise as to how I can solve this issue?
|
You are correct. The released RGL binaries are built with ROS2 Humble so it is supposed to be used on Ubuntu22.
We are not supporting RGL on Ubuntu20 actively, so we cannot ensure proper work on it. However, the error message you got is related to one of our internal tools. You can try to build RGL without those tools with the following command: ./setup.py --cmake="-DRGL_BUILD_TOOLS=OFF" I hope it will solve your issue. Best regards! |
Good news: the Plugin has been updated to the newer RGL version (0.17.0). This makes the Gaussian noise feature should be added without requiring any custom RGL builds on your side. If you haven't resolved your issue yet, the latest changes to the Plugin might help you move forward. |
Hi sir, is it possible to add a gaussian noise feature to this plugin? I am using this plugin for a project and wanted to add gaussian noise to the point cloud data. I did some reseacrh and found that there is an API call within the RobotecGPULidar github that generates a node to add gaussian noise to the point cloud data. I have tried to integrate the feature to the plugin by upgrading the core.h file to v0.13.1. However, I ran into the issue where the library libRobotecGPULidar.so provided clashes with the upgraded core.h file, presumably due to in being from v0.11.3. I was wondering if there is an updated version of the libRobotecGPULidar.so for v0.13.1. Thanks in advance.
The text was updated successfully, but these errors were encountered: