Ask Your Question
2

save nested lists on parameter server

asked 2015-10-01 04:45:19 -0500

MVR gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-19 03:50:29 -0500

joe gravatar image

updated 2015-10-21 06:03:24 -0500

Use the "system" function:

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

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-01 04:45:19 -0500

Seen: 371 times

Last updated: Oct 21 '15