mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
rplidar
This commit is contained in:
@@ -124,6 +124,8 @@ namespace Modelec
|
||||
continue;
|
||||
}
|
||||
|
||||
RCLCPP_INFO(this->get_logger(), "Lidar point at x=%.2f, y=%.2f, range=%.2f", x_global, y_global, range);
|
||||
|
||||
if (range < min_distance)
|
||||
{
|
||||
min_distance = range;
|
||||
|
||||
Reference in New Issue
Block a user