29#include "trax/Units.h"
31#include "spat/Position2D.h"
98 inline bool IsValid()
const{
Value< Dimension< 1, 0, 0 > > Length
Length.
Definition DimensionedValues.h:324
Value< Dimension< 0, 1, 0 > > Mass
Mass.
Definition DimensionedValues.h:327
constexpr Real _m(Length l) noexcept
Dimensionated Values conversion functions.
Definition DimensionedValues.h:1210
constexpr Real _kg(Mass m) noexcept
Dimensionated Values conversion functions.
Definition DimensionedValues.h:1443
Value< Dimension< 2, 1, -2 > > Torque
Torque.
Definition DimensionedValues.h:337
Value< Dimension< 0, 0, 0 > > Angle
Angle in radians.
Definition DimensionedValues.h:320
constexpr Real _cm(Length l) noexcept
Dimensionated Values conversion functions.
Definition DimensionedValues.h:1226
Namespace of all the trax track libraries classes and methods.
Definition Collection.h:17
Implements a 2D - position in cartesian coordinates.
Definition Position2D.h:45
Length Gauge
Track gauge.
Definition Wheelset.h:42
Torque MaxBrakingTorque
Maximum braking torque that this wheelset can apply.
Definition Wheelset.h:52
Torque MaxMotorTorque
Maximum torque that this wheelset can apply for acceleration.
Definition Wheelset.h:51
Length Flange
Height of flange around the radius.
Definition Wheelset.h:43
Torque FrictionTorque
Friction that is introduced by this wheel.
Definition Wheelset.h:53
Length AxleRadius
Radius of the axle that holds the two wheels.
Definition Wheelset.h:45
Length WheelWidth
Width of the wheel.
Definition Wheelset.h:44
Mass TotalMass
Total mass of this wheelset.
Definition Wheelset.h:46
Angle Rotation
Rotation angle around axle (A.N).
Definition Wheelset.h:48
Length Shift
Shifting state along axle (A.N).
Definition Wheelset.h:49
Length Radius
Radius of the wheelpart it is rolling on the track with.
Definition Wheelset.h:41
spat::Position2D< Length > AxlePosition
Position of wheel axis relative to the WheelFrame's anchor A on the track (in A.T x A....
Definition Wheelset.h:47