Robotics StackExchange | Archived questions

Fill NA values in a pointcloud topic

Right now, I have a topic (lets call it /spam) that has some nan or inf values in it's point clouds. I'm trying to fix that.

I tried using the following command:

rosrun topic_tools transform /spam /spam_but_not_NA sensor_msgs/PointCloud2 'numpy.nan_to_num(m)' --import sensor_msgs numpy

Unfortunately, the error message seems to contain the entire point cloud, which quickly maxes out what my terminal is able to show, so I don't know what the problem is.

The output topic exists, but is not publishing anything

Asked by help_me on 2020-03-03 18:09:13 UTC

Comments

Unfortunately, the error message

which error message?

Asked by gvdhoorn on 2020-03-04 03:31:47 UTC

The one that prints in terminal after running that command

Asked by help_me on 2020-03-06 10:55:00 UTC

Answers