[ros-users] dynamic_reconfigure questions

Jack O'Quin jack.oquin at gmail.com
Thu Jun 17 14:22:03 UTC 2010


On Thu, Jun 17, 2010 at 7:02 AM, Bill Morris <morris at ee.ccny.cuny.edu> wrote:
> Is dynamic_reconfigure expected to be API stable for the C-Turtle
> release?
>
> How is the startup order controlled in a launch file? As far I can tell
> the timing and order is intentionally indeterminate, so the nodes
> parameters may not be set until the node is launched. Is this correct?
>
> <launch>
>  <node pkg="hokuyo_node" type="hokuyo_node" name="hokuyo_node"
> output="screen">
>    <param name="frame_id" value="/laser"/>
>  </node>
>  <node name="$(anon dynparam)" pkg="dynamic_reconfigure"
> type="dynparam" args="set_from_parameters hokuyo_node">
>    <param name="min_ang" type="double" value="-1.0" />
>    <param name="max_ang" type="double" value="1.0" />
>  </node>
> </launch>
>
> Is dynamic_reconfigure seen as a replacement for the current method of
> setting parameters or should nodes support both methods for C-Turtle?

You can just set the parameters as usual. Dynamic reconfigure will
pick up the values from the parameter server when it starts and update
them when they change.
-- 
 joq



More information about the ros-users mailing list