Skip to content

Commit d0ba3f1

Browse files
authored
Refactor: Fixed whitespace spacing.
1 parent e685997 commit d0ba3f1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

joint_trajectory_controller/include/joint_trajectory_controller/interpolation_methods.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ inline std::string convert_to_lowercase(const std::string & str)
4040
return s;
4141
}
4242

43-
} // namespace
44-
43+
} // namespace
4544

4645
/// \brief Setup interpolation_methods' rclcpp::Logger instance.
4746
static const rclcpp::Logger LOGGER =
@@ -100,15 +99,15 @@ const std::unordered_map<std::string, InterpolationMethod> InterpolationMethodMa
10099
*
101100
* \returns The corresponding InterpolationMethod.
102101
*
103-
* \note If interpolation_method does not have any corresponding InterpolationMethod
102+
* \note If interpolation_method does not have any corresponding InterpolationMethod
104103
* (i.e., "Unknown"), it defaults to `InterpolationMethod::VARIABLE_DEGREE_SPLINE`.
105104
*/
106105
[[nodiscard]] inline InterpolationMethod from_string(const std::string & interpolation_method)
107106
{
108107
// Convert to lowercase, so we have an case-agnostic checking,
109108
// (i.e., None and none, etc are treated same.)
110109
std::string method = convert_to_lowercase(interpolation_method);
111-
110+
112111
// Iterator to InterpolationMethodMap
113112
const auto iterator = InterpolationMethodMap.find(method);
114113

0 commit comments

Comments
 (0)