ros-controls / ros2_control_demos

This repository aims at providing examples to illustrate ros2_control and ros2_controllers
https://control.ros.org
Apache License 2.0
399 stars 186 forks source link

[doc] fix typo in example_7 - remove `[]()` #509

Closed VladimirFokow closed 5 months ago

VladimirFokow commented 5 months ago

General

I've removed []() from the end here:

using CallbackReturn = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn;[]()

I don't think that's a valid C++ syntax (sorry, I'm a beginner in C++). Also, because the actual code doesn't have []()

(This change can be backported to Humble & Iron)