Skip to content

Commit

Permalink
fix typo in example_7 - remove []() (#509) (#511)
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 committed May 2, 2024
1 parent 7ad8c37 commit 6e4f4cb
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 6e4f4cb

Please sign in to comment.