SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Typedefs | Functions
tao_util.cpp File Reference
#include "tao_util.hpp"
#include "strutil.hpp"
#include <tao/dynamics/taoNode.h>
#include <tao/dynamics/taoDNode.h>
#include <tao/dynamics/taoJoint.h>
#include <limits>
Include dependency graph for tao_util.cpp:

Typedefs

typedef std::map< int, int > jspace::id_counter_t
 

Functions

void jspace::mapNodesToIDs (std::map< int, taoDNode * > &idToNodeMap, taoDNode *node) throw (std::runtime_error)
 
int jspace::countNumberOfLinks (taoDNode *root)
 
int jspace::countNumberOfJoints (taoDNode *node)
 
int jspace::countDegreesOfFreedom (taoDNode *node)
 
double jspace::computeTotalMass (taoDNode *node)
 
static void jspace::_recurse_create_bare_tao_tree_info (STaoTreeInfo *tree_info, taoDNode *node)
 
STaoTreeInfo * jspace::create_bare_tao_tree_info (taoNodeRoot *root)
 
static void jspace::tao_collect_ids (taoDNode *node, id_counter_t &id_counter)
 
int jspace::tao_consistency_check (taoNodeRoot *root, std::ostream *msg)
 

Detailed Description

Author
Roland Philippsen (roland DOT philippsen AT gmx DOT net)