Manage sllidar_ros2 as a git subtree and apply QoS fix

- Add m5p3nc3r/sllidar_ros2 fork as a git subtree at lidar/sllidar_ros2/
- Dockerfile now COPYs source from the workspace instead of cloning at
  build time; git is no longer a build dependency
- Set /scan publisher QoS to BEST_EFFORT (depth 2) for Nav2/RViz2 compat
- Add lidar/README.md documenting the subtree workflow
- Remove lidar/sllidar_ros2/ from .gitignore (no longer needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
m5p3nc3randClaude Sonnet 4.6 committed 2026-04-22 11:54:06 +00:00
1 parent 3304573d28
commit 0174cb599f
4 files changed
+100 -3

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ class SLlidarNode : public rclcpp::Node
: Node("sllidar_node")
{
scan_pub = this->create_publisher<sensor_msgs::msg::LaserScan>("scan", rclcpp::QoS(rclcpp::KeepLast(10)));
scan_pub = this->create_publisher<sensor_msgs::msg::LaserScan>("scan", rclcpp::QoS(rclcpp::KeepLast(2)).best_effort());
}