Public Member Functions | |
ManipulatorPIDPositionController (const robot::KinematicChain &chain) | |
ManipulatorPIDPositionController (const ManipulatorPIDPositionController &c) | |
virtual String | className () const |
virtual Object & | clone () const |
virtual void | setControlInterface (ref< ControlInterface > controlInterface) |
virtual bool | isConnected () const |
virtual bool | iterate (const base::Time &time) |
virtual ref< ControlInterface > | getControlInterface (String interfaceName="") throw (std::invalid_argument) |
Provide ControlInterface for named interface (or default/possibly-only interface). | |
void | setCoeffs (Real Kp, Real Ki=0, Real Kd=0) |
virtual bool | isSameKindAs (const ReferencedObject &) const |
virtual bool | isSameKindAs (const Object &) const |
void | reference () const |
bool | unreference () const |
const int | referenceCount () const |
void | enableOnUnreferenceCall (bool enabled) |
virtual void | onUnreference () const |
Protected Attributes | |
robot::KinematicChain | chain |
kinematic chain of the manipulator we're controlling | |
ref< robot::ControlInterface > | manipInterface |
interface for joint control of manipulator | |
ref< PositionInterface > | positionInterface |
interface we return for joint position control | |
Int | lastInputSize |
size of input on previous iteration | |
Int | lastOutputSize |
size of output on previous iteration | |
Real | Kp |
Real | Ki |
Real | Kd |
Vector | R |
Vector | pe |
Vector | s |
int | _refCount |
bool | onUnreferenceEnabled |
Requires the following ControlInterface (:type)
:JointVelocityControl
Provides the following ControlInterface (name:type)
manipulatorPosition:JointPositionControl
Definition at line 56 of file ManipulatorPIDPositionController.
|
Referenced by clone(). |
|
Definition at line 60 of file ManipulatorPIDPositionController. References manipInterface, and positionInterface. |
|
return the name of the object's class type. Must be defined by derived classes. Implements base::Object. Definition at line 64 of file ManipulatorPIDPositionController. |
|
Definition at line 65 of file ManipulatorPIDPositionController. References ManipulatorPIDPositionController(), and NewObj. |
|
If enabled, each call to unreference() will also call virtual method onUnreference() Definition at line 115 of file Referenced. References base::Referenced::onUnreferenceEnabled. |
|
Provide ControlInterface for named interface (or default/possibly-only interface).
Implements robot::Controllable. |
|
Query if the Controller has been passed all the ControlInterfaces it needs via setControlInterface() Reimplemented from robot::Controller. |
|
|
|
Definition at line 52 of file ReferencedObject. |
|
Execute an iteration of the control loop. returns true if it wants to quit the loop - however this may be ignored by the user/caller. Implements robot::Controller. |
|
Called by unreference() if enabled via enableOnUnreferenceCall(true). Typically overridden in subclasses that wish to know about unreference() calls - for example to handle manually breaking cyclic references Reimplemented in robot::control::ControllableAdaptor::AdaptorControlInterface, and robot::control::ControllableAdaptor. Definition at line 121 of file Referenced. Referenced by base::Referenced::unreference(). |
|
Increment the reference count by one, indicating that this object has another pointer which is referencing it. Definition at line 65 of file Referenced. References base::Referenced::_refCount. |
|
Return the number pointers currently referencing this object. Definition at line 112 of file Referenced. References base::Referenced::_refCount. Referenced by robot::control::ControllableAdaptor::AdaptorControlInterface::onUnreference(). |
|
Definition at line 77 of file ManipulatorPIDPositionController. |
|
Provide ControlInterface through which Controller may control. Can be called multiple times to pass multiple ControlInterfaces. Unknown ControlInterface types will be ignored. Implements robot::Controller. |
|
Decrement the reference count by one, indicating that a pointer to this object is referencing it. If the refence count goes to zero, it is assumed that this object is nolonger referenced and is automatically deleted. Definition at line 81 of file Referenced. References base::Referenced::_refCount, Exception, base::Referenced::onUnreference(), and base::Referenced::onUnreferenceEnabled. |
|
Definition at line 136 of file Referenced. Referenced by base::Referenced::reference(), base::Referenced::referenceCount(), base::Referenced::Referenced(), base::Referenced::unreference(), and base::Referenced::~Referenced(). |
|
kinematic chain of the manipulator we're controlling
Definition at line 108 of file ManipulatorPIDPositionController. |
|
Definition at line 118 of file ManipulatorPIDPositionController. |
|
Definition at line 117 of file ManipulatorPIDPositionController. |
|
Definition at line 116 of file ManipulatorPIDPositionController. |
|
size of input on previous iteration
Definition at line 113 of file ManipulatorPIDPositionController. |
|
size of output on previous iteration
Definition at line 114 of file ManipulatorPIDPositionController. |
|
interface for joint control of manipulator
Definition at line 110 of file ManipulatorPIDPositionController. Referenced by ManipulatorPIDPositionController(). |
|
Definition at line 137 of file Referenced. Referenced by base::Referenced::enableOnUnreferenceCall(), base::Referenced::Referenced(), and base::Referenced::unreference(). |
|
Definition at line 121 of file ManipulatorPIDPositionController. |
|
interface we return for joint position control
Definition at line 111 of file ManipulatorPIDPositionController. Referenced by ManipulatorPIDPositionController(). |
|
Definition at line 120 of file ManipulatorPIDPositionController. |
|
Definition at line 122 of file ManipulatorPIDPositionController. |