You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,26 +9,26 @@ This ROS package contains all custom ROS 2 interfaces used in all workspaces
9
9
### Before you add a new custom interface: are you _really_ sure you need one?
10
10
First have a look in the [common_interfaces](https://github.com/ros2/common_interfaces) repository to find out if any of the message and service types included in ROS 2 works for you.
11
11
12
-
### Adding a new message type
13
-
Create a new message description file in[msg](msg).
12
+
### Adding a new custom interface
13
+
New message definitions are added to[msg](msg).
14
14
15
-
Add the message in the list of messages in the [CMakeLists.txt](CMakeLists.txt) file.
15
+
Add the new message in the [CMakeLists.txt](CMakeLists.txt) file.
16
16
```cmake
17
17
set(msg_files
18
18
... # other messages
19
19
"msg/YourNewMessage.msg"
20
20
)
21
21
```
22
22
23
-
For services and actions it is the same way. Service definitions are added to [srv](srv), and to the `CMakeLists.txt` like
23
+
For services and actions it is the same way. Service definitions are added to [srv](srv), and to the [CMakeLists.txt](CMakeLists.txt) like
24
24
```cmake
25
25
set(srv_files
26
26
... # other services
27
27
"srv/YourNewService.srv"
28
28
)
29
29
```
30
30
31
-
Action definitions are added to [action](action), and to the `CMakeLists.txt` like
31
+
Action definitions are added to [action](action), and to the [CMakeLists.txt](CMakeLists.txt) like
0 commit comments