Skip to content

Commit a0c0ca1

Browse files
authored
update notes on using messages from same pkg
1 parent 88f7e75 commit a0c0ca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/cmake.md

+4
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ install(
107107
It is generally best practice to put messages in separate packages, but sometimes,
108108
especially for drivers, you want the messages in the same package.
109109

110+
The following example worked in earlier versions of ROS2 - but the syntax has changed
111+
See the [Implementing custom interfaces tutorial](https://docs.ros.org/en/rolling/Tutorials/Beginner-Client-Libraries/Single-Package-Define-And-Use-Interface.html#link-against-the-interface) for newer ROS2 distributions.
112+
110113
```cmake
114+
# Note: this WILL NOT work in ROS2 Humble or later
111115
find_package(rosidl_default_generators REQUIRED)
112116
113117
# Generate some messages

0 commit comments

Comments
 (0)