VR-Engage  2.3
Loading...
Searching...
No Matches
Towing Control Logic Role Parameters

Detailed Description

Collaboration diagram for Towing Control Logic Role Parameters:

Variables

constexpr auto makVre::TowingControlLogicConfig::hasTowHook = "hasTowHook"
 
constexpr auto makVre::TowingControlLogicConfig::ownershipAcquireDelaySeconds = "ownershipAcquireDelaySeconds"
 
constexpr auto makVre::TowingControlLogicConfig::ownershipReleaseDelaySeconds = "ownershipReleaseDelaySeconds"
 
constexpr auto makVre::TowingControlLogicConfig::hookHandoffTimeoutSeconds = "hookHandoffTimeoutSeconds"
 

Variable Documentation

◆ hasTowHook

auto makVre::TowingControlLogicConfig::hasTowHook = "hasTowHook"
constexpr
Parameter NamehasTowHook
Parameter DescriptionDoes this role have the ability for towing.
Parameter Typebool
Parameter Defaultfalse
Required?No

Example Role Config Usage:

["towingControlLogic"] = {
...
hasTowHook = false;
...
};

◆ ownershipAcquireDelaySeconds

auto makVre::TowingControlLogicConfig::ownershipAcquireDelaySeconds = "ownershipAcquireDelaySeconds"
constexpr
Parameter NameownershipAcquireDelaySeconds
Parameter DescriptionDelay in seconds before sending the tow-target ownership acquire request so the transfer marker can propagate.
Parameter Typedouble
Parameter Default0.5
Required?No

Example Role Config Usage:

["towingControlLogic"] = {
...
ownershipAcquireDelaySeconds = 0.5;
...
};

◆ ownershipReleaseDelaySeconds

auto makVre::TowingControlLogicConfig::ownershipReleaseDelaySeconds = "ownershipReleaseDelaySeconds"
constexpr
Parameter NameownershipReleaseDelaySeconds
Parameter DescriptionDelay in seconds after the towed target leaves sensor range before releasing ownership back.
Parameter Typedouble
Parameter Default1.0
Required?No

Example Role Config Usage:

["towingControlLogic"] = {
...
ownershipReleaseDelaySeconds = 1.0;
...
};

◆ hookHandoffTimeoutSeconds

auto makVre::TowingControlLogicConfig::hookHandoffTimeoutSeconds = "hookHandoffTimeoutSeconds"
constexpr
Parameter NamehookHandoffTimeoutSeconds
Parameter DescriptionTimeout in seconds to wait for the tow hook to engage after an ownership transfer succeeds.
Parameter Typedouble
Parameter Default10.0
Required?No

Example Role Config Usage:

["towingControlLogic"] = {
...
hookHandoffTimeoutSeconds = 10.0;
...
};