Function homing_local_planner::fast_sigmoid

Function Documentation

inline double homing_local_planner::fast_sigmoid(double x)

Calculate a fast approximation of a sigmoid function.

The following function is implemented: \( x / (1 + |x|) \)

Parameters:

x – the argument of the function