Namespaces | Functions
industrial_utils Namespace Reference

Namespaces

namespace  param

Functions

bool findChainJointNames (const boost::shared_ptr< const urdf::Link > &link, bool ignore_fixed, std::vector< std::string > &joint_names)
bool isSame (const std::vector< std::string > &lhs, const std::vector< std::string > &rhs)
 Checks to see if sets are the same(same members, same order) Wraps std::equal method.
bool isSimilar (std::vector< std::string > lhs, std::vector< std::string > rhs)
 Checks to see if sets are similar(same members, any order) NOTE: Vectors are passed by copy because they are modified by the function(i.e. ordered). This function should not be used for large vectors or in loops (it is slow!)

Function Documentation

bool industrial_utils::findChainJointNames ( const boost::shared_ptr< const urdf::Link > &  link,
bool  ignore_fixed,
std::vector< std::string > &  joint_names 
)

Definition at line 72 of file utils.cpp.

bool industrial_utils::isSame ( const std::vector< std::string > &  lhs,
const std::vector< std::string > &  rhs 
)

Checks to see if sets are the same(same members, same order) Wraps std::equal method.

Parameters:
lhsfirst vector
rhssecond vector
Returns:
true set are similar (same members, same order)

Definition at line 57 of file utils.cpp.

bool industrial_utils::isSimilar ( std::vector< std::string >  lhs,
std::vector< std::string >  rhs 
)

Checks to see if sets are similar(same members, any order) NOTE: Vectors are passed by copy because they are modified by the function(i.e. ordered). This function should not be used for large vectors or in loops (it is slow!)

Parameters:
lhsfirst vector
rhssecond vector
Returns:
true set are similar (same members, any order)

Definition at line 39 of file utils.cpp.



industrial_utils
Author(s): Shaun M. Edwards
autogenerated on Fri Aug 28 2015 11:12:05