Re: [ros-users] dynamic_reconfigure questions

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jack O'Quin
Date:  
To: morris, ros-users
Subject: Re: [ros-users] dynamic_reconfigure questions
On Thu, Jun 17, 2010 at 7:02 AM, Bill Morris <> 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