17 #ifndef AGXPOWERLINE_ROTATIONAL_WIRE_WINCH_H 18 #define AGXPOWERLINE_ROTATIONAL_WIRE_WINCH_H 47 void setEnable(
bool enabled);
48 bool getEnable()
const;
50 agx::Bool getBounceSpoolDirectionBeforeOutOfWire()
const;
52 void setBounceSpoolDirectionBeforeOutOfWire(
agx::Bool bounce);
56 virtual bool preUpdate(
agx::Real timeStamp)
override;
58 virtual bool postUpdate(
agx::Real timeStamp)
override;
61 virtual void prepareForStore()
override;
62 virtual void prepareForRestore()
override;
91 void takeWinchControlParameters();
92 void returnWinchControlParameters();
93 void clearTakenWinchControlParameters();
98 virtual ~WireWinchActuator();
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;
This actuator can be used to connect a Winch (which is a linear constraint) to a powerline for exampl...
agx::ref_ptr< WireWinchConnector > WireWinchConnectorRef
#define AGX_DECLARE_POINTER_TYPES(type)
agxPowerLine contains a collection of connected components that transport power across a system...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Implements a Wire model with adaptive resolution.
Range< Real > RangeReal
A short hand for ranges of floating point numbers.
Abstract base class for storing/restoring a line/drums with version control.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > DimensionAndSide
Winch class for handling in and out hauling of wires.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()