Skip to content

RPI-WCL/UrgentPath

 
 

Repository files navigation

UrgentPath

An IOS application designed to provide navigational guidance to pilots in a total loss-of-thrust emergency. The application uses code from Aircraft_Trajectory_Generation to generate trajectories for emergency situations.

demoImage1 demoImage2

Build Prerequisite

Name Version
Xcode 9.4.1
Cocoapods 1.5.3
X-Plane 9 optional
X-Plane 11 optional

Please install other modules referenced to "Podfile" in the root directory of the project

X-Plane related

1.How to test the app with X-Plane simulator?

  1. Make sure both IOS device and machine running X-Plane are on the same LAN
  2. Execute "make" to run the "Makefile" under XPlane/ (using GNU make)
  3. Execute "./udp_redirect_xplane11.out 192.168.1.3" to redirect UDP packets(details check out #2)
  4. Start the X-Plane application and the IOS application
  5. Switch the button "Override with X-Plane data" to ON at the second tab of IOS application
  6. All set

2.How to properly run the executable file?

Example: Execute the command "./udp_redirect_xplane9.out 192.168.1.3"
"udp_redirect_xplane9.out" is executable file based on X-Plane 9, "udp_redirect_xplane11.out" is for X-Plane 11
"192.168.1.3" is the ip address of the IOS device inside the LAN, change accordingly

3. How does the connection work?

UDP protocol is used throughout the communication.

The data stream first sends the data from X-Plane to "*.out"

The X-Plane application sends the data to port 50000 (default on X-Plane) on the same machine, it is then received by the ".out" app

The ".out" app then sends the data to the IOS application.

The ".out" app sends the data to port 60000 on the IOS device, it is then received by the IOS application

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 53.2%
  • Swift 35.7%
  • C++ 5.9%
  • Python 3.7%
  • HTML 1.1%
  • Makefile 0.2%
  • Other 0.2%