90 void takeWinchControlParameters();
91 void returnWinchControlParameters();
92 void clearTakenWinchControlParameters();
99 void detachActuatorUnitsFromEachOther();
101 void connectWireWinchConnector();
102 void disconnectWireWinchConnector();
103 void reconnectWireWinchConnector();
106 agx::observer_ptr<
agxWire::WireWinchController> m_winchController;
111 agx::RangeReal m_tmpForceRange;
112 agx::RangeReal m_tmpBrakeRange;
113 agx::Bool m_bounceSpoolDirectionBeforeOutOfWire;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Class that will connect a agxPowerLine::Unit to a translational ordinary constraint such as a agx::Pr...
This actuator can be used to connect a Winch (which is a linear constraint) to a powerline for exampl...
void setEnable(bool enabled)
agx::Bool getBounceSpoolDirectionBeforeOutOfWire() const
virtual bool postUpdate(agx::Real timeStamp) override
void setWinch(agxWire::WireWinchController *winch)
virtual void prepareForStore() override
agxPowerLine::TranslationalUnit * getInputRod()
virtual bool preUpdate(agx::Real timeStamp) override
agxWire::WireWinchController * getWinch() const
WireWinchActuator(agxWire::WireWinchController *winch)
Create a wire winch actuator, with same arguments as needed for a WireWinchController.
void setBounceSpoolDirectionBeforeOutOfWire(agx::Bool bounce)
virtual void prepareForRestore() override
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
Abstract base class for storing/restoring a line/drums with version control.
Winch class for handling in and out hauling of wires.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
agxPowerLine contains a collection of connected components that transport power across a system.
std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > DimensionAndSide
Implements a Wire model with adaptive resolution.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.