ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Declare he pointcloud as global variable, that should easily work.

If global variable doesnt work then you can use a class. Declare he callback function as method of class and then u can access the pointcloud as global variable, that should easily work. using class object.