Ask Your Question
0

C++ node to change dynamic reconfigure parameters

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

SaiHV gravatar image

Hello,

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
0

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

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

Comments

That worked, thank you!

SaiHV gravatar imageSaiHV ( 2013-10-08 13:27:07 -0500 )edit
1

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

tbh 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

Comments

2
David Lu gravatar imageDavid Lu ( 2013-10-08 05:10:33 -0500 )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 imageSaiHV ( 2013-10-08 13:28:09 -0500 )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

2 followers

Stats

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

Seen: 2,422 times

Last updated: Oct 08 '13