Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 126

Dynamic reconfigure of gmapping parameters

$
0
0
Hello all, I'd like to change the gmapping parameters namely xmin, ymin, xmax, ymax dynamically. My first thought was to use the dynamic_reconfigure package, but it seemed that it requires changing the source code of the gmapping. My second thought was to use system calls from a different node to execute: `system("rosnode kill slam_gmapping");` `system("rosrun gmapping slam_gmapping xmin:=foo ymin:=bra xmax:=foo ymax:=bra &")` However, it seemed that the new gmapping process blocks the node from which the system calls were executed. Please note that I appended the ampersand in the end of the line, but it didn't help. Anyways, using system calls doesn't sound to be a very good way. What would be the common way to do this? Thank you in advance.

Viewing all articles
Browse latest Browse all 126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>