Here we show where the ROS Params are dumped when we use the “system()” function in C++ , as asked on this question: https://answers.ros.org/question/267467/yaml-dump-using-c/
Q: How do i dump my param values into a yaml file using C++? I tried system(“rosparam dump example.yaml”); but no luck..
A: ROS Params are dumped at the working directory unless you pass the /full/path/to/dump.yaml as argument, like: rosparam dump /full/path/to/dump.yaml
0 Comments