Properties and thresholds for internal merging of nodes in agxVehicle::Track.
More...
#include <TrackInternalMergeProperties.h>
Properties and thresholds for internal merging of nodes in agxVehicle::Track.
Definition at line 28 of file TrackInternalMergeProperties.h.
◆ ContactReduction
Contact reduction of merged nodes in contact with other objects such as ground.
| Enumerator |
|---|
| NONE | Contact reduction disabled.
|
| MINIMAL | Contact reduction enabled with bin resolution = 3.
|
| MODERATE | Contact reduction enabled with bin resolution = 2.
|
| AGGRESSIVE | Contact reduction enabled with bin resolution = 1.
|
Definition at line 35 of file TrackInternalMergeProperties.h.
◆ TrackInternalMergeProperties()
| agxVehicle::TrackInternalMergeProperties::TrackInternalMergeProperties |
( |
| ) |
|
Default constructor: merge enabled = false number of nodes per merge segment = 3 contact reduction = ContactReduction::MINIMAL lock to reach merge condition = true lock compliance = 1.0E-11 lock damping = 3 / 60 max angle merge condition = 1.0E-5 (radians)
◆ getContactReduction()
| ContactReduction agxVehicle::TrackInternalMergeProperties::getContactReduction |
( |
| ) |
const |
- Returns
- contact reduction level
◆ getContactReductionBinResolution()
| agx::UInt agxVehicle::TrackInternalMergeProperties::getContactReductionBinResolution |
( |
| ) |
const |
- Returns
- bin resolution of contact reduction - agx::InvalidIndex if contact reduction is disabled
◆ getEnableContactReduction()
| agx::Bool agxVehicle::TrackInternalMergeProperties::getEnableContactReduction |
( |
| ) |
const |
- Returns
- true if contact reduction is enabled (i.e., MINIMAL, MODERATE or AGGRESSIVE)
◆ getEnableLockToReachMergeCondition()
| agx::Bool agxVehicle::TrackInternalMergeProperties::getEnableLockToReachMergeCondition |
( |
| ) |
const |
- Returns
- true if lock to reach merge condition is enabled, otherwise false
◆ getEnableMerge()
| agx::Bool agxVehicle::TrackInternalMergeProperties::getEnableMerge |
( |
| ) |
const |
- Returns
- true if merge functionality is enabled, otherwise false
◆ getLockToReachMergeConditionCompliance()
| agx::Real agxVehicle::TrackInternalMergeProperties::getLockToReachMergeConditionCompliance |
( |
| ) |
const |
- Returns
- hinge lock compliance
◆ getLockToReachMergeConditionDamping()
| agx::Real agxVehicle::TrackInternalMergeProperties::getLockToReachMergeConditionDamping |
( |
| ) |
const |
- Returns
- hinge lock damping
◆ getMaxAngleMergeCondition()
| agx::Real agxVehicle::TrackInternalMergeProperties::getMaxAngleMergeCondition |
( |
| ) |
const |
- Returns
- maximum angle > 0 that triggers merge between two nodes
◆ getNumNodesPerMergeSegment()
| agx::UInt agxVehicle::TrackInternalMergeProperties::getNumNodesPerMergeSegment |
( |
| ) |
const |
- Returns
- number of nodes in a row that may merge together
◆ resetToDefault()
| void agxVehicle::TrackInternalMergeProperties::resetToDefault |
( |
| ) |
|
Resets all values to default (see default constructor).
◆ setContactReduction()
| void agxVehicle::TrackInternalMergeProperties::setContactReduction |
( |
ContactReduction |
contactReductionLevel | ) |
|
Set contact reduction level of merged nodes against other objects.
- Parameters
-
| contactReductionLevel | - contact reduction level |
◆ setEnableLockToReachMergeCondition()
| void agxVehicle::TrackInternalMergeProperties::setEnableLockToReachMergeCondition |
( |
agx::Bool |
enable | ) |
|
Enable/disable the usage of hinge lock to reach merge condition (angle close to zero).
- Parameters
-
| enable | - true to enable, false to disable |
◆ setEnableMerge()
| void agxVehicle::TrackInternalMergeProperties::setEnableMerge |
( |
agx::Bool |
enable | ) |
|
Enable/disable merge of nodes to segments in the track.
- Parameters
-
| enable | - true to enable, false to disable |
◆ setLockToReachMergeConditionCompliance()
| void agxVehicle::TrackInternalMergeProperties::setLockToReachMergeConditionCompliance |
( |
agx::Real |
compliance | ) |
|
Assign compliance of the hinge lock used to reach merge condition.
- Parameters
-
| compliance | - hinge lock compliance |
◆ setLockToReachMergeConditionDamping()
| void agxVehicle::TrackInternalMergeProperties::setLockToReachMergeConditionDamping |
( |
agx::Real |
damping | ) |
|
Assign damping of the hinge lock used to reach merge condition.
- Parameters
-
| damping | - hinge lock damping |
◆ setMaxAngleMergeCondition()
| void agxVehicle::TrackInternalMergeProperties::setMaxAngleMergeCondition |
( |
agx::Real |
maxAngleToMerge | ) |
|
Assign maximum angle > 0 to trigger merge between nodes.
I.e., when the angle between two nodes < maxAngleToMerge the nodes will merge.
- Parameters
-
| maxAngleToMerge | - maximum angle > 0 to trigger merge between two nodes |
◆ setNumNodesPerMergeSegment()
| void agxVehicle::TrackInternalMergeProperties::setNumNodesPerMergeSegment |
( |
agx::UInt |
numNodesPerMergeSegment | ) |
|
Assign number of nodes in a row that may merge together.
- Parameters
-
| numNodesPerMergeSegment | - number of nodes in a row that may merge together |
The documentation for this class was generated from the following file: