mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
log
This commit is contained in:
@@ -130,13 +130,13 @@ namespace Modelec
|
|||||||
|
|
||||||
double range_mm = range * 1000.0; // conversion en mm
|
double range_mm = range * 1000.0; // conversion en mm
|
||||||
|
|
||||||
if (range_mm < robot_radius_)
|
/*if (range_mm < robot_radius_)
|
||||||
{
|
{
|
||||||
RCLCPP_INFO(this->get_logger(), "Ignoring Lidar point too close to robot body: range=%.2f mm",
|
RCLCPP_INFO(this->get_logger(), "Ignoring Lidar point too close to robot body: range=%.2f mm",
|
||||||
range_mm);
|
range_mm);
|
||||||
angle += msg->angle_increment;
|
angle += msg->angle_increment;
|
||||||
continue;
|
continue;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// EMERGENCY detection: obstacle very close but not the robot itself
|
// EMERGENCY detection: obstacle very close but not the robot itself
|
||||||
/*if (range_mm < min_emergency_distance_)
|
/*if (range_mm < min_emergency_distance_)
|
||||||
|
|||||||
Reference in New Issue
Block a user