|
AGXDynamics
2.31.1.0
|
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. More...
#include <Winch.h>
Inheritance diagram for agxWire::Winch:Classes | |
| struct | WireLength |
| Internal data to store the inactive wire and the length of that wire. More... | |
Public Member Functions | |
| 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. More... | |
| agx::Bool | add (agxWire::Wire *wire, agx::Real length) |
| Add inactive wire segment with a given length. More... | |
| 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. More... | |
| agx::Constraint1DOF * | get1DOFConstraint () |
| Get pointer to Constraint1DOF. More... | |
| const agx::Constraint1DOF * | get1DOFConstraint () const |
| bool | getAutoFeed () const |
| const agx::RangeReal & | getBrakeForceRange () const |
| virtual const char * | getClassName () const |
| virtual agx::Real | getCurrentBrakeForce () const |
| virtual agx::Real | getCurrentForce () const |
| virtual agx::Real | getCurrentSpeed () const |
| bool | getEnableSerialization () const |
| bool | getEnableUuidGeneration () |
| agxWire::BodyFixedNode * | getFixedNode () const |
| const agx::RangeReal & | getForceRange () const |
| agx::UInt32 | getIndex () const |
| This index is given at creation of this object. More... | |
| agx::Vec3 | getLumpNodeReferencePosition () const |
| const agx::Vec3 & | getNormal () const |
| agx::UInt | getNumPulledInWires () 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 StorageAgent * | getStorageAgent () const =0 |
| agx::Real | getTotalPulledInLength () const |
| Calculates the total pulled in length, including the pulled in length of the currently active wire (i.e., getPulledInlength()). More... | |
| agx::Uuid | getUuid () const |
| virtual bool | getWithinEndRange () const |
| agx::Vec3 | getWorldNormal () const |
| bool | isFinished () const |
| agx::Bool | remove (const agxWire::Wire *wire) |
| Remove an inactive wire segment. More... | |
| void | setAutoFeed (bool autoFeed) |
| Set auto feed to this winch. More... | |
| 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. More... | |
| void | setBrakeForceRange (agx::Real brakeForce) |
| Same as setBrakeForceRange( agx::RangeReal brakeForceRange ) but this method will set range as [-brakeForce, brakeForce]. More... | |
| void | setCompliance (agx::Prismatic *prismatic) const |
| Sets the default compliance for the prismatic constraint. More... | |
| 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 | 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. More... | |
| void | setForceRange (agx::Real force) |
| Same as setForceRange( agx::RangeReal forceRange ) but this method will set range as [-force, force]. More... | |
| void | setParameterController (agxWire::WireParameterController *parameters) |
| Associate a parameter controller to this winch. More... | |
| void | setPulledInWireLength (agx::Real pulledInLength) |
| Set the pulled in length for this winch. More... | |
| void | setSpeed (agx::Real speed) |
| Set winch motor speed. More... | |
| void | setStabilityController (agxWire::WireStabilityController *stabilityController) |
| Associate a stability controller to this winch. More... | |
| void | setUuid (const agx::Uuid &uuid) |
| Explicitly set a Uuid on a serializable object. More... | |
Static Public Member Functions | |
| static void | setEnableUuidGeneration (bool flag) |
| Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled. More... | |
Protected Types | |
| typedef agx::Vector< WireLength > | PulledInWiresContainer |
Protected Member Functions | |
| Winch () | |
| Protected default constructor, used during restore. More... | |
| virtual | ~Winch () |
| Reference counted object, protected destructor. More... | |
| virtual void | addNotification (agxSDK::SimulationProxy *simulationProxy) override |
| Initializes the inactive links. More... | |
| virtual bool | attach (WireDistanceCompositeConstraint *constraint, WireParameterController *parameters, bool begin) |
| Create new nodes for new wire. More... | |
| agx::Real | configureInitialState () |
| This method will set the position of the lumped node given the stop node and pulled in length. More... | |
| agx::Prismatic * | createPrismatic (Node *fixedNode, Node *lumpedNode, const agx::Vec3 &worldNormal) const |
| Creates a prismatic constraint given the fixed-, lumped node and a normal. More... | |
| BodyFixedNode * | findParametersHoldingNode (bool begin) |
| Search the wire, given begin true of false, for the parameters holding node. More... | |
| virtual void | forcePulledInLength (agx::Real newLength) |
| void | generateUuid () |
| agxWire::Winch::WireLength | getAndEraseFromPulledInWires (const agxWire::ConnectingNode *connectingNode) |
| Finds the wire the connection node matches and returns that wire including its length. More... | |
| agxWire::Winch::WireLength | getAndEraseFromPulledInWires (const agxWire::Wire *wire) |
| Returns that wire including its length. More... | |
| virtual bool | getForceGeometryListEmpty (bool begin) const override |
| BodyFixedNode * | getNextLumpedNode (BodyFixedNode *from, bool begin) |
| Finds the next (or previous) lumped node given a lumped node and the direction of the search. More... | |
| virtual agx::Real | getReferenceCurrentLength (bool begin) const override |
| virtual Node * | getReferenceNode () override |
| void | handleApproachingNodes (agx::Bool begin, agx::Real dt) |
| Handles the approaching nodes during preUpdate. More... | |
| 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). More... | |
| void | initializePulledInLinks (agxSDK::SimulationProxy *simulationProxy) |
| Initializes the inactive links when this winch is added to the simulation. More... | |
| bool | insertStopNode (bool begin) |
| Inserts the stop wire node in the wire. More... | |
| virtual void | manipulatePulledInLength (agx::Real newPulledInLength) |
| Other friend objects have the possibility to manipulate the pulled in length of the current segment. More... | |
| void | massUpdate (agx::Real restLengthChange, bool begin) |
| Updates mass for lumped nodes where the rest length is changed by restLengthChange. More... | |
| virtual bool | owns (const Node *node) const override |
For the wire to know if node belongs to this attachment. More... | |
| virtual void | postUpdate (agx::Bool, agxSDK::SimulationProxy *) |
| Post update call from the wire. More... | |
| virtual void | preCollideUpdate (agx::Bool, agxSDK::SimulationProxy *) |
| Pre-collide update call from the wire. More... | |
| 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. More... | |
| virtual agx::Bool | pullInWire (agxWire::Winch::WireLength nearWireAndLength, agxWire::LinkRef link, agxWire::WireRef farWire, agxSDK::SimulationProxy *simulationProxy) |
| Pull in the near wire completely. More... | |
| 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. More... | |
| agx::Bool | replaceLink (agxWire::Wire *farWire, agxWire::Link *link) |
| Pulling in a wire, replaces link's far node with this winch. More... | |
| agx::Real | resetLumpPosition (agx::Real angle) |
| Resets the lump position to reference. More... | |
| 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. More... | |
| virtual void | unitialize () |
| Forgets about all wire parameters and clears the constraint. More... | |
| 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. More... | |
| 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. More... | |
Protected Attributes | |
| bool | m_autoFeed |
| agx::RangeReal | m_brakeRange |
| BodyFixedNodeRef | m_fixedNode |
| bool | m_forcedBrake |
| agx::RangeReal | m_forceRange |
| agx::observer_ptr< BodyFixedNode > | m_lumpedNode |
| agx::Vec3 | m_normal |
| WireParameterController * | m_parameters |
| agx::observer_ptr< BodyFixedNode > | m_parametersHoldingNode |
| To access and change rest/current length. More... | |
| agx::Real | m_pulledInLength |
| PulledInWiresContainer | m_pulledInWires |
| agx::Real | m_speed |
| agx::observer_ptr < WireStabilityController > | m_stabilityController |
| If by the initialization controller, this winch can merge segments and change mass of the lumps via this controller. More... | |
| StopNodeRef | m_stopNode |
| bool | m_withinEndRange |
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.
|
protected |
| agxWire::Winch::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.
If the rigid body is null the winch will be attached in world and hence the relative translate and normal is given in world coordinates.
|
protected |
Protected default constructor, used during restore.
|
protectedvirtual |
Reference counted object, protected destructor.
| agx::Bool agxWire::Winch::add | ( | agxWire::Wire * | wire, |
| agx::Real | length | ||
| ) |
Add inactive wire segment with a given length.
| wire | - inactive wire that is fully pulled in to this winch |
| length | - length of the wire |
|
overrideprotectedvirtual |
Initializes the inactive links.
Reimplemented from agxWire::WireWinchController.
|
protectedvirtualinherited |
Create new nodes for new wire.
|
protectedinherited |
This method will set the position of the lumped node given the stop node and pulled in length.
|
protectedinherited |
Creates a prismatic constraint given the fixed-, lumped node and a normal.
|
protectedinherited |
Search the wire, given begin true of false, for the parameters holding node.
If this winch is located at the beginning of the wire, the parameters holding node will be the first lump after m_lumpedNode. If at end, the parameters holding node is equal to the lumped node.
| begin | - if this winch is located at the beginning or at the end of the wire |
| agx::Real agxWire::Winch::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.
If the wire isn't associated to this winch in any way this method returns -1.
| wire | - wire associated to this winch |
|
protectedvirtualinherited |
|
protectedinherited |
|
inherited |
Get pointer to Constraint1DOF.
|
inherited |
|
protected |
Finds the wire the connection node matches and returns that wire including its length.
It also erases the completely pulled in wire from the list of inactive wires.
|
protected |
Returns that wire including its length.
It also erases the completely pulled in wire from the list of inactive wires.
|
inlineinherited |
Definition at line 403 of file WireWinchController.h.
References agxWire::WireWinchController::m_autoFeed.
|
inlineinherited |
Definition at line 418 of file WireWinchController.h.
References agxWire::WireWinchController::m_brakeRange.
|
virtualinherited |
Reimplemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxModel::Deformable1DNodeRoute, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agx::UniformGravityField, agxLua::LuaScriptOperation, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxModel::PlasticityComponent, and agxCable::GeometryFactory.
Referenced by agxStream::InputArchive::readRef().
|
virtualinherited |
Reimplemented in agxWire::WireSimpleDrumController.
|
virtualinherited |
Reimplemented in agxWire::WireSimpleDrumController.
|
virtualinherited |
Reimplemented in agxWire::WireSimpleDrumController.
|
inherited |
Definition at line 273 of file Serializable.h.
|
inherited |
|
inherited |
|
overrideprotectedvirtual |
|
inlineinherited |
Definition at line 413 of file WireWinchController.h.
References agxWire::WireWinchController::m_forceRange.
|
inherited |
This index is given at creation of this object.
It is guaranteed to be unique for the lifetime of this library instance. As long as the application is running. This value is not serialized or restored. A new object will always get a new index no matter how it is created.
Definition at line 247 of file Serializable.h.
|
inherited |
|
protectedinherited |
Finds the next (or previous) lumped node given a lumped node and the direction of the search.
| from | - the search will start from this body fixed wire node |
| begin | - direction of the search, begin == true the search will be forward, false backward (in the list) |
|
inlineinherited |
Definition at line 398 of file WireWinchController.h.
References agxWire::WireWinchController::m_normal.
| agx::UInt agxWire::Winch::getNumPulledInWires | ( | ) | const |
|
virtualinherited |
|
overrideprotectedvirtualinherited |
|
inlineoverrideprotectedvirtualinherited |
Definition at line 330 of file WireWinchController.h.
|
inherited |
|
inlineinherited |
Definition at line 408 of file WireWinchController.h.
References agxWire::WireWinchController::m_speed.
|
inherited |
|
inherited |
|
inherited |
|
pure virtualinherited |
Implemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxModel::Deformable1DNodeRoute, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agx::UniformGravityField, agxLua::LuaScriptOperation, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxModel::PlasticityComponent, and agxCable::GeometryFactory.
| agx::Real agxWire::Winch::getTotalPulledInLength | ( | ) | const |
Calculates the total pulled in length, including the pulled in length of the currently active wire (i.e., getPulledInlength()).
|
inherited |
Definition at line 268 of file Serializable.h.
|
virtualinherited |
|
inherited |
Handles the approaching nodes during preUpdate.
|
protectedvirtualinherited |
|
overrideprotectedvirtualinherited |
Initializes this winch (inserts the stop node and move the lump for example).
| begin | - true if this attachment is at the beginning of the wire |
| parameters | - pointer to the parameter object |
Reimplemented in agxWire::WireSimpleDrumController.
|
protected |
Initializes the inactive links when this winch is added to the simulation.
|
protectedinherited |
Inserts the stop wire node in the wire.
|
inherited |
Definition at line 252 of file Serializable.h.
|
protectedvirtual |
Other friend objects have the possibility to manipulate the pulled in length of the current segment.
Use with caution.
|
protectedinherited |
Updates mass for lumped nodes where the rest length is changed by restLengthChange.
|
inlineoverrideprotectedvirtualinherited |
For the wire to know if node belongs to this attachment.
| node | - node |
node is part of this attachment Definition at line 322 of file WireWinchController.h.
|
inlineprotectedvirtualinherited |
Post update call from the wire.
Definition at line 315 of file WireWinchController.h.
|
inlineprotectedvirtualinherited |
Pre-collide update call from the wire.
Definition at line 300 of file WireWinchController.h.
|
overrideprotectedvirtual |
Checks for 'forced brake condition' where the winch is automatically stopped due to an unsupported approaching node.
E.g., not a link.
Reimplemented from agxWire::WireWinchController.
|
protectedvirtual |
Pull in the near wire completely.
Moves this winch to the far wire, disables the link and stores the near wire and the given length it has.
|
protectedvirtual |
Pulls out a new wire segment, if any inactive wire is connected to the link.
| agx::Bool agxWire::Winch::remove | ( | const agxWire::Wire * | wire | ) |
Remove an inactive wire segment.
|
protected |
Pulling in a wire, replaces link's far node with this winch.
Resets the lump position to reference.
| angle | - the current angle of the constraint |
|
inherited |
Set auto feed to this winch.
This mode can be used to facilitate routing. E.g., put all wire in this winch (start of route), set mode to auto feed, and route. The wire will automatically decrease in this winch to fulfill the rout without initial tension. Default: false
| autoFeed | - true for auto feed mode |
|
inherited |
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.
It's important that the lower value is smaller than zero and the upper larger than zero. Default: (-0, 0)
| brakeForceRange | - brake force range |
Same as setBrakeForceRange( agx::RangeReal brakeForceRange ) but this method will set range as [-brakeForce, brakeForce].
| brakeForce | - brake force (Newton) to define the total brake force range |
|
inherited |
Sets the default compliance for the prismatic constraint.
| prismatic | - a prismatic constraint |
|
inherited |
Set to false to disable serialization of this object.
It will just be ignored during serialization (writing). It is still possible to restore TO this object.
|
staticinherited |
Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
|
inherited |
Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
|
inherited |
Set the desired winch force where range::lower is the force in which this winch may haul in wire, range::upper haul out.
It's important that the lower value is smaller than zero and the upper larger than zero. Default: (-Infinity, Infinity)
| forceRange | - force (Newton) range [haul_in, haul_out] where haul_in <= 0 and haul_out >= 0 |
Same as setForceRange( agx::RangeReal forceRange ) but this method will set range as [-force, force].
| force | - force (Newton) to define the total force range |
|
inherited |
Associate a parameter controller to this winch.
Set the pulled in length for this winch.
| pulledInLength | - pulled in length |
Set winch motor speed.
| speed | - speed of the winch motor (Default: 0) |
|
inherited |
Associate a stability controller to this winch.
This winch will use the stability controller to calculate and set masses to the neighboring lumped nodes when hauling in and out wire. It makes it also possible for this winch to merge two lumps if the haul in speed is large.
| stabilityController | - new stability controller |
Explicitly set a Uuid on a serializable object.
Use this method with great care, as it can result in non-unique identifiers in the system!
|
protectedvirtual |
Transfers this winch from far wire to a newly created near wire.
|
protectedvirtualinherited |
Forgets about all wire parameters and clears the constraint.
|
overrideprotectedvirtualinherited |
Called when it's time to update the constraint and reset the position of the lump.
Reimplemented in agxWire::WireSimpleDrumController.
|
protectedinherited |
Updates motor, lock and range parameters.
| prismatic | - the prismatic constraint |
| desiredSpeed | - desired speed of the prismatic motor |
| forceRange | - force range of the motor |
| brakeRange | - force range of the lock |
| rangeEnable | - if pulled in length < reference distance the range should be enabled |
| forcedBrake | - true for "emergency stop" of this winch, brake force will be infinite |
|
protectedinherited |
Definition at line 373 of file WireWinchController.h.
Referenced by agxWire::WireWinchController::getAutoFeed().
|
protectedinherited |
Definition at line 376 of file WireWinchController.h.
Referenced by agxWire::WireWinchController::getBrakeForceRange().
|
protectedinherited |
Definition at line 381 of file WireWinchController.h.
|
protectedinherited |
Definition at line 379 of file WireWinchController.h.
|
protectedinherited |
Definition at line 375 of file WireWinchController.h.
Referenced by agxWire::WireWinchController::getForceRange().
|
protectedinherited |
Definition at line 384 of file WireWinchController.h.
|
protectedinherited |
Definition at line 383 of file WireWinchController.h.
Referenced by agxWire::WireWinchController::getNormal().
|
protectedinherited |
Definition at line 389 of file WireWinchController.h.
|
protectedinherited |
To access and change rest/current length.
If this winch is located at begin this will be the lumped node after m_lumpedNode, if at end m_lumpedNode == m_parametersHoldingNode.
Definition at line 385 of file WireWinchController.h.
|
protectedinherited |
Definition at line 377 of file WireWinchController.h.
|
protected |
|
protectedinherited |
Definition at line 374 of file WireWinchController.h.
Referenced by agxWire::WireWinchController::getSpeed().
|
protectedinherited |
If by the initialization controller, this winch can merge segments and change mass of the lumps via this controller.
Definition at line 387 of file WireWinchController.h.
Referenced by agxWire::Wire::getStabilityController().
|
protectedinherited |
Definition at line 382 of file WireWinchController.h.
|
protectedinherited |
Definition at line 378 of file WireWinchController.h.