DiscoverLearnDocumentationGet OpenPLXSearch Contact

Vehicles/Suspensions/SingleMateSuspension.openplx

SingleMateSuspension

SingleMateSuspension is Suspension:
    .doc: """
The SingleMateSuspension defines a one-mate connection between
the chassis and an attached component for ground contact. Like a wheel, track, ski, etc.

By default a SuspensionMate has a rotating degree of freedom for a rotating wheel around the main_axis of the connectors.
If the Vehicles.Suspensions.Traits.Steering trait is given to the owning Suspension that will open up a second degree of freedom,
orthogonal to the wheel axis along the normal. A Steering interaction can be introduced given two SteeringCompatibleSuspensions with the Steering trait.

"""
    chassis_connector is Vehicles.Suspensions.Interactions.Connector reference
    attachment_connector is Physics3D.Interactions.MateConnector reference

    mate is Vehicles.Suspensions.Interactions.Mate:
        chassis_connector: chassis_connector
        attachment_connector: attachment_connector

    range is Physics3D.Interactions.LinearRange:
        connectors: mate.connectors
        flexibility becomes Physics.Interactions.Flexibility.LinearElastic:
            stiffness: 1E12
        dissipation becomes Physics.Interactions.Dissipation.MechanicalDamping:
            damping_constant: 1E10
        start: Math.NEG_INF
        end: Math.INF

OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X