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
367 stars 175 forks source link

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

Closed mergify[bot] closed 2 months ago

mergify[bot] commented 2 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)


This is an automatic backport of pull request #509 done by Mergify.