#include <stdexcept>
#include <string>
#include <vector>
#include <map>
Go to the source code of this file.
Namespaces | |
namespace | jspace |
Classes | |
struct | jspace::tao_node_info_s |
| |
struct | jspace::tao_tree_info_s |
Typedefs | |
typedef std::map< int, taoDNode * > | jspace::idToNodeMap_t |
Functions | |
tao_tree_info_s * | jspace::create_bare_tao_tree_info (taoNodeRoot *root) |
Create a minimal tao_tree_info_s from a TAO tree. | |
int | jspace::tao_consistency_check (taoNodeRoot *root,std::ostream *msg) |
Run a consistency check on a TAO tree. | |
void | jspace::mapNodesToIDs (idToNodeMap_t &idToNodeMap, taoDNode *node) throw (std::runtime_error) |
Create a map between tao nodes and IDs. | |
int | jspace::countNumberOfLinks (taoDNode *root) |
Count the total number of links connected to the given node, following all children in to the leaf nodes. | |
int | jspace::countNumberOfJoints (taoDNode *node) |
Count the total number of joints attached to the given node and all its descendants. | |
int | jspace::countDegreesOfFreedom (taoDNode *node) |
Count the total number of degrees of freedom of all the joints attached to the given node and all its descendants. | |
double | jspace::computeTotalMass (taoDNode *node) |
Sum up the mass of the given node plus all its descendants. |
Definition in file tao_util.hpp.