I want to create a class tf_listener. I'm using a laser, so the node for the laser data already exists. I looked at some tutorials and saw that they are using pointstamped. But my laser publishes with the type sensor_msgs/LaserScan.
How should I write the subscriber in the class? Or the whole tf listener?
↧