17 #ifndef AGXPOWERLINE_ROTATIONAL_WIRE_WINCH_H
18 #define AGXPOWERLINE_ROTATIONAL_WIRE_WINCH_H
91 void takeWinchControlParameters();
92 void returnWinchControlParameters();
93 void clearTakenWinchControlParameters();
100 void detachActuatorUnitsFromEachOther();
102 void connectWireWinchConnector();
103 void disconnectWireWinchConnector();
104 void reconnectWireWinchConnector();
107 agx::observer_ptr<
agxWire::WireWinchController> m_winchController;
114 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...
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
WireWinchActuator(agxWire::WireWinchController *winch)
Create a wire winch actuator, with same arguments as needed for a WireWinchController.
void setBounceSpoolDirectionBeforeOutOfWire(agx::Bool bounce)
agxWire::WireWinchController * getWinch() const
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()
agx::ref_ptr< WireWinchConnector > WireWinchConnectorRef
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.
Range< Real > RangeReal
A short hand for ranges of floating point numbers.