ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In your main publisher, you should use a scancallback method inside of a class. This way, your main method can call scancallback for both sensors individually before using the publisher to publish from a class. Take a look at this tutorial and this class reference.