-
Notifications
You must be signed in to change notification settings - Fork 48
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
problems linking noether libraries? #233
Comments
Do you have pcl_ros and pcl_conversions in your work space and are they set to compile against PCL 1.8? If you have already done this, you could try to compile PCL in release mode. I have found that there are other run time issues with PCL and compiling in release mode usually fixes these. |
Thanks for the comment, but unfortunately these do not seem to resolve the issue. Additionally, I am not convinced that the issue relates with PCL, but VTK rather, since the errors only come when accessing vtkPolyData objects passed from NoetherPathPlanner::generatePath() function into the vtk_viewer library. Frustratingly, though, these errors do not occur when, in the same workspace, passing the same vtkPolyData object into the vtk_viewer library from the noether library. This leads me to think it is a linking error of some type. I will look into this a bit more. |
Okay, I thought that PCL was the problem, since pcl_ros is a wrapper around PCL 1.7 (Ubuntu 16.04/kinetic), which uses VTK 6.2. If you include pcl_ros and the Noether library, your catkin workspace is now trying to include VTK 6.2 and 7.1. Thus, the noether library would work with itself, because it uses VTK 7.1 and does not depend on pcl_ros. The Godel packages, however, include pcl_ros, which can introduce this compile/run issue unless you build it from source and make it compile against PCL 1.8 (which should be built on VTK 7.1 already). If you have already done this, then you can ignore what I just said. I was looking at the godel_noether package and found something which might be a bug. The |
Please note that we have docker images which can help in this case to standardize environments. Y'all might want to look at debugging using this docker images: |
@akgoins if that's a bug in |
You could well be onto something here. I will explore this more. Thanks for the explanation.
Definitely will do. Thanks! |
I recently revisited this issue and did a bit of tinkering and it turns out this comment from akgoins was 100% spot on the money. So I guess we can close this issue. Thanks so much for your input. For those who are experiencing similar problems with the
After this, the noether plugins worked. Thanks again for your help! |
There seems to be some issue related to linking the vtk_viewer library to the godel_noether package. When I clone/build/link the noether meshing plugins into the godel workspace (following the instructions in the readme), i get the following errors when when I run the most generic demo:
results in:
I tracked the errors to the vtk_viewer library, where accessing any vtkPolyData object will crash the node. However the fact that I am able to test and run these same libraries sucsessfully from inside my godel workspace by running
leads me to beleive that it is an issue related to linking the vtk_viewer library to the godel_noether package.
Is anyone else able to recreate this error? Also, if there is a more appropriate place to direct these queries, please let me know.
Cheers.
p.s. I am using VTK 8.1 and PCL 1.8 (which has been compiled against VTK 8.1)
The text was updated successfully, but these errors were encountered: