Robotics StackExchange | Archived questions

save nested lists on parameter server

Hy,

I want to save a nested list via setParam function (roscpp) on the parameter server. example list: [[1,2,3],[2,6,-1]]

It's easy to save a nested list via console or yaml file, but I don't know how to do it within the code via setParam ...

Thanks for your help

Asked by MVR on 2015-10-01 04:45:19 UTC

Comments

Answers

Use the "system" function:

system("rosparam dump $(rospack find abb_irb140_description)/obj_frame.yaml /robot_description");

Asked by joe on 2015-10-19 03:50:29 UTC

Comments