Class with functionality to support a track joint on a track system. Provides a model for friction, brake and drive.
More...
|
|
| TrackJointFeederMotorModel (Real engine_meters_per_unit, Real engine_kilograms_per_unit) |
| bool dclspc | Update (Time dt) override |
| | Simulation update method, to be called, after a simulation step is finished.
|
| void dclspc | TargetVelocity (Velocity vTarget) noexcept |
| | Sets the target velocity to aim for by using the supplied Thrust() and Brake() settings.
|
|
Velocity dclspc | TargetVelocity () const noexcept |
| | Gets the target velocity set for this RailRunner.
|
| Power dclspc | MaximumPowerOutput () const noexcept |
| Power dclspc | CurrentPowerOutput () const noexcept |
| Velocity dclspc | MaximumVelocity () const noexcept |
| void dclspc | Thrust (One byfactor) noexcept |
| | Sets the fraction of the maximum thrust to apply in order to reach the target velocity specified by TargetVelocity().
|
| One dclspc | Thrust () const noexcept |
| | Gets the fraction of the maximum thrust applied.
|
|
void dclspc | ThrustAbsolute (Force thrust) noexcept |
| | Sets the thrust as absolute force values. If the value exceeds MaxThrust() it get clipped.
|
|
Force dclspc | ThrustAbsolute () const noexcept |
| | Gets the thrust as absolute momentary force value.
|
| void dclspc | Brake (One byfactor) noexcept |
| | Sets the fraction of the maximum braking to apply in order
to reach a zero velocity.
|
| One dclspc | Brake () const noexcept |
| | Gets the fraction of the maximum braking applied.
|
|
void dclspc | BrakeAbsolute (Force brake) noexcept |
| | Sets the brake as absolute force value. If the value exceeds MaxBrake() it gets clipped.
|
|
Force dclspc | BrakeAbsolute () const noexcept |
| | Gets the brake as absolute force value.
|
|
Force dclspc | MaxBrake () const noexcept |
| | Gets the maximal available braking. This value is determined by the properties of the Wheelsets attached to WheelFrames wich in turn are attached to a bogie.
|
| void dclspc | SetTractionForceCharacteristic (std::shared_ptr< const struct TractionForceCharacteristic > pCharacteristic) |
| | applies a TractionForceCharacteristic to the thrust calculations.
|
| std::shared_ptr< const TractionForceCharacteristic > dclspc | GetTractionForceCharacteristic () const noexcept |
| int dclspc | Attach (const Wheelset &ws) |
| | Attaches a Wheelset to this WheelFrame.
|
|
void dclspc | DetachAllWheelsets () noexcept |
| | Removes all the Wheelsets.
|
|
int dclspc | CntWheelsets () const |
| | Gets the number of Wheelsets attached directly to this WheelFrame.
|
| dclspc const Wheelset & | GetWheelset (int idx) const |
| | Gets the Wheelset denoted by idx.
|
|
dclspc Jack & | JackOnMotorActive () noexcept |
| | Gets a Jack that pulses its Plug if the Feeder's motor gets activated in order to reach the target velocity.
|
|
dclspc Jack & | JackOnMotorInactive () noexcept |
| | Gets a Jack that pulses its Plug if the Feeder's motor gets deactivated.
|
|
dclspc Jack & | JackOnBrakeActive () noexcept |
| | Gets a Jack that pulses its Plug if the Feeder's brake gets activated in order to reach the target velocity.
|
|
dclspc Jack & | JackOnBrakeInactive () noexcept |
| | Gets a Jack that pulses its Plug if the Feeder's brake gets deactivated.
|
Gets the maximal available thrust. This value is determined by the properties of the Wheelsets attached to WheelFrames, wich in turn are attached to a bogie. It is also determined by the engine characteristic and the actual velocity.
- Parameters
-
| velocity | the velocity the maximum thrust is requested for. |
|
|
Force dclspc | MaxThrust () const noexcept |
|
Force dclspc | MaxThrust (Velocity velocity) const noexcept |
|
dclspc | TrackJointFeeder (Real engine_meters_per_unit, Real engine_kilograms_per_unit) noexcept |
|
bool dclspc | Rail (std::shared_ptr< const Track > pTrack, const TrackLocation &tl, bool doPulse=true) |
|
bool dclspc | Rail (const Location &location, bool doPulse=true) |
|
void dclspc | DeRail (bool doPulse=true) |
|
bool dclspc | IsRailed () const noexcept |
|
bool dclspc | IsMovableBodySleeping () const noexcept |
|
void dclspc | WakeUp () noexcept |
|
void dclspc | SetVelocity (Velocity velocity) |
|
Velocity dclspc | GetVelocity () const noexcept |
|
dclspc const Location & | GetLocation () const noexcept |
|
virtual void | SetLimits (const TrackJointLimits &wfl)=0 |
|
virtual void | SetMotorForceLimits (Force min, Force max) noexcept=0 |
|
virtual void | SetMotorTarget (Velocity) noexcept=0 |
|
virtual Velocity | GetMotorTarget () noexcept=0 |
| virtual spat::Frame< Length, One > | GlobalAnchor () const =0 |
| | Gets the anchor in global coordinates.
|
| virtual spat::Frame< Length, One > | Anchor () const noexcept=0 |
| | Gets the anchor in local coordinates.
|
|
virtual void | Anchor (const spat::Frame< Length, One > &frame)=0 |
| | Sets the anchor in local coordinates.
|
| dclspc std::shared_ptr< Event > | AttachEvent (std::shared_ptr< Event > pEvent) noexcept |
| | Attaches the sensor event to this TrackJointFeeder.
|
| dclspc std::shared_ptr< SignalTarget > | AttachSignal (std::shared_ptr< SignalTarget > pSignalTarget) noexcept |
| | Attaches the signal target to this TrackJointFeeder.
|
|
dclspc Jack & | JackOnRail () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame gets railed on a track.
|
|
dclspc Jack & | JackOnDerail () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame derails.
|
|
dclspc Jack & | JackOnRollingStart () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame starts to roll.
|
|
dclspc Jack & | JackOnRollingStop () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame stops to roll.
|
|
dclspc Jack & | JackOnStartTilting () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame starts tilting.
|
|
dclspc Jack & | JackOnStopTilting () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame starts tilting.
|
|
dclspc Jack & | JackOnTrackTransition () noexcept |
| | Gets a Jack that pulses its Plug if the WheelFrame passes the connection between two tracks.
|
|
Real | EngineMetersPerUnit () const noexcept |
|
Real | EngineKilogramsPerUnit () const noexcept |
Class with functionality to support a track joint on a track system. Provides a model for friction, brake and drive.