MoveIt Studio Behavior
2.8.2
Core Behaviors for the MoveIt Studio Application
|
Functions | |
template<> | |
std::vector< std::string > | convertFromString< std::vector< std::string > > (BT::StringView str) |
Template specialization of convertToString to split a string into a vector of strings. More... | |
|
inline |
Template specialization of convertToString to split a string into a vector of strings.
Splits at semicolons (;
), so an input of "first;second;third" is split into a vector containing ["first", "second", "third"]. This allows the ForEach<std::string> decorator to parse the input vector from the input data port as a single string, which makes it much easier to use this node within the objective editor.
str | Input string to convert. |