Function pfield::rateLimitStep
Defined in File pfield_common.hpp
Function Documentation
-
inline Eigen::Vector3d pfield::rateLimitStep(const Eigen::Vector3d &prev, const Eigen::Vector3d &curr, double dMax)
Limits the step from a previous vector (typically velocity) to another vector.
- Parameters:
prev – The previous vector
curr – The current vector to compute the step towards
dMax – The maximum allowed step size
- Returns:
Eigen::Vector3d The rate-limited vector