Challenge

Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear

1.controlling the retraction and extension of Airplane’s landing gear can be implemented using Finite State Machine (FSM). 

Goals

  • Controlling the direction of Valve.
  • Controlling the retraction and extension of Airplane’s landing gear.

Direction valve is use to control the hydrullic pressure requiered for the raising or lowering the landing gear,and operate by the software.

Various state of the airplane are 

  1. GEAR_DOWN,
  2. CHECKING_BEFORE_TAKEOFF,
  3. RAISING_GEAR,
  4. GEAR_UP,
  5. CHECK_BEFORE_LANDING,
  6. LOWERING_GEAR,

The state table for each state is below : 

PROGRAM 

RESULT

Outcomes:

  • Using the switch and gear states of Airplane, we can achieve the control over the retraction and extension of Airplane’s landing  gear using algorithm of finite state machine.
  • Learning and implementation of  FSM concept using diffrent functions of c language ,structures and arrays.
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.