Public Member Functions | Private Types | Private Attributes
gazebo::JointController Class Reference

#include <JointController.h>

List of all members.

Public Member Functions

void clearFaults ()
const r2_msgs::JointStatusgetJointStatus () const
 JointController (physics::JointPtr _jointPtr, bool _advancedMode=false)
void releaseBrake (bool release=true)
void setEffortTarget (double target)
void setJointControl (const r2_msgs::JointControl::ConstPtr &msg)
void setPosPid (double _p=0.0, double _i=0.0, double _d=0.0, double _imax=0.0, double _imin=0.0, double _cmdMax=0.0, double _cmdMin=0.0)
void setPosTarget (double target)
void setVelPid (double _p=0.0, double _i=0.0, double _d=0.0, double _imax=0.0, double _imin=0.0, double _cmdMax=0.0, double _cmdMin=0.0)
void setVelTarget (double target)
void update (common::Time &stepTime)
 ~JointController ()

Private Types

enum  JointControlMode { POS_COM = 0, TORQ_COM = 1, IMP_COM = 2, VEL_COM = 3 }
enum  JointFault { OK = 0 }

Private Attributes

bool advancedMode
boost::mutex controllerMutex
JointControlMode controlMode
r2_msgs::JointStatusPtr currStatusPtr
double effort
JointFault fault
double jointHighLimit
double jointLowLimit
physics::JointPtr jointPtr
double position
common::PID posPid
double velocity
common::PID velPid

Detailed Description

Definition at line 19 of file JointController.h.


Member Enumeration Documentation

Enumerator:
POS_COM 
TORQ_COM 
IMP_COM 
VEL_COM 

Definition at line 63 of file JointController.h.

Enumerator:
OK 

Definition at line 64 of file JointController.h.


Constructor & Destructor Documentation

JointController::JointController ( physics::JointPtr  _jointPtr,
bool  _advancedMode = false 
)

Definition at line 10 of file JointController.cpp.

Definition at line 37 of file JointController.cpp.


Member Function Documentation

Definition at line 168 of file JointController.cpp.

Definition at line 163 of file JointController.cpp.

void JointController::releaseBrake ( bool  release = true)

Definition at line 175 of file JointController.cpp.

void JointController::setEffortTarget ( double  target)

Definition at line 79 of file JointController.cpp.

Definition at line 137 of file JointController.cpp.

void JointController::setPosPid ( double  _p = 0.0,
double  _i = 0.0,
double  _d = 0.0,
double  _imax = 0.0,
double  _imin = 0.0,
double  _cmdMax = 0.0,
double  _cmdMin = 0.0 
)

Definition at line 41 of file JointController.cpp.

void JointController::setPosTarget ( double  target)

Definition at line 55 of file JointController.cpp.

void JointController::setVelPid ( double  _p = 0.0,
double  _i = 0.0,
double  _d = 0.0,
double  _imax = 0.0,
double  _imin = 0.0,
double  _cmdMax = 0.0,
double  _cmdMin = 0.0 
)

Definition at line 48 of file JointController.cpp.

void JointController::setVelTarget ( double  target)

Definition at line 67 of file JointController.cpp.

void JointController::update ( common::Time &  stepTime)

Definition at line 91 of file JointController.cpp.


Member Data Documentation

Definition at line 60 of file JointController.h.

Definition at line 58 of file JointController.h.

Definition at line 67 of file JointController.h.

Definition at line 66 of file JointController.h.

Definition at line 56 of file JointController.h.

Definition at line 68 of file JointController.h.

Definition at line 71 of file JointController.h.

Definition at line 70 of file JointController.h.

physics::JointPtr gazebo::JointController::jointPtr [private]

Definition at line 49 of file JointController.h.

Definition at line 54 of file JointController.h.

common::PID gazebo::JointController::posPid [private]

Definition at line 51 of file JointController.h.

Definition at line 55 of file JointController.h.

common::PID gazebo::JointController::velPid [private]

Definition at line 52 of file JointController.h.


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


gazebo_interface
Author(s): rctaylo2
autogenerated on Thu Jan 2 2014 11:32:19