Privacy
An open-source, flexible 3D physical simulation framework
utils.cpp File Reference
#include "utils.h"
#include <cstdio>
#include <cmath>
#include <sstream>
#include <iostream>
#include <cassert>

Go to the source code of this file.

Namespaces

 mars
 Copyright 2012, DFKI GmbH Robotics Innovation Center.
 
 mars::interfaces
 

Functions

void mars::interfaces::getAbsFromRel (const NodeData &node1, NodeData *node2)
 get the absolute position of a new node by its relative position More...
 
void mars::interfaces::getRelFromAbs (const NodeData &node1, NodeData *node2)
 
const char * mars::interfaces::getJointTypeString (JointType type)
 Return a string for the joint-type. More...
 
JointType mars::interfaces::getJointType (const std::string &text)
 Helper function to get type-id from string in scene file. More...
 

Variables

static const char * mars::interfaces::sJointTypeStrings [NUMBER_OF_JOINT_TYPES]