Skip to content

Commit 4c646df

Browse files
authored
refactor: improve consistency (#17)
1 parent e2e2d36 commit 4c646df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ This ROS package contains all custom ROS 2 interfaces used in all workspaces
99
### Before you add a new custom interface: are you _really_ sure you need one?
1010
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.
1111

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).
1414

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.
1616
```cmake
1717
set(msg_files
1818
... # other messages
1919
"msg/YourNewMessage.msg"
2020
)
2121
```
2222

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
2424
```cmake
2525
set(srv_files
2626
... # other services
2727
"srv/YourNewService.srv"
2828
)
2929
```
3030

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
3232
```cmake
3333
set(action_files
3434
... # other actions

0 commit comments

Comments
 (0)