Skip to content

Commit

Permalink
fix typo in example_7 - remove []() (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirFokow authored May 2, 2024
1 parent 436d3c6 commit c7c2e97
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 c7c2e97

Please sign in to comment.