|
void | ParseThreeVectorValue (const char *strval, Eigen::Vector3d *val) |
| Parses a three vector value from parameter strval . More...
|
|
double | StringToDouble (const string &str) |
| Converts a string to a double value. More...
|
|
void | ParseThreeVectorValue (const tinyxml2::XMLElement *node, Eigen::Vector3d *val) |
| Parses a three vector value from parameter node , which is an XML node. More...
|
|
void | ParseThreeVectorValue (const tinyxml2::XMLElement *node, const char *element_name, Eigen::Vector3d *val) |
| Parses a three vector value from parameter node , which is an XML node. More...
|
|
void | ParseThreeVectorAttribute (const tinyxml2::XMLElement *node, const char *attribute_name, Eigen::Vector3d *val) |
| Parses a three vector value from parameter node , which is an XML node. More...
|
|
bool | parseVectorAttribute (const tinyxml2::XMLElement *node, const char *attribute_name, Eigen::Vector3d &val) |
|
bool | parseVectorAttribute (const tinyxml2::XMLElement *node, const char *attribute_name, Eigen::Vector4d &val) |
|
bool | parseVectorValue (tinyxml2::XMLElement *node, const char *element_name, Eigen::Vector3d &val) |
|
bool | parseVectorValue (tinyxml2::XMLElement *node, const char *element_name, Eigen::Vector4d &val) |
|
bool | parseStringValue (tinyxml2::XMLElement *node, const char *element_name, std::string &val) |
|
void | originAttributesToTransform (tinyxml2::XMLElement *node, Eigen::Isometry3d &T) |
|
void | poseValueToTransform (tinyxml2::XMLElement *node, const PoseMap &pose_map, Eigen::Isometry3d &T, const Eigen::Isometry3d &T_default_frame) |
|
void | populatePackageMap (map< string, string > &package_map) |
|
string | resolveFilename (const string &filename, const map< string, string > &package_map, const string &root_dir) |
|
void ParseThreeVectorValue |
( |
const char * |
strval, |
|
|
Eigen::Vector3d * |
val |
|
) |
| |
Parses a three vector value from parameter strval
.
There are two formats of strval
that can be successfully parsed. The first format is "val1 val2 val3" where val1, val2, and val3 are double values. The second valid format is "val" where val is a double type. In this case, this method automatically converts the val1 scalar value into a three vector by using the same scalar value for all three dimensions.
- Parameters
-
[in] | strval | A pointer to the character array describing a three vector or a scalar value. |
[out] | val | The three vector into which the results should be stored. |
- Returns
- Whether the three vector was successfully parsed from
strval
.
- Exceptions
-
std::invalid_argument | If any problem is encountered parsing the three vector value. |
void ParseThreeVectorValue |
( |
const tinyxml2::XMLElement * |
node, |
|
|
const char * |
element_name, |
|
|
Eigen::Vector3d * |
val |
|
) |
| |
Parses a three vector value from parameter node
, which is an XML node.
The value is contained in an element within node
, as specified by parameter element_name
. This method also supports a three vector specified by a single scalar value, which it automatically converts into a three vector by using the same scalar value for all three dimensions.
- Parameters
-
[in] | node | A pointer to the XML element node that contains either a three vector or a scalar value. |
[in] | element_name | The name of the child XML element containing the scale three vector or scalar value. |
[out] | val | The three vector where the results should be stored. |
- Returns
- Whether the three vector was successfully parsed from the XML element node.
- Exceptions
-
std::invalid_argument | If any problem is encountered parsing the three vector value. |