An electric motor is a roational unit that is a source of power in a drive train.
More...
|
| | ElectricMotor (agx::Real resistance, agx::Real torqueConstant, agx::Real emfConstant, agx::Real inductance) |
| | Create an electrical motor with the properties of the given parameters. More...
|
| |
| virtual bool | addNotification (agxSDK::Simulation *simulation) override |
| |
| const char * | getClassName () const override |
| |
| const agxDriveTrain::ElectricMotorConstraint * | getConstraint () const |
| |
| agx::Real | getCurrent () const |
| |
| agx::Real | getEmfConstant () const |
| |
| agx::Real | getEmfVoltage () const |
| |
| agx::Real | getInductance () const |
| |
| agx::Real | getResistance () const |
| |
| agxStream::StorageAgent * | getStorageAgent () const override |
| |
| agx::Real | getTorqueConstant () const |
| |
| agx::Real | getVoltage () const |
| | /return The current input voltage of the motor. More...
|
| |
| virtual bool | postRestore (agxStream::StorageStream &str) override |
| |
| virtual bool | postStore (agxStream::StorageStream &str) const override |
| |
| virtual bool | preUpdate (agx::Real timeStep) override |
| |
| virtual bool | removeNotification (agxUtil::ConstraintHolder *constraintHolder, agxSDK::Simulation *simulation) override |
| |
| virtual void | restore (agxStream::InputArchive &in) override |
| |
| virtual bool | restore (agxStream::StorageStream &str) override |
| | Restores internal data from stream. More...
|
| |
| void | setEmfConstant (agx::Real emfConstant) |
| | Set the back electromotive force constant. More...
|
| |
| void | setInductance (agx::Real inductance) |
| | Set the inductance of the motor. More...
|
| |
| void | setResistance (agx::Real resistance) |
| | Set the electrical reistance of the motor. More...
|
| |
| void | setTorqueConstant (agx::Real torqueConstant) |
| | Set the torque constant of the motor. More...
|
| |
| void | setVoltage (agx::Real voltage) |
| | Set the input voltage to the electrical motor. More...
|
| |
| virtual void | store (agxStream::OutputArchive &out) const override |
| |
| virtual bool | store (agxStream::StorageStream &str) const override |
| | Stores internal data into stream. More...
|
| |
| | RotationalUnit () |
| | Create a rotational unit. More...
|
| |
| | RotationalUnit (agx::RigidBody *body, agx::UInt8 slot) |
| |
| agx::Real | getAngularVelocity () const |
| | returns the number of radians per second More...
|
| |
| const char * | getClassName () const override |
| |
| virtual agx::Real | getDeliveredTorque () const |
| | returns the amount of torque delivered from the rotational dimension More...
|
| |
| virtual agx::Vec3 | getDirection () const |
| | returns a vector in world coordinates that defines the rotational axis of the rotational unit. More...
|
| |
| virtual agx::Real | getInertia () const |
| |
| agxPowerLine::RotationalDimension * | getRotationalDimension () const |
| | returns a pointer to the rotational dimension More...
|
| |
| agx::Real | getRPM () const |
| | returns the number of revolutions per minute More...
|
| |
| agxStream::StorageAgent * | getStorageAgent () const override |
| |
| virtual bool | postUpdate (agx::Real timeStep) override |
| |
| void | setAngularVelocityDamping (agx::Real damping) |
| | set the angular velocity damping around the local axis (direction) More...
|
| |
| virtual void | setInertia (agx::Real inertia) |
| | set the inertia for the rotational dimension of the rotational unit. More...
|
| |
| | Unit () |
| | Constructor. More...
|
| |
| void | addNotification (agxPowerLine::PowerLine *powerLine) |
| |
| | AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Unit) |
| |
| void | attach (agx::RigidBody *body) |
| | Define which body in the simulation this Unit is attached to. More...
|
| |
| agx::String | buildDimensionsName () const |
| |
| virtual bool | connect (agxPowerLine::Connector *connector) |
| | Connect the unit to a connector. More...
|
| |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side connectorSide, agxPowerLine::Connector *connector) |
| | Connect the unit to a connector, specifying the side of each. More...
|
| |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side otherSide, agxPowerLine::Unit *other) |
| |
| virtual bool | connect (agxPowerLine::Unit *otherUnit) |
| | Connect the unit to another unit. More...
|
| |
| virtual bool | disconnect (agxPowerLine::Unit *unit) |
| |
| void | disconnectAll () |
| |
| agxPowerLine::PhysicalDimension * | getActiveDimension (size_t index) |
| |
| const agxPowerLine::PhysicalDimension * | getActiveDimension (size_t index) const |
| |
| virtual agxPowerLine::DimensionAndSide | getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) |
| |
| virtual void | getConnectableDimensionTypes (agxPowerLine::PhysicalDimension::TypeVector &types, agxPowerLine::Side side) const |
| |
| agxPowerLine::PhysicalDimension * | getConnectableInputDimension (agxPowerLine::PhysicalDimension::Type type) |
| |
| agxPowerLine::PhysicalDimension * | getConnectableOutputDimension (agxPowerLine::PhysicalDimension::Type type) |
| |
| void | getConnectedUnits (UnitPtrSetVector &result, agxPowerLine::Side side) |
| |
| size_t | getConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| |
| size_t | getConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| | Append all connectors connecting this Unit to the given Unit to the 'result' Vector. More...
|
| |
| agxPowerLine::PhysicalDimension * | getDimension (agxPowerLine::PhysicalDimension::Type type) |
| |
| const agxPowerLine::PhysicalDimension * | getDimension (agxPowerLine::PhysicalDimension::Type type) const |
| |
| agxPowerLine::PhysicalDimensionRefVector & | getDimensions () |
| |
| const agxPowerLine::PhysicalDimensionRefVector & | getDimensions () const |
| |
| Connector * | getFirstInputConnector (const agxPowerLine::Unit *unit) const |
| |
| Connector * | getFirstOutputConnector (const agxPowerLine::Unit *unit) const |
| |
| bool | getIgnoreForStoreRestoreStream () const |
| |
| size_t | getInputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| |
| size_t | getInputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| |
| size_t | getNumActiveDimensions () const |
| | The number of non-null PhysicalDimension in this Unit, not including internal Units. More...
|
| |
| virtual size_t | getNumConnectableDimensions (Side side) const |
| |
| size_t | getNumConnections () const |
| |
| size_t | getOutputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| |
| size_t | getOutputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| |
| void | getOwnConnectedUnits (UnitPtrSetVector &unitSet, agxPowerLine::Side side, bool startFromCleanUnitSet=true) const |
| |
| void | getOwnConnectedUnits (UnitPtrSetVector &unitSet, bool startFromCleanUnitSet=true) const |
| | Constructs the set of Units connected to this Unit's own dimensions. More...
|
| |
| agxPowerLine::PowerLine * | getPowerLine () const |
| |
| agxPowerLine::Unit * | getRoot () const |
| |
| agxPowerLine::Side | getSide (const Connector *connector) const |
| |
| bool | hasConnector (const Connector *connector) const |
| |
| virtual bool | isConnected (agxPowerLine::Unit *otherUnit) const |
| |
| virtual bool | isValid () const |
| |
| void | removeNotification (agxPowerLine::PowerLine *powerLine) |
| |
| void | setRoot (agxPowerLine::Unit *root) |
| |
| void | spreadRootToGraph () |
| |
| virtual bool | vetoConnect (agxPowerLine::Connector *connector) const |
| |
| | SubGraph () |
| |
| | AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::SubGraph) |
| |
| virtual void | getConnectorsRecursive (ConnectorPtrVector &connectors) |
| | Fill the given vector with the Connectors that are held by this SubGraph. More...
|
| |
| Connector * | getEnclosingConnector () |
| |
| const Connector * | getEnclosingConnector () const |
| |
| SubGraph * | getEnclosingGraph () |
| |
| const SubGraph * | getEnclosingGraph () const |
| |
| Unit * | getEnclosingUnit () |
| |
| const Unit * | getEnclosingUnit () const |
| |
| const agxPowerLine::ConnectorRefVector & | getInternalConnectors () const |
| |
| const agxPowerLine::UnitRefVector & | getInternalUnits () const |
| |
| const agx::Name & | getName () const |
| |
| SubGraph * | getRootEnclosingGraph () |
| |
| const SubGraph * | getRootEnclosingGraph () const |
| |
| virtual void | getUnitsRecursive (UnitPtrVector &units) |
| | Fill the given vector with the Units that are held by this SubGraph. More...
|
| |
| bool | isEnclosedWithin (const SubGraph *component) const |
| |
| virtual void | prepareForRestore () |
| |
| virtual void | prepareForStore () |
| |
| void | setName (const agx::Name &name) |
| | Set the name of this power line component. More...
|
| |
| void | spreadPowerLineToGraph () |
| |
| | Referenced () |
| | Default constructor. More...
|
| |
| | Referenced (const Referenced &) |
| |
| template<typename T > |
| T * | as () |
| | Subclass casting. More...
|
| |
| template<typename T > |
| const T * | as () const |
| |
| template<typename T > |
| T * | asSafe () |
| | Safe subclass casting, return nullptr if template type does not match. More...
|
| |
| template<typename T > |
| const T * | asSafe () const |
| |
| int | getReferenceCount () const |
| |
| template<typename T > |
| bool | is () const |
| | Subclass test. More...
|
| |
| Referenced & | operator= (const Referenced &) |
| | Assignment operator. Will increment the number of references to the referenced object. More...
|
| |
| void | reference (void *ptr=nullptr) const |
| | Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
|
| |
| void | unreference (void *ptr=nullptr) const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
|
| |
| void | unreference_nodelete () const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
|
| |
| virtual | ~Serializable () |
| | Destructor for normal C++ use but hidden from SWIG bindings. More...
|
| |
| bool | getEnableSerialization () const |
| |
| bool | getEnableUuidGeneration () |
| |
| agx::UInt32 | getIndex () const |
| | This index is given at creation of this object. More...
|
| |
| agx::Uuid | getUuid () const |
| |
| bool | isFinished () const |
| |
| void | setEnableSerialization (bool flag) |
| | Set to false to disable serialization of this object. More...
|
| |
| void | setFinished () |
| | Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More...
|
| |
| void | setUuid (const agx::Uuid &uuid) |
| | Explicitly set a Uuid on a serializable object. More...
|
| |
An electric motor is a roational unit that is a source of power in a drive train.
It simulates the conversion of electrical energy to mechanical energy. The angular velocity of the motor is changed by changing the input voltage to the motor, this can be done at each time step.
Definition at line 32 of file ElectricMotor.h.