diff --git a/example_7/doc/userdoc.rst b/example_7/doc/userdoc.rst index 480e78f5e..46ad59c25 100644 --- a/example_7/doc/userdoc.rst +++ b/example_7/doc/userdoc.rst @@ -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