|
AGX Dynamics 2.42.3.1
|
Initial track tension representing either legacy distance offset per node, or an actual initial tension force. More...
#include <TrackRoute.h>
Public Member Functions | |
| InitialTrackTension ()=default | |
| InitialTrackTension (agx::Real tension) | |
| Define the initial tension of a track. | |
| InitialTrackTension (agx::Real tension, bool isDistance) | |
| Define the initial tension of a track. | |
| agx::Real | getTensionDistancePerNode (const TrackProperties &properties, agx::Real nodeLength) const |
| This will give an estimate of the initial node distance for the given initial tension and track properties. | |
| void | restore (agxStream::InputArchive &in, const TrackRoute *route) |
| void | store (agxStream::OutputArchive &out) const |
Public Attributes | |
| bool | isDistance = false |
| True the "value" is legacy "initial distance tension". | |
| agx::Real | value = 0.0 |
| Value of the initial tension. | |
Initial track tension representing either legacy distance offset per node, or an actual initial tension force.
Definition at line 35 of file TrackRoute.h.
|
default |
|
inline |
Define the initial tension of a track.
Note that the initial tension is always an estimate and depends heavy on track wheel layout and friction against e.g. the terrain.
| tension | - initial tension in Newton. |
| isDistance | - when this is set to true the initial tension value is given as legacy distance offset per node. |
Definition at line 45 of file TrackRoute.h.
|
inlineexplicit |
Define the initial tension of a track.
Note that the initial tension is always an estimate and depends heavy on track wheel layout and friction against e.g. the terrain.
| tension | - initial tension in Newton. |
Definition at line 56 of file TrackRoute.h.
| agx::Real agxVehicle::InitialTrackTension::getTensionDistancePerNode | ( | const TrackProperties & | properties, |
| agx::Real | nodeLength | ||
| ) | const |
This will give an estimate of the initial node distance for the given initial tension and track properties.
| properties | - Track Properties used when calculating the node distance from initial tension value. |
| nodeLength | - The length of one track node in the track. |
| void agxVehicle::InitialTrackTension::restore | ( | agxStream::InputArchive & | in, |
| const TrackRoute * | route | ||
| ) |
| void agxVehicle::InitialTrackTension::store | ( | agxStream::OutputArchive & | out | ) | const |
| bool agxVehicle::InitialTrackTension::isDistance = false |
True the "value" is legacy "initial distance tension".
Definition at line 82 of file TrackRoute.h.
| agx::Real agxVehicle::InitialTrackTension::value = 0.0 |
Value of the initial tension.
This is per default the tension force in Newton. Note that this value is in meter and means initial distance tension if the flag isDistance is true.
Definition at line 77 of file TrackRoute.h.