Choose a self-explaining name for your project.
this is our first milestone project in course 89210 that
we did as couple and as a team. at first it was very challenging but once
we understood the dividing work flow it all went much easier.
at first time we actually had to put our trust in each other and rely on the
partner that everything he suppose to supply me is good (like a black box).
in this project we actually "take" a plane "Cessna-172-P" and depart it in the well known Flight-Gear (https://www.flightgear.org/) simulator of flight. our mission was to fly the plan successfully, but on top of that we actually support every command that you could possibly want to set in the flight gear simulator. in other words, we built an Interpreter programm that take a language of commands that our instructor wrote, and interpret her first in a lexer and after analysing the text we parse it in the interpreter in order to execute every command or instruction.
- Using Pattern Designs and Architecture
- Communication and Client-Server Architecture
- Using Data Structures and DataBase
- injecting files and data to server and receive as well
- Multythread Programming
Arye's Classes:
- main
- RunProgramm
- OpenDataServerCommand
- SleepCommand
- PrintCommand
- Lexer
- Interpreter
- WhileCommand
- IfCommand
- ConditionParserCommand
- <<Command.h>> Interface
Miri's Classes:
- Math
- <<Expression.h>> Interface
- Condition
- ConnectCommand
- AssignVarCommand
- DefineVarCommand
- DataBase (singleton)
- download the Flight-Gear simulator version 2018 (if you want 2019 you will have to update the heading path).
- save the generic_small.xml file in data/protocol dir of flight gear.
- add these 2 lines in te settings:
--generic=socket,out,10,127.0.0.1,5400,tcp,generic_small
--telnet=socket,in,10,127.0.0.1,5402,tcp - open terminal in a linux system and in the directory of the programm:
- type: g++ -std=c++14 *.cpp -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -o a.out -pthread
- run ./a.out fly.txt
- press Fly! in the simulator program
- watch the Cesna takes off!
arye.amsalem@gmail.com
miriyungreis@gmail.com
none.
none.
in this opportunity i would like to praise and thank Miri Jungreis - my partner , that was very strong and dominant in managing the team of this project.
All rights reserved for Arye & Miri - no open source in this point.
Mile Stone #1 - delivered.