Skip to content

Commit

Permalink
fix typo in example_7 - remove []() (#509) (#510)
Browse files Browse the repository at this point in the history
(cherry picked from commit c7c2e97)

Co-authored-by: Vladimir Fokow <57260995+VladimirFokow@users.noreply.github.com>
  • Loading branch information
mergify[bot] and VladimirFokow authored May 2, 2024
1 parent 3c7958c commit 84aa68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_7/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ The ``on_init`` method is called immediately after the controller plugin is dyna

.. code-block:: c++

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

controller_interface::CallbackReturn on_init(){
// declare and get parameters needed for controller initialization
Expand Down

0 comments on commit 84aa68c

Please sign in to comment.