On the .cfg file you need to put #!/usr/bin/python or #!/usr/bin/env python or something at the top, otherwise it trys to parse it as a bash script, at least for me anyways. Thanks, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ William Woodall Graduate Software Engineering Auburn University w@auburn.edu wjwwood@gmail.com 256-345-9938 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Sat, May 29, 2010 at 4:02 PM, John Hsu wrote: > Having been through this once, I figure a tutorial might be useful, so I > added > > http://www.ros.org/wiki/dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode > > Adam, > can you verify what I have written down is correct? > thanks, > John > > > On Sat, May 29, 2010 at 1:18 PM, Radu Bogdan Rusu wrote: > >> Hi Adam, >> >> Most (if not all) PCL nodelets use dynamic_reconfigure, so you could try >> that too. Search for onInit (). >> >> Cheers, >> Radu. >> >> On 05/28/2010 08:27 PM, Adam Leeper wrote: >> > Hi all- >> > >> > Is there an example or tutorial for writing a node in c++ that can be >> > reconfigured using dynamic reconfigure? I've been trying to look at the >> > Hokuyo node code as an example, which is fairly dense because of all the >> > driver stuff in there too. Is there a lighter-weight node that would >> > serve as a good example of using dynamic reconfigure? >> > >> > Thanks, >> > Adam >> > >> > >> > >> > Adam Leeper >> > Stanford University >> > aleeper@stanford.edu >> > 719.358.3804 >> > >> > >> > >> > _______________________________________________ >> > ros-users mailing list >> > ros-users@code.ros.org >> > https://code.ros.org/mailman/listinfo/ros-users >> >> -- >> | Radu Bogdan Rusu | http://rbrusu.com/ >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > >