Skip to content

Commit

Permalink
Fix wrong method name in write new controller doc (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusmenezes95 authored Aug 5, 2024
1 parent 9ab8205 commit fa301f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/writing_new_controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The following is a step-by-step guide to create source files, basic tests, and c
5. Add a constructor without parameters and the following public methods overriding the ``ControllerInterface`` definition: ``on_init``, ``command_interface_configuration``, ``state_interface_configuration``, ``on_configure``, ``on_activate``, ``on_deactivate``, ``update``.
For exact definitions check the ``controller_interface/controller_interface.hpp`` header or one of the controllers from `ros2_controllers <https://github.com/ros-controls/ros2_controllers>`_.

6. (Optional) The NodeOptions of the LifecycleNode can be personalized by overriding the default method ``get_node_options``.
6. (Optional) The NodeOptions of the LifecycleNode can be personalized by overriding the default method ``define_custom_node_options``.

7. (Optional) Often, controllers accept lists of joint names and interface names as parameters.
If so, you can add two protected string vectors to store those values.
Expand Down

0 comments on commit fa301f4

Please sign in to comment.