-
Notifications
You must be signed in to change notification settings - Fork 228
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
cant launch node, assertion error #29
Comments
Hi @Ahmad-Drak , what is the source of the point clouds you are using? The point cloud seems to contain NaN/Inf values. Please make sure that the input point clouds doesn't have any invalid data and then try again and report back the GDB trace if you still run into an issue. |
its a bag file that publishes point cloud to a topic and i remap the topic to |
Hmmm. The error is definitely coming from the PCL library (not from the code in this repository). You can write your routine to remove the std::shared_ptr<std::vector<int>> indices(new std::vector<int>);
pcl::removeNaNFromPointCloud(*source_cloud, *indices);
pcl::ExtractIndices<pcl::PointXYZ> extract;
extract.setInputCloud(source_cloud);
extract.setIndices(indices);
extract.setNegative(true);
extract.filter(*source_cloud); |
@Ahmad-Drak , is the issue resolved on your end? |
Closing this since the solution proposed in #29 (comment) seems to fix the issue with NaN values causing the error as reported by others (see referenced issues above). |
Hello, I am getting the same error after running the node: Although, it does not give me an error for invalid NaN points. It just continuously runs until I kill the command. Also, I am running this on Raspbian rather than Ubuntu. I am not sure if it is the PCL libraries but I am having some trouble. Any help would be appreciated. |
Sorry @Tonyc48 I haven't worked on this much, had to change directions. Im sure @praveen-palanisamy can be better help |
Hello @Tonyc48, Did you found a solution for this issue ? |
Hi there, I was confused about where and how you were using the filtered NaN cloud in the code as I have two ways to get the data. These are either using the ROSBAG to save point cloud in a .bag file or get live data points for the LiDAR in real time so that we can run the tracker in real time. |
Same problem here, in my case it is crashing at |
Hi, I seem to be getting this error when launching the node. Any ideas?
The text was updated successfully, but these errors were encountered: