|
| | Winch (agx::RigidBody *rb, const agx::Vec3 &relativeTranslate, const agx::Vec3 &relativeNormal, agx::Real pulledInLength=agx::Real(0)) |
| | Construct given rigid body, relative translate (rigid body frame), relative normal (rigid body frame) and initial pulled in length.
|
| |
| agx::Bool | add (agxWire::Wire *wire, agx::Real length) |
| | Add inactive wire segment with a given length.
|
| |
| agx::Real | findRestLength (const agxWire::Wire *wire) const |
| | Finds rest length of wire if this winch is either attached to wire or when wire is completely pulled in to this winch.
|
| |
| agx::UInt | getNumPulledInWires () const |
| |
| agx::Real | getTotalPulledInLength () const |
| | Calculates the total pulled in length, including the pulled in length of the currently active wire (i.e., getPulledInlength()).
|
| |
| agx::Bool | remove (const agxWire::Wire *wire) |
| | Remove an inactive wire segment.
|
| |
| | WireWinchController (agx::RigidBody *body, const agx::Vec3 &positionInBodyFrame, const agx::Vec3 &normalInBodyFrame, agx::Real pulledInLength=agx::Real(0)) |
| | Construct this winch given position, normal and body this winch is attached to.
|
| |
| agx::Constraint1DOF * | get1DOFConstraint () |
| | Get pointer to Constraint1DOF.
|
| |
| const agx::Constraint1DOF * | get1DOFConstraint () const |
| |
| bool | getAutoFeed () const |
| |
| const agx::RangeReal & | getBrakeForceRange () const |
| |
| virtual agx::Real | getCurrentBrakeForce () const |
| |
| virtual agx::Real | getCurrentForce () const |
| |
| virtual agx::Real | getCurrentSpeed () const |
| |
| agxWire::BodyFixedNode * | getFixedNode () const |
| |
| const agx::RangeReal & | getForceRange () const |
| |
| agx::Vec3 | getLumpNodeReferencePosition () const |
| |
| const agx::Vec3 & | getNormal () const |
| |
| virtual agx::Real | getPulledInWireLength () const |
| |
| agx::RigidBody * | getRigidBody () const |
| |
| agx::Real | getSpeed () const |
| |
| agxWire::StopNode * | getStopNode () const |
| |
| bool | getStopNodeInserted () const |
| |
| agx::Real | getStopNodeReferenceDistance () const |
| |
| virtual bool | getWithinEndRange () const |
| |
| agx::Vec3 | getWorldNormal () const |
| |
| void | setAutoFeed (bool autoFeed) |
| | Set auto feed to this winch.
|
| |
| void | setBrakeForceRange (agx::RangeReal brakeForceRange) |
| | Set the desired brake force range where range::lower is the force in which this winch brake can hold the wire from hauling out and ranger::upper the brake force hold the wire from hauling in.
|
| |
| void | setBrakeForceRange (agx::Real brakeForce) |
| | Same as setBrakeForceRange( agx::RangeReal brakeForceRange ) but this method will set range as [-brakeForce, brakeForce].
|
| |
| void | setCompliance (agx::Prismatic *prismatic) const |
| | Sets the default compliance for the prismatic constraint.
|
| |
| void | setForceRange (agx::RangeReal forceRange) |
| | Set the desired winch force where range::lower is the force in which this winch may haul in wire, range::upper haul out.
|
| |
| void | setForceRange (agx::Real force) |
| | Same as setForceRange( agx::RangeReal forceRange ) but this method will set range as [-force, force].
|
| |
| void | setParameterController (agxWire::WireParameterController *parameters) |
| | Associate a parameter controller to this winch.
|
| |
| void | setPulledInWireLength (agx::Real pulledInLength) |
| | Set the pulled in length for this winch.
|
| |
| void | setSpeed (agx::Real speed) |
| | Set winch motor speed.
|
| |
| void | setStabilityController (agxWire::WireStabilityController *stabilityController) |
| | Associate a stability controller to this winch.
|
| |
| virtual | ~Serializable () |
| | Destructor for normal C++ use but hidden from SWIG bindings.
|
| |
| virtual const char * | getClassName () const |
| |
| bool | getEnableSerialization () const |
| |
| bool | getEnableUuidGeneration () |
| |
| agx::UInt32 | getIndex () const |
| | This index is given at creation of this object.
|
| |
| virtual StorageAgent * | getStorageAgent () const =0 |
| |
| agx::Uuid | getUuid () const |
| |
| bool | isFinished () const |
| |
| void | setEnableSerialization (bool flag) |
| | Set to false to disable serialization of this object.
|
| |
| void | setFinished () |
| | Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
|
| |
| void | setUuid (const agx::Uuid &uuid) |
| | Explicitly set a Uuid on a serializable object.
|
| |
|
| | Winch () |
| | Protected default constructor, used during restore.
|
| |
| virtual | ~Winch () |
| | Reference counted object, protected destructor.
|
| |
| virtual void | addNotification (agxSDK::SimulationProxy *simulationProxy) override |
| | Initializes the inactive links.
|
| |
| agxWire::Winch::WireLength | getAndEraseFromPulledInWires (const agxWire::ConnectingNode *connectingNode) |
| | Finds the wire the connection node matches and returns that wire including its length.
|
| |
| agxWire::Winch::WireLength | getAndEraseFromPulledInWires (const agxWire::Wire *wire) |
| | Returns that wire including its length.
|
| |
| virtual bool | getForceGeometryListEmpty (bool begin) const override |
| |
| void | handleApproachingNodes (agx::Bool begin, agx::Real dt) |
| | Handles the approaching nodes during preUpdate.
|
| |
| void | initializePulledInLinks (agxSDK::SimulationProxy *simulationProxy) |
| | Initializes the inactive links when this winch is added to the simulation.
|
| |
| virtual void | manipulatePulledInLength (agx::Real newPulledInLength) |
| | Other friend objects have the possibility to manipulate the pulled in length of the current segment.
|
| |
| virtual void | preUpdate (agx::Bool begin, agxSDK::SimulationProxy *simulationProxy) override |
| | Checks for 'forced brake condition' where the winch is automatically stopped due to an unsupported approaching node.
|
| |
| virtual agx::Bool | pullInWire (agxWire::Winch::WireLength nearWireAndLength, agxWire::LinkRef link, agxWire::WireRef farWire, agxSDK::SimulationProxy *simulationProxy) |
| | Pull in the near wire completely.
|
| |
| virtual agxWire::Winch::WireLength | pullOutWire (agxWire::LinkRef link, agxWire::WireRef farWire, agxSDK::SimulationProxy *simulationProxy) |
| | Pulls out a new wire segment, if any inactive wire is connected to the link.
|
| |
| agx::Bool | replaceLink (agxWire::Wire *farWire, agxWire::Link *link) |
| | Pulling in a wire, replaces link's far node with this winch.
|
| |
| virtual void | transfer (agxWire::ILinkNode *linkNode, agxWire::WireDistanceCompositeConstraint *wireConstraint, agxWire::WireParameterController *parameters, agxWire::WireStabilityController *stabilityController, agx::Bool begin) |
| | Transfers this winch from far wire to a newly created near wire.
|
| |
| | WireWinchController () |
| | Default constructor for serialization.
|
| |
| virtual | ~WireWinchController () |
| |
| virtual void | addNotification (agxSDK::SimulationProxy *) |
| | Called from Wire::addNotification.
|
| |
| virtual bool | attach (WireDistanceCompositeConstraint *constraint, WireParameterController *parameters, bool begin) |
| | Create new nodes for new wire.
|
| |
| agx::Real | configureInitialState () |
| | This method will set the position of the lumped node given the stop node and pulled in length.
|
| |
| agx::Prismatic * | createPrismatic (Node *fixedNode, Node *lumpedNode, const agx::Vec3 &worldNormal) const |
| | Creates a prismatic constraint given the fixed-, lumped node and a normal.
|
| |
| BodyFixedNode * | findParametersHoldingNode (bool begin) |
| | Search the wire, given begin true of false, for the parameters holding node.
|
| |
| virtual void | forcePulledInLength (agx::Real newLength) |
| |
| BodyFixedNode * | getNextLumpedNode (BodyFixedNode *from, bool begin) |
| | Finds the next (or previous) lumped node given a lumped node and the direction of the search.
|
| |
| virtual agx::Real | getReferenceCurrentLength (bool begin) const override |
| |
| virtual Node * | getReferenceNode () override |
| |
| virtual void | incrementPulledInLength (agx::Real dl) |
| |
| virtual void | initialize (bool begin, WireParameterController *parameters) override |
| | Initializes this winch (inserts the stop node and move the lump for example).
|
| |
| bool | insertStopNode (bool begin) |
| | Inserts the stop wire node in the wire.
|
| |
| void | massUpdate (agx::Real restLengthChange, bool begin) |
| | Updates mass for lumped nodes where the rest length is changed by restLengthChange.
|
| |
| virtual bool | owns (const Node *node) const override |
| | For the wire to know if node belongs to this attachment.
|
| |
| virtual void | postUpdate (agx::Bool, agxSDK::SimulationProxy *) |
| | Post update call from the wire.
|
| |
| virtual void | preCollideUpdate (agx::Bool, agxSDK::SimulationProxy *) |
| | Pre-collide update call from the wire.
|
| |
| virtual void | preUpdate (agx::Bool, agxSDK::SimulationProxy *) |
| | Pre update call from the wire.
|
| |
| agx::Real | resetLumpPosition (agx::Real angle) |
| | Resets the lump position to reference.
|
| |
| virtual void | unitialize () |
| | Forgets about all wire parameters and clears the constraint.
|
| |
| virtual void | update (Node *controlledNode, Node *lumpedNode, bool begin) override |
| | Called when it's time to update the constraint and reset the position of the lump.
|
| |
| void | updateConstraintSettings (agx::Prismatic *prismatic, agx::Real desiredSpeed, const agx::RangeReal &forceRange, const agx::RangeReal &brakeRange, bool rangeEnable, bool forcedBrake=false) const |
| | Updates motor, lock and range parameters.
|
| |
| | Serializable () |
| | Default constructor.
|
| |
| | Serializable (const Serializable &other) |
| | Copy constructor.
|
| |
| void | generateUuid () |
| |
Winch object which works like agxWire::WireWinchController but enables the features of having stored, inactive, wire segments inside of the winch which can be pulled out given a link.
It also features the possibility of completely pulling in a wire segment with a link connection.
Definition at line 30 of file Winch.h.