Function homing_local_planner::is_close
Defined in File misc.hpp
Function Documentation
-
inline bool homing_local_planner::is_close(double a, double b, double epsilon = 1e-4)
Check whether two variables (double) are close to each other.
- Parameters:
a – the first value to compare
b – the second value to compare
epsilon – precision threshold
- Returns:
true
if |a-b| < epsilon, false otherwise