TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
Joint Class Reference

#include <joint.h>

Inheritance diagram for Joint:
[legend]
Collaboration diagram for Joint:
[legend]

Public Types

enum class  Type {
  UNKNOWN , REVOLUTE , CONTINUOUS , PRISMATIC ,
  FLOATING , PLANAR , FIXED , UNIVERSAL
}
 

Public Member Functions

 Joint ()
 
 Joint (const Joint &rhs)
 
 Joint (Joint &&rhs) noexcept
 
void clear () override
 
bool isA (const char *name)
 
void print (std::ostream &os) override
 
bool empty () const override
 
const char * getTypename () override
 
void setDynamics (const std::shared_ptr< JointDynamics > d)
 
void setLimits (const std::shared_ptr< JointLimits > l)
 
void setSafety (const std::shared_ptr< JointSafety > s)
 
void setCalibration (const std::shared_ptr< JointCalibration > c)
 
void setMimic (const std::shared_ptr< JointMimic > m)
 
void setName (const std::string &name_)
 
void setType (const Type &t_)
 
void setType (const char *c_)
 
void setAxis (double x, double y, double z)
 
std::string getName () const
 
void pushBackChild (const std::string lk)
 
void pushBackParent (const std::string lk)
 
void pushBackTransform (const std::shared_ptr< Pose > t)
 
bool isChild (const char *name) const
 
bool isParent (const char *name) const
 
std::vector< std::shared_ptr< Pose > > getTransform () const
 
Vec3 getAxis () const
 

Additional Inherited Members

- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 

Member Enumeration Documentation

◆ Type

enum class Joint::Type
strong
Enumerator
UNKNOWN 
REVOLUTE 
CONTINUOUS 
PRISMATIC 
FLOATING 
PLANAR 
FIXED 
UNIVERSAL 

Constructor & Destructor Documentation

◆ Joint() [1/3]

Joint::Joint ( )

◆ Joint() [2/3]

Joint::Joint ( const Joint rhs)

◆ Joint() [3/3]

Joint::Joint ( Joint &&  rhs)
noexcept

Member Function Documentation

◆ clear()

void Joint::clear ( )
overridevirtual

Implements ObjectBase.

◆ empty()

bool Joint::empty ( ) const
overridevirtual

Implements ObjectBase.

◆ getAxis()

Vec3 Joint::getAxis ( ) const

◆ getName()

std::string Joint::getName ( ) const

◆ getTransform()

std::vector< std::shared_ptr< Pose > > Joint::getTransform ( ) const

◆ getTypename()

const char * Joint::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ isA()

bool Joint::isA ( const char *  name)
virtual

Implements ObjectBase.

◆ isChild()

bool Joint::isChild ( const char *  name) const

◆ isParent()

bool Joint::isParent ( const char *  name) const

◆ print()

void Joint::print ( std::ostream &  os)
overridevirtual

Implements ObjectBase.

◆ pushBackChild()

void Joint::pushBackChild ( const std::string  lk)

◆ pushBackParent()

void Joint::pushBackParent ( const std::string  lk)

◆ pushBackTransform()

void Joint::pushBackTransform ( const std::shared_ptr< Pose t)

◆ setAxis()

void Joint::setAxis ( double  x,
double  y,
double  z 
)

◆ setCalibration()

void Joint::setCalibration ( const std::shared_ptr< JointCalibration c)

◆ setDynamics()

void Joint::setDynamics ( const std::shared_ptr< JointDynamics d)

◆ setLimits()

void Joint::setLimits ( const std::shared_ptr< JointLimits l)

◆ setMimic()

void Joint::setMimic ( const std::shared_ptr< JointMimic m)

◆ setName()

void Joint::setName ( const std::string &  name_)

◆ setSafety()

void Joint::setSafety ( const std::shared_ptr< JointSafety s)

◆ setType() [1/2]

void Joint::setType ( const char *  c_)

◆ setType() [2/2]

void Joint::setType ( const Type t_)

The documentation for this class was generated from the following files: