Public Types | |
enum | Type { Serial, Parallel } |
enum | ExternalizationType { Input = 1, Output = 2, IO = 3 } |
Public Member Functions | |
SimulatedManipulatorDescription () | |
SimulatedManipulatorDescription (String name, Matrix4 baseTransform, KinematicChain kinematicChain) | |
SimulatedManipulatorDescription (const ManipulatorDescription &md) | |
SimulatedManipulatorDescription (const SimulatedManipulatorDescription &md) | |
SimulatedManipulatorDescription & | operator= (const SimulatedManipulatorDescription &md) |
virtual String | className () const |
bool | operator== (const SimulatedManipulatorDescription &md) |
bool | operator!= (const SimulatedManipulatorDescription &md) |
Vector | initialConfiguration () const |
bool | hasGeometry () const |
array< Real > | getLinkRadii () const |
bool | hasLinkProximitySensors () const |
Real | linkProximitySensorRange () const |
virtual bool | formatSupported (const String format, Real version=1.0, ExternalizationType type=IO) const |
query if specific format is supported (for input, output or both) | |
virtual void | externalize (base::Externalizer &e, String format="", Real version=1.0) |
read or write object state to Externalizer | |
virtual void | externalize (base::Externalizer &e, String format="", Real version=1.0) const |
write object state to Externalizer (throws if e is in Input) | |
void | set (String name, Matrix4 baseTransform, KinematicChain kinematicChain) |
virtual Type | type () const |
virtual const KinematicChain & | getKinematicChain (Int p=0) const |
virtual Matrix4 | getBaseTransform () const |
the transformation from the mount origin to the base origin (the first joint) | |
bool | operator== (const ManipulatorDescription &md) |
bool | operator!= (const ManipulatorDescription &md) |
virtual const String & | getName () const |
void | load (ref< VFile > archive, const String &format="", Real version=1.0) |
void | save (ref< VFile > archive, const String &format="", Real version=1.0) |
virtual bool | isSameKindAs (const Object &) const |
virtual bool | isSameKindAs (const ReferencedObject &) const |
void | reference () const |
bool | unreference () const |
const int | referenceCount () const |
void | enableOnUnreferenceCall (bool enabled) |
virtual void | onUnreference () const |
Protected Member Functions | |
SimulatedManipulatorDescription (String name) | |
virtual void | setType (Type type) |
virtual void | setBaseTransform (const Matrix4 &m) |
virtual void | setKinematicChain (const KinematicChain &kc) |
virtual void | outputElementXML (base::Externalizer &e, base::dom::DOMElement *manipElem, String format, Real version) const |
virtual void | inputElementXML (base::Externalizer &e, base::dom::DOMElement *manipElem, String format, Real version) |
virtual void | setName (const String &name) |
Protected Attributes | |
Type | mtype |
Matrix4 | baseTransform |
depricated | |
KinematicChain | kinematicChain |
int | _refCount |
bool | onUnreferenceEnabled |
Friends | |
class | Robot |
Definition at line 41 of file SimulatedManipulatorDescription.
|
Definition at line 40 of file Externalizable. |
|
Definition at line 45 of file ManipulatorDescription. Referenced by robot::ManipulatorDescription::type(). |
|
Definition at line 44 of file SimulatedManipulatorDescription. |
|
Definition at line 46 of file SimulatedManipulatorDescription. |
|
Definition at line 51 of file SimulatedManipulatorDescription. |
|
Definition at line 55 of file SimulatedManipulatorDescription. |
|
Definition at line 99 of file SimulatedManipulatorDescription. |
|
return the name of the object's class type. Must be defined by derived classes. Reimplemented from robot::ManipulatorDescription. Definition at line 70 of file SimulatedManipulatorDescription. |
|
If enabled, each call to unreference() will also call virtual method onUnreference() Definition at line 115 of file Referenced. References base::Referenced::onUnreferenceEnabled. |
|
write object state to Externalizer (throws if e is in Input)
Reimplemented from robot::ManipulatorDescription. Definition at line 95 of file SimulatedManipulatorDescription. |
|
read or write object state to Externalizer
Reimplemented from robot::ManipulatorDescription. |
|
query if specific format is supported (for input, output or both)
Reimplemented from robot::ManipulatorDescription. Definition at line 92 of file SimulatedManipulatorDescription. |
|
the transformation from the mount origin to the base origin (the first joint)
Definition at line 88 of file ManipulatorDescription. References robot::ManipulatorDescription::baseTransform. |
|
get a kinematic chain that describes this manipulator. For serial manipulators this is a unique chain of joints. For Parallel manipulators the chain obtained depends on the parameter. The chain doesn't include the base link. (NB: when/if parallel manipulator support is added, this argument may change or be overloaded, but there will always be a default that will provide the unique chain in the case of a serial manipulator) Definition at line 84 of file ManipulatorDescription. References robot::ManipulatorDescription::kinematicChain. |
|
Definition at line 86 of file SimulatedManipulatorDescription. |
|
Definition at line 44 of file Named. References base::String. Referenced by physics::Collidable::findNamed(), physics::operator<<(), robot::ToolDescription::operator=(), robot::RobotDescription::operator=(), robot::PlatformDescription::operator=(), robot::ManipulatorDescription::operator=(), base::Named::operator=(), and robot::ManipulatorDescription::operator==(). |
|
Definition at line 85 of file SimulatedManipulatorDescription. |
|
Definition at line 87 of file SimulatedManipulatorDescription. |
|
Definition at line 84 of file SimulatedManipulatorDescription. References base::Vector. |
|
|
|
Definition at line 52 of file ReferencedObject. |
|
|
|
Definition at line 88 of file SimulatedManipulatorDescription. |
|
|
|
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(). |
|
Definition at line 98 of file ManipulatorDescription. |
|
Definition at line 79 of file SimulatedManipulatorDescription. |
|
Definition at line 59 of file SimulatedManipulatorDescription. References hasProxSensors, linkGeometrySpecified, linkRadii, proxSensorRange, and q. |
|
Definition at line 91 of file ManipulatorDescription. References robot::ManipulatorDescription::baseTransform, base::Named::getName(), robot::ManipulatorDescription::kinematicChain, and robot::ManipulatorDescription::mtype. |
|
Definition at line 73 of file SimulatedManipulatorDescription. |
|
|
|
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 113 of file ManipulatorDescription. References robot::ManipulatorDescription::baseTransform. Referenced by robot::ManipulatorDescription::set(). |
|
Definition at line 114 of file ManipulatorDescription. References robot::ManipulatorDescription::kinematicChain. Referenced by robot::ManipulatorDescription::set(). |
|
|
Definition at line 112 of file ManipulatorDescription. References robot::ManipulatorDescription::mtype. Referenced by robot::ManipulatorDescription::set(). |
|
Definition at line 73 of file ManipulatorDescription. References robot::ManipulatorDescription::mtype, and robot::ManipulatorDescription::Type. |
|
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 124 of file ManipulatorDescription. |
|
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(). |
|
depricated
Definition at line 121 of file ManipulatorDescription. Referenced by robot::ManipulatorDescription::getBaseTransform(), robot::ManipulatorDescription::ManipulatorDescription(), robot::ManipulatorDescription::operator=(), robot::ManipulatorDescription::operator==(), and robot::ManipulatorDescription::setBaseTransform(). |
|
|
|
Definition at line 137 of file Referenced. Referenced by base::Referenced::enableOnUnreferenceCall(), base::Referenced::Referenced(), and base::Referenced::unreference(). |