Skip to Content
Make: Volume 95
book

Make: Volume 95

by Dale Dougherty
November 2025
Beginner to intermediate
128 pages
6h 43m
English
Make: Community
Content preview from Make: Volume 95
creating nodes. Note that we used ament_python
as the build type, which tells ROS 2 that we intend
to use Python to create nodes in this package.
We will write our source code in my_first_pkg/
my_first_pkg/. The other files in my_first_pkg/
help ROS understand how to build and install our
package.
The workspace contains a number of other
example packages from the GitHub repository,
such as my_bringup and my_cpp_pkg. You
are welcome to explore those to see how to
implement other nodes and features in ROS.
CREATE PUBLISHER AND SUBSCRIBER
NODES
Create a new file named my_publisher.py in my_
first_pkg/my_first_pkg/ and open it in VS Code:
code ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Make: Volume 94

Make: Volume 94

Dale Dougherty
Make: Volume 83

Make: Volume 83

Dale Dougherty
Make: Volume 87

Make: Volume 87

Dale Dougherty
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0636920346463Errata Page