Skip to content

Commit

Permalink
remove leftover comment that is not relevant anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Oct 16, 2024
1 parent d06687a commit 3ac3608
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion samples/ros2_cpp_all_pkg/src/ros2_cpp_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ void Ros2CppNode::declareAndLoadParameter(const std::string& name,
}

if (add_to_auto_reconfigurable_params) {
// TODO: why so complicated, storing lambda functions? / why vector, not map?
std::function<void(const rclcpp::Parameter&)> setter = [&param](const rclcpp::Parameter& p) {
param = p.get_value<T>();
};
Expand Down
1 change: 0 additions & 1 deletion samples/ros2_cpp_component_pkg/src/ros2_cpp_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ void Ros2CppNode::declareAndLoadParameter(const std::string& name,
}

if (add_to_auto_reconfigurable_params) {
// TODO: why so complicated, storing lambda functions? / why vector, not map?
std::function<void(const rclcpp::Parameter&)> setter = [&param](const rclcpp::Parameter& p) {
param = p.get_value<T>();
};
Expand Down
1 change: 0 additions & 1 deletion samples/ros2_cpp_lifecycle_pkg/src/ros2_cpp_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ void Ros2CppNode::declareAndLoadParameter(const std::string& name,
}

if (add_to_auto_reconfigurable_params) {
// TODO: why so complicated, storing lambda functions? / why vector, not map?
std::function<void(const rclcpp::Parameter&)> setter = [&param](const rclcpp::Parameter& p) {
param = p.get_value<T>();
};
Expand Down
1 change: 0 additions & 1 deletion samples/ros2_cpp_pkg/src/ros2_cpp_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ void Ros2CppNode::declareAndLoadParameter(const std::string& name,
}

if (add_to_auto_reconfigurable_params) {
// TODO: why so complicated, storing lambda functions? / why vector, not map?
std::function<void(const rclcpp::Parameter&)> setter = [&param](const rclcpp::Parameter& p) {
param = p.get_value<T>();
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ void {{ node_class_name }}::declareAndLoadParameter(const std::string& name,
}

if (add_to_auto_reconfigurable_params) {
// TODO: why so complicated, storing lambda functions? / why vector, not map?
std::function<void(const rclcpp::Parameter&)> setter = [&param](const rclcpp::Parameter& p) {
param = p.get_value<T>();
};
Expand Down

0 comments on commit 3ac3608

Please sign in to comment.