Function joint_trajectory_controller::interpolation_methods::from_string
Defined in File interpolation_methods.hpp
Function Documentation
-
inline InterpolationMethod joint_trajectory_controller::interpolation_methods::from_string(const std::string &interpolation_method)
Creates a
InterpolationMethodenum class value from a string. This function directly looks up for correspondingInterpolationMethodbased on interpolation_method string (case-agnostic).Note
If interpolation_method does not have any corresponding InterpolationMethod (i.e., “Unknown”), it defaults to
DEFAULT_INTERPOLATION.- Parameters:
interpolation_method – [in] The given interpolation method string.
- Returns:
The corresponding InterpolationMethod.