Skip to content

Commit 214e333

Browse files
Remove visibility include from docs (#1462)
1 parent 2375aca commit 214e333

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/writing_new_controller.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ The following is a step-by-step guide to create source files, basic tests, and c
2222
After creating the package, you should have at least ``CMakeLists.txt`` and ``package.xml`` files in it.
2323
Create also ``include/<PACKAGE_NAME>/`` and ``src`` folders if they do not already exist.
2424
In ``include/<PACKAGE_NAME>/`` folder add ``<controller_name>.hpp`` and ``<controller_name>.cpp`` in the ``src`` folder.
25-
Optionally add ``visibility_control.h`` with the definition of export rules for Windows.
26-
You can copy this file from an existing controller package and change the name prefix to the ``<PACKAGE_NAME>``.
2725

2826
3. **Adding declarations into header file (.hpp)**
2927

3028
1. Take care that you use header guards. ROS 2-style is using ``#ifndef`` and ``#define`` preprocessor directives. (For more information on this, a search engine is your friend :) ).
3129

32-
2. include ``"controller_interface/controller_interface.hpp"`` and ``visibility_control.h`` if you are using one.
30+
2. include ``"controller_interface/controller_interface.hpp"``.
3331

3432
3. Define a unique namespace for your controller. This is usually a package name written in ``snake_case``.
3533

0 commit comments

Comments
 (0)