Skip to content

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

  1. Copy the template node:
cp -r ros2_workspace/src/example_nodes/ros2_hello_world ros2_workspace/src/my_new_node
  1. Update configuration files:
  2. Edit package.xml - update package name, description, and dependencies
  3. Edit CMakeLists.txt - update project name and build targets
  4. Modify source files and tests as needed

  5. Build the node:

make build
  1. Run tests:
make test
  1. Execute the node:
make run

Next Steps

  • Check existing nodes in ros2_workspace/src/ for implementation examples