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

param server C++ lists

$
0
0
I'm defining config vectors through the param server using yaml files: sample: *velocity_controller/velocity_max: [0.3, 0.2, 0.2, 0.0, 0.0, 0.5]* If I want to parse these vectors from a python node I use this code: *_velocity_max = array( rospy.get_param("velocity_controller/velocity_max") )* However, in C++, using the *ros::param::getCached()* I'm only able to parse the following types: *string, int, double, bool or XmlRpcValue*. How I can import my values into a *std::vector* ? Thank you!

Viewing all articles
Browse latest Browse all 16

Latest Images

Trending Articles





Latest Images