Creating a New ADORe ROS Node
This guide will walk through creating a new node that is auto-linked to all ADORe user libraries and messages.
Quick Start
- Copy the template node:
cp -r ros2_workspace/src/example_nodes/ros2_hello_world ros2_workspace/src/my_new_node
- Update configuration files:
- Edit
package.xml
- update package name, description, and dependencies - Edit
CMakeLists.txt
- update project name and build targets -
Modify source files and tests as needed
-
Build the node:
make build
- Run tests:
make test
- Execute the node:
make run
Next Steps
- Check existing nodes in
ros2_workspace/src/
for implementation examples