Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

MotorController Class Reference

Sync entries here with those in KinematicJoint::ControllerInfo. More...

#include <MotorControllers.h>

Inheritance diagram for MotorController:

Detailed Description

Sync entries here with those in KinematicJoint::ControllerInfo.

Definition at line 164 of file MotorControllers.h.

List of all members.

Public Member Functions

 MotorController (const plist::Primitive< float > &tgt_, ConstraintInterface &c)
virtual ~MotorController ()
virtual void updateControllerResponse (float dt)=0

Public Attributes

const plist::Primitive< float > & tgt
ConstraintInterfaceconstraint
plist::Primitive< bool > velocity
plist::Primitive< bool > forceControl
 If true, simulation will use force control to move the joint rather than using position constraints. Grippers should set this to true for more realistic object interaction.

Constructor & Destructor Documentation

MotorController::MotorController ( const plist::Primitive< float > &  tgt_,
ConstraintInterface c 
)

Definition at line 166 of file MotorControllers.h.

virtual MotorController::~MotorController (  )  [virtual]

Definition at line 173 of file MotorControllers.h.


Member Function Documentation

virtual void MotorController::updateControllerResponse ( float  dt  )  [pure virtual]

Member Data Documentation

If true, simulation will use force control to move the joint rather than using position constraints. Grippers should set this to true for more realistic object interaction.

Definition at line 181 of file MotorControllers.h.

Referenced by MotorController().

Definition at line 180 of file MotorControllers.h.

Referenced by MotorController().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:13 2016 by Doxygen 1.6.3