Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update README #17

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ This ROS package contains all custom ROS 2 interfaces used in all workspaces
### Before you add a new custom interface: are you _really_ sure you need one?
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.

### Adding a new message type
Create a new message description file in [msg](msg).
### Adding a new custom interface
New message definitions are added to [msg](msg).

Add the message in the list of messages in the [CMakeLists.txt](CMakeLists.txt) file.
Add the new message in the [CMakeLists.txt](CMakeLists.txt) file.
```cmake
set(msg_files
... # other messages
"msg/YourNewMessage.msg"
)
```

For services and actions it is the same way. Service definitions are added to [srv](srv), and to the `CMakeLists.txt` like
For services and actions it is the same way. Service definitions are added to [srv](srv), and to the [CMakeLists.txt](CMakeLists.txt) like
```cmake
set(srv_files
... # other services
"srv/YourNewService.srv"
)
```

Action definitions are added to [action](action), and to the `CMakeLists.txt` like
Action definitions are added to [action](action), and to the [CMakeLists.txt](CMakeLists.txt) like
```cmake
set(action_files
... # other actions
Expand Down