All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
gazebo::physics::UniversalJoint< T > Class Template Reference

A universal joint. More...

#include <physics/physics.hh>

Inheritance diagram for gazebo::physics::UniversalJoint< T >:
Inheritance graph
[legend]

Public Types

enum  AxisIndex { AXIS_PARENT = 0, AXIS_CHILD = 1 }
 Map joint axes to corresponding link. More...
 

Public Member Functions

 UniversalJoint (BasePtr _parent)
 Constructor. More...
 
virtual ~UniversalJoint ()
 Destuctor. More...
 
virtual unsigned int GetAngleCount () const
 
virtual void Load (sdf::ElementPtr _sdf)
 Load a UniversalJoint. More...
 

Protected Member Functions

virtual void Init ()
 Initialize joint. More...
 

Detailed Description

template<class T>
class gazebo::physics::UniversalJoint< T >

A universal joint.

Axis1 and axis2 are body-fixed, with axis1 attached to parent body and axis2 attached to child body.

Member Enumeration Documentation

Map joint axes to corresponding link.

Enumerator
AXIS_PARENT 
AXIS_CHILD 

Constructor & Destructor Documentation

template<class T>
gazebo::physics::UniversalJoint< T >::UniversalJoint ( BasePtr  _parent)
inlineexplicit

Constructor.

Parameters
[in]_parentParent link of the univeral joint.
template<class T>
virtual gazebo::physics::UniversalJoint< T >::~UniversalJoint ( )
inlinevirtual

Destuctor.

Member Function Documentation

template<class T>
virtual unsigned int gazebo::physics::UniversalJoint< T >::GetAngleCount ( ) const
inlinevirtual
template<class T>
virtual void gazebo::physics::UniversalJoint< T >::Init ( )
inlineprotectedvirtual

Initialize joint.

Reimplemented in gazebo::physics::DARTUniversalJoint.

template<class T>
virtual void gazebo::physics::UniversalJoint< T >::Load ( sdf::ElementPtr  _sdf)
inlinevirtual

Load a UniversalJoint.

Parameters
[in]_sdfSDF values to load from.

Reimplemented in gazebo::physics::SimbodyUniversalJoint, and gazebo::physics::DARTUniversalJoint.


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