![]() | 1 | initial version |
I solved it.
The problem was that the publisher of laser scan, set the frame id to "odom" and not to "scan".
I solved tring this:
scan = LaserScan()
**scan.header.frame_id = "base_scan" #fake_laser_frame"**
...#code to set object's param
scan.ranges = ranges
self._scan_pub.publish(scan)