Specialized Template Function BT::convertFromString< std::vector< float > >
Defined in File behavior_tree_utils.hpp
Function Documentation
-
template<>
inline std::vector<float> BT::convertFromString<std::vector<float>>(StringView str) Converts a string to a vector of float.
- Parameters:
str – The string to convert.
- Throws:
BT::RuntimeError – Throws when there is no input or cannot parse float.
- Returns:
std::vector<float> The vector of float.