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

#include <JointController.h>

List of all members.

Public Member Functions

void clearFaults ()
double getEffortTarget ()
void getJointLimits (double &lowLimit, double &highLimit)
const
nasa_r2_common_msgs::JointStatus
getJointStatus () const
double getPosTarget ()
double getVelTarget ()
 JointController (physics::JointPtr _jointPtr, bool _advancedMode=false)
void releaseBrake (bool release=true)
void setEffortTarget (double target)
void setJointControl (const nasa_r2_common_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
nasa_r2_common_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 69 of file JointController.h.

Enumerator:
OK 

Definition at line 70 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 39 of file JointController.h.

void gazebo::JointController::getJointLimits ( double &  lowLimit,
double &  highLimit 
) [inline]

Definition at line 41 of file JointController.h.

Definition at line 163 of file JointController.cpp.

Definition at line 37 of file JointController.h.

Definition at line 38 of file JointController.h.

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 66 of file JointController.h.

Definition at line 64 of file JointController.h.

Definition at line 73 of file JointController.h.

Definition at line 72 of file JointController.h.

Definition at line 62 of file JointController.h.

Definition at line 74 of file JointController.h.

Definition at line 77 of file JointController.h.

Definition at line 76 of file JointController.h.

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

Definition at line 55 of file JointController.h.

Definition at line 60 of file JointController.h.

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

Definition at line 57 of file JointController.h.

Definition at line 61 of file JointController.h.

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

Definition at line 58 of file JointController.h.


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


gazebo_interface
Author(s): rctaylo2
autogenerated on Mon Oct 6 2014 02:44:38