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
- The statement checks if a message has already been received through intra-process communication
61
58
- The argument of `is_ready()` is of type `rcl_wait_set_t` type, but because the argument is not used within `is_ready()`, `nullptr` is used for the moment.
62
59
- Using `nullptr` is currently a workaround, as it has no intent.
63
60
64
61
- `std::shared_ptr<void> data = intra_process_sub->take_data();`
65
-
66
62
- This statement means to obtain a topic message from subscriptions for intra-process communication.
67
63
- `intra_process_sub->take_data()` does not return a boolean value indicating whether a message is received successfully or not, so it is necessary to check this by calling `is_ready()` beforehand
Copy file name to clipboardExpand all lines: docs/how-to-guides/others/add-a-custom-ros-message.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,9 @@
5
5
During the Autoware development, you will probably need to define your own messages. Read the following instructions before adding a custom message.
6
6
7
7
1. Message in [autoware_msgs](https://github.com/autowarefoundation/autoware_msgs) define interfaces of `Autoware Core`.
8
-
9
8
- If a contributor wishes to make changes or add new messages to `autoware_msgs`, they should first create a new discussion post under the [Design category](https://github.com/orgs/autowarefoundation/discussions/categories/design).
10
9
11
10
2. Any other minor or proposal messages used for internal communication within a component(such as planning) should be defined in another repository.
12
-
13
11
-[tier4_autoware_msgs](https://github.com/tier4/tier4_autoware_msgs) is an example of that.
14
12
15
13
The following is a simple tutorial of adding a message package to `autoware_msgs`. For the general ROS 2 tutorial, see [Create custom msg and srv files](http://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Custom-ROS2-Interfaces.html).
0 commit comments