VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Encumbered Flight (Back-End) (addSetEncumbranceSim)

Table of Contents

The Add Set Encumbrance example creates a new "Set" command that allows a user to an encumbrance value to DtManualRotaryWingEncumberedFlightActuator.

This is the sim engine plugin which receives the request and changes the weight of the aircraft. The message is sent by the addSetEncumbranceGui example. This is very similar to the addSetSim example. See this example for a detailed explanation of adding a set message to the sim.

In the Launcher, click the Plug-ins button to bring up the Plug-ins Selection dialog. Enable the EncumberedFlight plugin. Then launch VR-Forces.

To view the behavior:

  1. Create a new scenario.
  2. Create two CH-47 Chinook rotary wing aircraft nearby each other.
  3. Right click on the first Chinook and select Set → Position → Encumbrance...
  4. Set the Encumberance in the pop-up box to 10000 kg and click the OK button.
  5. Create plans for both Chinooks and task them to fly to altitude of 5000 m.
  6. Switch the observer view to Out-the-Window
  7. Orient the view so that it is a perspective with both helicopters visible.
  8. Run the scenario

Observe that the encumbered helicopter rises in altitude more slowly than the unencumbered helicopter.

DtManualRotaryWingEncumberedFlightActuatorActuator that accepts the set message and changes the weight of the aircraft.
DtSetEncumbranceRequestThe subclass of DtSetDataRequest that is used to communicate the new set request between the front-end and the back-end.


Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)