Difference between revisions of "Component: Airplane Landing Gear (Scenarios)"
From Flowcode Help
Jump to navigationJump to search| Line 59: | Line 59: | ||
[[Airplane_Landing_Gear|Airplane Landing Gear Scenario]] | [[Airplane_Landing_Gear|Airplane Landing Gear Scenario]] | ||
| + | |||
| + | |||
| Line 64: | Line 66: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===FrontDoors=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 82: | Line 85: | ||
| + | ===FrontDoorCloseSwitch=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 95: | Line 99: | ||
| + | ===LandingGearDownSwitch=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 108: | Line 113: | ||
| + | ===RearDoorLocks=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 126: | Line 132: | ||
| + | ===LandingGearUpSwitch=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 139: | Line 146: | ||
| + | ===FrontDoorOpenSwitch=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 152: | Line 160: | ||
| + | ===FrontDoorLocks=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 170: | Line 179: | ||
| + | ===LandingGear=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 188: | Line 198: | ||
| + | ===RearDoorCloseSwitch=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 201: | Line 212: | ||
| + | ===RearDoors=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 219: | Line 231: | ||
| + | ===RearDoorOpenSwitch=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:51, 3 February 2023
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Scenarios |
Contents
Airplane Landing Gear component
A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LandingGearComponent_v002.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LandingGearComponent_v002.fcfx
Detailed description
No detailed description exists yet for this component
Examples
There is a detailed walk through of the scenario detailed at the link below to go with this component.
Airplane Landing Gear Scenario
Macro reference
FrontDoors
| FrontDoors | |
| Will allow the front doors to open. | |
| Direction | |
| Drops the door down or close them. 0 = Close 1 = Open | |
| Return | |
FrontDoorCloseSwitch
LandingGearDownSwitch
RearDoorLocks
| RearDoorLocks | |
| Will unlock or lock the rear doors | |
| OpenOrClose | |
| Open =1 Close =0 | |
| Return | |
LandingGearUpSwitch
| LandingGearUpSwitch | |
| Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended | |
| Return | |
FrontDoorOpenSwitch
FrontDoorLocks
| FrontDoorLocks | |
| Will lock or unlock the front doors depending on the number given to the paremeter. | |
| OpenOrClose | |
| Open =1 Close=0 | |
| Return | |
LandingGear
| LandingGear | |
| Retracts and drops the landing gear. | |
| Direction | |
| Drop the wheel down or retracts them. 0 = Retracts 1 = Drop | |
| Return | |
RearDoorCloseSwitch
| RearDoorCloseSwitch | |
| Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement. | |
| Return | |
RearDoors
| RearDoors | |
| Will allow the rear door to open | |
| Direction | |
| Drop the door down or close them. 0 = Close 1 = Open | |
| Return | |
RearDoorOpenSwitch
| RearDoorOpenSwitch | |
| Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement. | |
| Return | |
Property reference
| Properties |