Function nav2_util::parseVVF

Function Documentation

std::vector<std::vector<float>> nav2_util::parseVVF(const std::string &input, std::string &error_return)

Parse a vector of vectors of floats from a string.

On error, error_return is set and the return value could be anything, like part of a successful parse.

Parameters:

error_return – If no error, error_return is set to “”. If error, error_return will describe the error. Syntax is [[1.0, 2.0], [3.3, 4.4, 5.5], …]