Function joint_trajectory_controller::interpolation_methods::to_string

Function Documentation

inline std::string joint_trajectory_controller::interpolation_methods::to_string(const InterpolationMethod &interpolation_method)

Returns corresponding string value for the InterpolationMethod. This function uses simple switch-case lookup to directly assign string value to InterpolationMethod.

Note

Defaults to return “UNKNOWN”.

Parameters:

interpolation_method[in] The InterpolationMethod enum value.

Returns:

The corresponding string.