[Documentation] [TitleIndex] [WordIndex

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Setting Up Dynamic Reconfigure for a Node

Description: Setting Up Dynamic Reconfigure for a Node

Keywords: dynamic_reconfigure configure cpp

Tutorial Level: INTERMEDIATE

A simple example of a dynamically reconfigurable node can be found under dynamic_reconfigure/test

Setting Up Dynamic Reconfigure for a Node

This example shows how to setup a dynamic reconfigure node to reconfigure variables in the ROS message driver_base/SensorLevels.h. Suppose you are adding the dynamic reconfigure server node to your package which we'll refer to as your_package from now on.

  1. Make your package depend on dynamic_reconfigure by adding this line to your manifest.xml,

      <depend package="dynamic_reconfigure" />
  2. or if your ROS distribution is Groovy or higher use this:
      <build_depend>dynamic_reconfigure</build_depend>
      <run_depend>dynamic_reconfigure</run_depend>

The example below will also need

  1. taken directly from forearm camera configuration. (1)


2019-09-21 12:36