[ROS 2] Lidar Sensor does not allow for raycaster-side publication. #719
Labels
feature/robotics
This item is related to robotics.
kind/bug
Categorizes issue or PR as related to a bug.
priority/major
Major priority. Work that should be handled after all blocking and critical work is done.
sig/simulation
Categorizes an issue or PR as relevant to SIG Simulation
Describe the bug
The pointcloud is always published in the ROS2 Lidar Sensor regardless of the configuration.
This is due to the fact that the raycasters are queried about their capability to publish before their configuration is finalized, namely
the
ConfigurePointCloudPublisher
is used after a call toCanHandlePublishing
(methods of the LidarRequests interface) which requires the lidar to be already configured.Expected behavior
The pointcloud publisher should be determined based on whether or not the Lidar implementation supports publishing under current lidar configuration.
Found in Branch
All branches. Was introduced by commit.
The text was updated successfully, but these errors were encountered: