ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Declare he pointcloud as global variable, that should easily work.
2 | No.2 Revision |
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.