44 void setHingeCompliance(
agx::Real compliance );
57 void setHingeComplianceTranslational(
agx::Real compliance );
63 void setHingeComplianceRotational(
agx::Real compliance );
74 void setHingeDamping(
agx::Real damping );
87 void setHingeDampingTranslational(
agx::Real damping);
93 void setHingeDampingRotational(
agx::Real damping);
105 void setEnableHingeRange(
agx::Bool enable );
131 void setEnableOnInitializeMergeNodesToWheels(
agx::Bool enable );
136 agx::Bool getEnableOnInitializeMergeNodesToWheels()
const;
144 void setEnableOnInitializeTransformNodesToWheels(
agx::Bool enable );
149 agx::Bool getEnableOnInitializeTransformNodesToWheels()
const;
155 void setTransformNodesToWheelsOverlap(
agx::Real overlap );
160 agx::Real getTransformNodesToWheelsOverlap()
const;
170 void setNodesToWheelsMergeThreshold(
agx::Real mergeThreshold );
175 agx::Real getNodesToWheelsMergeThreshold()
const;
185 void setNodesToWheelsSplitThreshold(
agx::Real splitThreshold );
190 agx::Real getNodesToWheelsSplitThreshold()
const;
198 void setNumNodesIncludedInAverageDirection(
agx::UInt numIncludedNodes );
203 agx::UInt getNumNodesIncludedInAverageDirection()
const;
212 void setMinStabilizingHingeNormalForce(
agx::Real minNormalForce );
217 agx::Real getMinStabilizingHingeNormalForce()
const;
226 void setStabilizingHingeFrictionParameter(
agx::Real frictionParameter );
231 agx::Real getStabilizingHingeFrictionParameter()
const;
236 void resetToDefault();
242 void updateComplianceDamping(
agx::Hinge& hinge )
const;
250 ON_INITIALIZE_MERGE_NODES_TO_WHEELS = 1 << 0,
251 ON_INITIALIZE_TRANSFORM_NODES_TO_WHEELS = 1 << 1,
252 HINGE_RANGE_ENABLED = 1 << 2,
254 using Flags = agx::BitState<FlagsEnum, agx::UInt32>;
285 return m_hingeCompliance[ (
agx::UInt)std::max<int>( dof, 0 ) ];
290 return m_hingeDamping[ (
agx::UInt)std::max<int>( dof, 0 ) ];
295 return m_flags.Is( HINGE_RANGE_ENABLED );
300 return agx::RangeReal{ m_realValues[ HINGE_RANGE_LOWER ], m_realValues[ HINGE_RANGE_UPPER ] };
Object containing properties of an agxVehicle::Track.
DOF
Enum used for specifying which Degree of Freedom (DOF) that should be accessed in calls to for exampl...
#define AGXVEHICLE_EXPORT
VectorPOD< Real > RealVector
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
agx::Real getHingeDamping(agx::Hinge::DOF dof) const
agx::RangeReal getHingeRangeRange() const
The hinge constraint between two rigid bodies or one rigid body and the world.
This namespace contains classes related to vehicles dynamics.
agx::Real getHingeCompliance(agx::Hinge::DOF dof) const
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
agx::Bool getEnableHingeRange() const
agx::BitState< FlagsEnum, agx::UInt32 > Flags