VR-Engage  2.2
Loading...
Searching...
No Matches
pilotSimLogic.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file pilotSimLogic.h
7//! \brief Defines DtPilotSimLogic for managing aircraft simulation control logic
8//! \ingroup vrePilotFrontend
9
10#pragma once
11
16
17#include <matrix/vlVector.h>
18
19#include <string>
20#include <vector>
21
23
24namespace makVrv
25{
26//! \brief Forward declaration of the display element class
27class DtDe;
28
29//! \brief Forward declaration of the scene object class
30class DtSceneObject;
31
32//! \brief Forward declaration of the observer class
33class DtObserver;
34}; // namespace makVrv
35
36namespace makAudio
37{
38//! \brief Forward declaration of the sound class
39class DtSound;
40} // namespace makAudio
41
42namespace makVre
43{
44//! \brief Forward declaration of the flight controls input logic class
46
47//! \brief Forward declaration of the pilot instruments input logic class
49
51{
52//! \ingroup RoleConfigParams
53//! \defgroup PilotSimLogicRoleParams Pilot Simulation Logic Role Parameters
54//! \roleInherits{EntityControlLogicRoleParams}
55//! Configuration Options for pilotSimLogic role.
56//! @{
57
58//! \vreRoleParam{lowAltitudeThreshold,double,500.0,pilotSimLogic,Altitude threshold in feet below which low altitude warning is triggered.}
59constexpr const char* lowAltitudeThreshold = "lowAltitudeThreshold";
60
61//! \vreRoleParam{rwrConfig,table,{},pilotSimLogic,Configuration table for radar warning receiver (RWR) settings and sound mappings.}
62constexpr const char* rwrConfig = "rwrConfig";
63
64//! \vreRoleParam{sensorName,string,"Gimbaled Sensor",pilotSimLogic,Name of the primary sensor system for this aircraft.}
65constexpr const char* sensorName = "sensorName";
66
67//! \vreRoleParam{stallThreshold,double,100.0,pilotSimLogic,Airspeed threshold in knots below which stall warning is triggered.}
68constexpr const char* stallThreshold = "stallThreshold";
69
70//! \vreRoleParam{useHelicopterControls,bool,false,pilotSimLogic,Whether to use helicopter control scheme instead of fixed-wing controls.}
71constexpr const char* useHelicopterControls = "useHelicopterControls";
72
73//! \vreRoleParam{useRTD,bool,false,pilotSimLogic,Whether to use real-time dynamics for flight simulation.}
74constexpr const char* useRTD = "useRTD";
75
76//! @}
77} // namespace PilotSimLogicConfig
78
79//! \brief Type identifier for DtPilotSimLogic component
80constexpr const char* DtPilotSimLogicType = "DtPilotSimLogic";
81
82//! \brief Simulation logic component for the pilot role
83//!
84//! DtPilotSimLogic manages aircraft simulation behavior including flight controls,
85//! weapons systems, sensors, and aircraft-specific functionality. It provides methods
86//! for controlling aircraft systems and responding to simulation events while acting
87//! as the main control logic for pilot entities.
89{
90public:
91 //! \brief Default constructor
93
94 //! \brief Virtual destructor
95 virtual ~DtPilotSimLogic() override;
96
97 //! \brief Initializes the pilot simulation logic component
98 //! \param player Pointer to the player station
99 //! \param config Configuration settings for initialization
100 //! \return True if initialization was successful, false otherwise
101 virtual bool initialize(DtPlayerStation* player, DtInitTable& config) override;
102
103 //! \brief Updates simulation state for the current frame
104 //! \param dt Delta time since the last frame in seconds
105 virtual void tick(double dt) override;
106
107 //! \brief Cleans up resources when the component is being shut down
108 virtual void shutdown() override;
109
110 //! \brief Returns the component type identifier
111 //! \return The component type string
112 virtual const char* type() const override;
113
114 //! \brief Sends a joystick control message to the simulation
115 //! \param functionGroup Function group name for the joystick control
116 //! \param function Function name for the joystick control
117 //! \param val Input value for the function
118 //! \param delay Optional delay in seconds before the message is processed
120 const std::string& functionGroup, const std::string& function, double val, double delay = 0);
121
122 //! \brief Checks if real-time dynamics are enabled
123 //! \return True if real-time dynamics are enabled, false otherwise
124 virtual bool useRTD();
125
126 //! \brief Gets a reference to the flight controls input logic
127 //! \return Reference to the flight controls input logic component
129
130 //! \brief Gets a reference to the instrument controls input logic
131 //! \return Reference to the instrument controls input logic component
133
134 //! \brief Checks if the aircraft is a helicopter
135 //! \return True if the aircraft is a helicopter, false if it's fixed-wing
136 virtual bool isHelo() { return myHelo; };
137
138 //! \brief Checks if the cargo door is open
139 //! \return True if the cargo door is open, false otherwise
140 virtual bool isCargoDoorOpen();
141
142 //! \brief Opens the cargo door
143 virtual void openCargoDoor();
144
145 //! \brief Closes the cargo door
146 virtual void closeCargoDoor();
147
148 //! \brief Checks if the sliding door is open
149 //! \return True if the sliding door is open, false otherwise
150 virtual bool isSlidingDoorOpen();
151
152 //! \brief Opens the sliding door
153 virtual void openSlidingDoor();
154
155 //! \brief Closes the sliding door
156 virtual void closeSlidingDoor();
157
158 //! \brief Checks if the sling load door is open
159 //! \return True if the sling load door is open, false otherwise
160 virtual bool isSlingLoadDoorOpen();
161
162 //! \brief Opens the sling load door
163 virtual void openSlingLoadDoor();
164
165 //! \brief Closes the sling load door
166 virtual void closeSlingLoadDoor();
167
168 //! \brief Checks if the landing gear is down
169 //! \return True if the landing gear is down, false if it's up
170 virtual bool isLandingGearDown();
171
172 //! \brief Requests a Synthetic Aperture Radar (SAR) image
173 virtual void requestSarImage();
174
175 //! \brief Commands the gimbal sensor to track a laser code
176 //! \param laserCode The laser code to track
177 //! \param continuousTrack Flag indicating whether to continuously track the code
178 virtual void gimbalTrackLaserCode(int laserCode, bool continuousTrack);
179
180 //! \brief Commands the gimbal sensor to track an MGRS coordinate
181 //! \param mgrsCoord MGRS coordinate string to track
182 virtual void gimbalTrackMgrsCoord(const std::string& mgrsCoord);
183 //! \brief Cycles to the next gimbal sensor mode
184 //!
185 //! Cycles through available sensor modes which typically include IR (infrared),
186 //! NVG (night vision), and OTW (out-the-window/normal vision).
187 virtual void cycleGimbalSensorMode();
188
189 //! \brief Sets the autopilot mode
190 //! \param newMode New autopilot mode to set ("OFF", "PATH", "ALT/HDG/SPD", "ALT", "HDG", "SPD")
191 //! \param stayDisabledIfOff If true and the mode is set to "OFF", autopilot will remain off when toggled
192 //!
193 //! Pass an empty string to cycle to the next setting.
194 virtual void setAutopilot(const std::string& newMode, bool stayDisabledIfOff = false);
195
196 //! \brief Toggles the autopilot on/off
197 virtual void toggleAutopilot();
198
199 //! \brief Resets the aircraft in its current location
200 //! \param val Input value, typically 1.0 for activation
201 //!
202 //! Overloaded to handle special case when the aircraft is on the ground
203 virtual void resetInPlace(float val = 1) override;
204
205 //! \brief Sets the flap position
206 //! \param flap Flap position index to set
207 virtual void setFlap(int flap);
208
209 //! \brief Sets the autopilot mode extended data
210 //! \param value Mode value as a string
211 virtual void setAutopilotMode(const std::string& value);
212
213 //! \brief Sets the autopilot heading extended data
214 //! \param value Heading value as a string
215 virtual void setAutopilotHeading(const std::string& value);
216
217 //! \brief Sets the autopilot altitude extended data
218 //! \param value Altitude value as a string
219 virtual void setAutopilotAltitude(const std::string& value);
220
221 //! \brief Sets the autopilot speed extended data
222 //! \param value Speed value as a string
223 virtual void setAutopilotSpeed(const std::string& value);
224
225 //! \brief Sets the autopilot route extended data
226 //! \param value Route value as a string
227 virtual void setAutopilotRoute(const std::string& value);
228
229 //! \brief Suppresses warning messages temporarily
230 //!
231 //! Suppresses audio and visual warnings for a configured duration
232 virtual void suppressWarnings();
233
234 //! \name Joystick Function Processing
235 //! Methods for processing joystick inputs. The input value range is typically 0.0 to 1.0
236 //! and can represent either an axis value or a button value.
237 //! @{
238
239 //! \brief Handles joystick trigger input
240 //! \param val Input value, typically 1.0 for activation
241 virtual void trigger(double val);
242
243 //! \brief Toggles between first-person and third-person view modes
244 //! \param val Input value, typically 1.0 for activation
245 virtual void toggleObserverAttachMode(double val);
246
247 //! \brief Toggles the laser designator on/off
248 virtual void toggleLasingState();
249
250 //! \brief Sets the laser designator code
251 //! \param val Laser code to set
252 virtual void setLaserCode(int val);
253
254 //! \brief Sets the target as the bullseye reference point
255 //! \param target Entity identifier of the target to set as bullseye
256 virtual void setBullseye(const DtEntityIdentifier& target);
257
258 //! \brief Commands the gimbal sensor to track a radar-detected entity
259 //!
260 //! Directs the gimbal sensor to slew to and track the currently designated radar target
262
263 //! \brief Structure containing countermeasures launch parameters
265 {
266 public:
267 int numToFire; //!< Number of countermeasures to fire
268 double fireInterval; //!< Time interval between successive launches in seconds
269 DtEntityType cmType; //!< Entity type of the countermeasures to launch
270 };
271
272 //! \brief Gets the launch parameters for a specific countermeasure type
273 //! \param countermeasuresName Name of the countermeasures type
274 //! \return Launch parameters for the specified countermeasures
275 virtual CmLaunchParameters countermeasuresLaunchParameters(const std::string& countermeasuresName);
276
277 //! \brief Clears the cached location the gimbaled sensor is pointing at
278 virtual void clearTrackingLocation();
279
280 //! \brief Toggles between true north and magnetic north reference
281 //! \param val Input value, typically 1.0 for activation
282 virtual void toggleNorthReference(double val);
283
284 //! @}
285
286protected:
287 //! \name Message Handler Methods
288 //! Methods for handling various message types from the message manager
289 //! @{
290
291 //! \brief Handles simulation state messages
292 //! \param msg Pointer to the message being processed
293 //! \return Message processing result
294 //!
295 //! Updates state attributes based on ownship simulation state.
297
298 //! \brief Handles cockpit initialized messages
299 //! \param msg Pointer to the message being processed
300 //! \return Message processing result
301 //!
302 //! Updates the master warning enabled/disabled state on cockpit initialization.
304
305 //! \brief Handles RWR catalog request messages
306 //! \param msg Pointer to the message being processed
307 //! \return Message processing result
308 //!
309 //! Updates the Radar Warning Receiver with the configured catalog when the RWR is initialized.
311
312 //! \brief Handles RWR play sound messages
313 //! \param msg Pointer to the message being processed
314 //! \return Message processing result
315 //!
316 //! Plays the specified RWR sound or stops all sounds when "Stop" is specified.
318
319 //! \brief Handles entity state string messages
320 //! \param msg Pointer to the message being processed
321 //! \return Message processing result
322 //!
323 //! Updates the "selectedWeaponLabel" state attribute when the "SelectedWeapon" state property is updated.
325
326 //! \brief Handles RWR sounds enabled messages
327 //! \param msg Pointer to the message being processed
328 //! \return Message processing result
329 //!
330 //! Sets the "rwrSoundsEnabled" state attribute.
332
333 //! \brief Handles gimbal cycle sensor mode messages
334 //! \param msg Pointer to the message being processed
335 //! \return Message processing result
336 //!
337 //! If this message is intended for this entity, cycles the gimbal view by calling
338 //! cycleGimbalSensorMode(). This causes the gimbal view of the Multi-Functional
339 //! Display to cycle to the next sensor view (typically IR, NVG, and Out-the-Window).
340 //! This message can be received from a GL Studio mouse button click or controller input.
342 //! @}
343
344 //! \brief Handles cycle selected weapon messages
345 //! \param msg Pointer to the message being processed
346 //! \return Message processing result
347 //!
348 //! If this message is intended for this entity, cycles the selected weapon.
349 //! This message is received from an MFD button click when the Weapons and Stores panel
350 //! is activated.
352
353 //! \brief Handles toggle auto countermeasures messages
354 //! \param msg Pointer to the message being processed
355 //! \return Message processing result
356 //!
357 //! If this message is intended for this entity, toggles automatic countermeasures on/off.
358 //! This message is received from an MFD button click when the Weapons and Stores panel
359 //! is activated.
361
362 //! \brief Handles designated targets update messages
363 //! \param msg Pointer to the message being processed
364 //! \return Message processing result
365 //!
366 //! Handles radar target selection messages, which are received from a radar 'z' button
367 //! click when in radar MFD or cursor select from joystick. Allows the gimbal sensor to
368 //! track a radar-detected entity.
370
371 //! \brief Handles window created messages
372 //! \param msg Pointer to the message being processed
373 //! \return Message processing result
374 //!
375 //! Caches the window and channel name for the gimbaled sensor when windows are created.
377
378 //! \brief Adds a sound to the RWR sound system
379 //! \param key Identifier key for the sound
380 //! \param soundFile Path to the sound file
381 //! \param pitch Pitch adjustment for the sound
382 //! \param volume Volume level for the sound
383 //! \param repeatSound Whether the sound should loop
384 virtual void addRwrSound(
385 const std::string& key, const std::string& soundFile, double pitch, double volume, bool repeatSound);
386
387 //! \brief Plays a specific RWR sound
388 //! \param key Identifier key of the sound to play
389 virtual void playRwrSound(const std::string& key);
390
391 //! \brief Stops all currently playing RWR sounds
392 virtual void stopRwrSounds();
393
394 //! \brief Stops the laser designator
395 //!
396 //! Deactivates the laser designator and stops lasing the current location
397 virtual void stopLasingLocation();
398
399 //! \brief Starts the laser designator
400 //!
401 //! Activates the laser designator and begins lasing the current target location
402 virtual void startLasingLocation();
403
404protected:
405 //! \brief Flag indicating if real-time dynamics are enabled
407
408 //! \brief Pointer to the flight controls input logic component
410
411 //! \brief Pointer to the instruments input logic component
413
414 //! \brief Current observer attachment type
416
417 //! \brief Offset vector for observer attachment
419
420 //! \brief Orientation for observer attachment
422
423 //! \brief Map of RWR sounds indexed by sound key
424 //!
425 //! Sounds to play for various RWR events, such as when a new contact is added.
426 std::map<std::string, makAudio::DtSound*> myRwrSoundMap;
427
428 //! \brief Cached RWR configuration table
429 //!
430 //! Caches the Radar Warning Receiver catalog to send to the RWR once it's initialized.
432
433 //! \brief Flag indicating if the aircraft is a helicopter
434 bool myHelo;
435
436 //! \brief Previously set autopilot mode
438
439 //! \brief Altitude threshold for low altitude warnings in meters
441
442 //! \brief Airspeed threshold for stall warnings in meters per second
444
445 //! \brief Time remaining for warning suppression in seconds
447
448 //! \brief Name of the window containing the gimbal display
450
451 //! \brief Name of the channel containing the gimbal display
453
454 //! \brief Name of the current sensor
455 std::string mySensorName;
456
457 //! \brief Vector of available gimbal sensor modes
458 //!
459 //! The different gimbal sensor modes (IR, NVG, Out-the-Window).
460 //! The first element of the vector is the current mode.
461 //! When cycling modes, the vector elements are rotated.
462 //! - IR: infrared sensor view
463 //! - NVG: night vision sensor view
464 //! - Out-the-Window: regular view without special effects
465 std::vector<std::string> myGimbalSensorModes;
466
467 //! \brief Pointer to the observer for getting position and orientation
468 //!
469 //! Used in gun fire to get observer X,Y,Z & H,P,R
470 makVrv::DtObserver* myObserver;
471
472 //! \brief Entity identifier of the currently designated radar target
473 DtEntityIdentifier myDesginatedRadarTarget;
474
475 //! \brief Map of countermeasures launch parameters indexed by name
476 std::map<std::string, CmLaunchParameters> myCmLaunchParameters;
477};
478} // namespace makVre
DtEntityControlLogic()
Constructor.
Input logic component for aircraft flight controls.
Definition flightControlsInputLogic.h:27
Table-based access to Lua state for configuration data.
Definition initializer.h:38
Input logic for aircraft instrument controls.
Definition instrumentsInputLogic.h:35
virtual DtVreMessageResult handleSetRwrSoundsEnabledMessage(DtVreMessage *msg)
Handles RWR sounds enabled messages.
virtual void gimbalTrackDesignatedRadarTrack()
Commands the gimbal sensor to track a radar-detected entity.
virtual bool isLandingGearDown()
Checks if the landing gear is down.
virtual void openSlingLoadDoor()
Opens the sling load door.
virtual void setAutopilotAltitude(const std::string &value)
Sets the autopilot altitude extended data.
virtual void closeSlingLoadDoor()
Closes the sling load door.
virtual void toggleObserverAttachMode(double val)
Toggles between first-person and third-person view modes.
bool myUseRTD
Flag indicating if real-time dynamics are enabled.
Definition pilotSimLogic.h:406
std::string myGimbalWindowName
Name of the window containing the gimbal display.
Definition pilotSimLogic.h:449
virtual void requestSarImage()
Requests a Synthetic Aperture Radar (SAR) image.
bool myHelo
Flag indicating if the aircraft is a helicopter.
Definition pilotSimLogic.h:434
std::vector< std::string > myGimbalSensorModes
Vector of available gimbal sensor modes.
Definition pilotSimLogic.h:465
virtual void openCargoDoor()
Opens the cargo door.
virtual void gimbalTrackMgrsCoord(const std::string &mgrsCoord)
Commands the gimbal sensor to track an MGRS coordinate.
virtual void cycleGimbalSensorMode()
Cycles to the next gimbal sensor mode.
virtual const char * type() const override
Returns the component type identifier.
virtual void gimbalTrackLaserCode(int laserCode, bool continuousTrack)
Commands the gimbal sensor to track a laser code.
makVrv::DtObserver * myObserver
Pointer to the observer for getting position and orientation.
Definition pilotSimLogic.h:470
DtVector myAttachOffset
Offset vector for observer attachment.
Definition pilotSimLogic.h:418
virtual DtVreMessageResult handleRwrPlaySound(DtVreMessage *msg)
Handles RWR play sound messages.
std::string mySensorName
Name of the current sensor.
Definition pilotSimLogic.h:455
DtPilotInstrumentsInputLogic * myInstrumentsInputLogic
Pointer to the instruments input logic component.
Definition pilotSimLogic.h:412
virtual bool isHelo()
Checks if the aircraft is a helicopter.
Definition pilotSimLogic.h:136
virtual void setAutopilotMode(const std::string &value)
Sets the autopilot mode extended data.
std::string myGimbalChannelName
Name of the channel containing the gimbal display.
Definition pilotSimLogic.h:452
virtual bool isCargoDoorOpen()
Checks if the cargo door is open.
std::map< std::string, makAudio::DtSound * > myRwrSoundMap
Map of RWR sounds indexed by sound key.
Definition pilotSimLogic.h:426
virtual void setFlap(int flap)
Sets the flap position.
virtual DtVreMessageResult handleCycleSelectedWeaponMessage(DtVreMessage *msg)
Handles cycle selected weapon messages.
virtual void tick(double dt) override
Updates simulation state for the current frame.
virtual DtVreMessageResult handleDesignatedTargetsUpdate(DtVreMessage *msg)
Handles designated targets update messages.
virtual DtVreMessageResult handleWindowCreated(DtVreMessage *msg)
Handles window created messages.
DtEntityIdentifier myDesginatedRadarTarget
Entity identifier of the currently designated radar target.
Definition pilotSimLogic.h:473
virtual CmLaunchParameters countermeasuresLaunchParameters(const std::string &countermeasuresName)
Gets the launch parameters for a specific countermeasure type.
virtual void openSlidingDoor()
Opens the sliding door.
DtFlightControlsInputLogic * myFlightControlsInputLogic
Pointer to the flight controls input logic component.
Definition pilotSimLogic.h:409
virtual DtFlightControlsInputLogic & flightControls()
Gets a reference to the flight controls input logic.
virtual void setLaserCode(int val)
Sets the laser designator code.
virtual ~DtPilotSimLogic() override
Virtual destructor.
virtual DtVreMessageResult handleEntityStateStringMessage(DtVreMessage *msg)
Handles entity state string messages.
virtual bool initialize(DtPlayerStation *player, DtInitTable &config) override
Initializes the pilot simulation logic component.
virtual bool isSlidingDoorOpen()
Checks if the sliding door is open.
std::string myCachedAutopilotMode
Previously set autopilot mode.
Definition pilotSimLogic.h:437
virtual DtVreMessageResult handleSimState(DtVreMessage *msg) override
Handles simulation state messages.
virtual void toggleNorthReference(double val)
Toggles between true north and magnetic north reference.
virtual bool isSlingLoadDoorOpen()
Checks if the sling load door is open.
virtual void closeCargoDoor()
Closes the cargo door.
virtual void clearTrackingLocation()
Clears the cached location the gimbaled sensor is pointing at.
virtual DtPilotInstrumentsInputLogic & instrumentControls()
Gets a reference to the instrument controls input logic.
virtual void toggleAutopilot()
Toggles the autopilot on/off.
double myWarningsSuppressed
Time remaining for warning suppression in seconds.
Definition pilotSimLogic.h:446
virtual void setAutopilotSpeed(const std::string &value)
Sets the autopilot speed extended data.
virtual DtVreMessageResult handleCockpitInitialized(DtVreMessage *msg)
Handles cockpit initialized messages.
virtual void sendJoystickMessage(const std::string &functionGroup, const std::string &function, double val, double delay=0)
Sends a joystick control message to the simulation.
virtual void setAutopilot(const std::string &newMode, bool stayDisabledIfOff=false)
Sets the autopilot mode.
int myAttachType
Current observer attachment type.
Definition pilotSimLogic.h:415
DtInitTable myRwrConfig
Cached RWR configuration table.
Definition pilotSimLogic.h:431
virtual void setAutopilotRoute(const std::string &value)
Sets the autopilot route extended data.
virtual void stopRwrSounds()
Stops all currently playing RWR sounds.
virtual void suppressWarnings()
Suppresses warning messages temporarily.
virtual void playRwrSound(const std::string &key)
Plays a specific RWR sound.
double myStallThreshold
Airspeed threshold for stall warnings in meters per second.
Definition pilotSimLogic.h:443
virtual DtVreMessageResult handleRwrCatalogRequest(DtVreMessage *msg)
Handles RWR catalog request messages.
std::map< std::string, CmLaunchParameters > myCmLaunchParameters
Map of countermeasures launch parameters indexed by name.
Definition pilotSimLogic.h:476
virtual void trigger(double val)
Handles joystick trigger input.
virtual void stopLasingLocation()
Stops the laser designator.
virtual bool useRTD()
Checks if real-time dynamics are enabled.
DtPilotSimLogic()
Default constructor.
virtual void startLasingLocation()
Starts the laser designator.
DtTaitBryan myAttachOrientation
Orientation for observer attachment.
Definition pilotSimLogic.h:421
virtual void resetInPlace(float val=1) override
Resets the aircraft in its current location.
virtual void addRwrSound(const std::string &key, const std::string &soundFile, double pitch, double volume, bool repeatSound)
Adds a sound to the RWR sound system.
virtual DtVreMessageResult handleGimbalCycleSensorModeMessage(DtVreMessage *msg)
Handles gimbal cycle sensor mode messages.
virtual DtVreMessageResult handleToggleAutoCountermeasuresMessage(DtVreMessage *msg)
Handles toggle auto countermeasures messages.
virtual void closeSlidingDoor()
Closes the sliding door.
virtual void setBullseye(const DtEntityIdentifier &target)
Sets the target as the bullseye reference point.
double myLowAltitudeThreshold
Altitude threshold for low altitude warnings in meters.
Definition pilotSimLogic.h:440
virtual void shutdown() override
Cleans up resources when the component is being shut down.
virtual void toggleLasingState()
Toggles the laser designator on/off.
virtual void setAutopilotHeading(const std::string &value)
Sets the autopilot heading extended data.
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Provides coordinate conversion functionality between different coordinate systems.
Defines the logic for controlling entities in VR-Engage.
Defines helper utilities for working with entities in VR-Engage.
constexpr const char * sensorName
Definition pilotSimLogic.h:65
constexpr const char * useHelicopterControls
Definition pilotSimLogic.h:71
constexpr const char * stallThreshold
Definition pilotSimLogic.h:68
constexpr const char * useRTD
Definition pilotSimLogic.h:74
constexpr const char * rwrConfig
Definition pilotSimLogic.h:62
constexpr const char * lowAltitudeThreshold
Definition pilotSimLogic.h:59
Defines export/import macros for the Pilot Frontend library.
#define PILOT_DLL
Definition export.h:19
Component configuration and usage details.
Definition audioUpdater.h:21
Definition pilotSimLogic.h:51
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtPilotSimLogicType
Type identifier for DtPilotSimLogic component.
Definition pilotSimLogic.h:80
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Definition appLauncherComponent.h:28
Structure containing countermeasures launch parameters.
Definition pilotSimLogic.h:265
int numToFire
Number of countermeasures to fire.
Definition pilotSimLogic.h:267
double fireInterval
Time interval between successive launches in seconds.
Definition pilotSimLogic.h:268
DtEntityType cmType
Entity type of the countermeasures to launch.
Definition pilotSimLogic.h:269
Defines the base class for all VREngage messages.