ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

C++ node to change dynamic reconfigure parameters

asked 2013-10-07 12:40:38 -0600

SaiHV gravatar image


I am using the turtlebot navigation move_base packages for my work and I would like to know if it's possible to change the planner parameters through a CPP API such as the max, min velocity and acceleration on the fly. I know move_base uses the dynamic reconfigure server, how can those parameters be accessed through a cpp program, for instance?

Thanks, Sai

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-10-08 12:28:29 -0600

Thomas D gravatar image

This question has several helpful answers, including a working example for modifying dynamic reconfigure parameters from a roscpp node.

edit flag offensive delete link more


That worked, thank you!

SaiHV gravatar image SaiHV  ( 2013-10-08 13:27:07 -0600 )edit

answered 2013-10-08 04:15:17 -0600

thebyohazard gravatar image

According to this tutorial from 2010, it's not yet implemented. I didn't see any cpp on the git repository, either. : (

The current suggestion on the tutorial is to use system command as a workaround.

edit flag offensive delete link more


David Lu gravatar image David Lu  ( 2013-10-08 05:10:33 -0600 )edit

That pretty much was what I would've resorted to, but Thomas D's link had a roscpp implementation that worked. Thanks.

SaiHV gravatar image SaiHV  ( 2013-10-08 13:28:09 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2013-10-07 12:40:38 -0600

Seen: 3,131 times

Last updated: Oct 08 '13