FlightGear Route Manager (Scripts) Publisher's description
from Johann Schweikl
The ZIP-file contains a library of Matlab functions to remotely control an aircraft's path in FlightGear
The ZIP-file contains a library of Matlab functions to remotely control an aircraft's path in FlightGear:
Activates Autopilot and sets target speed.
Adds waypoint/s (Latitude [deg], Longitude [deg], Altitude [ft]) after last entry of current route.
Changes view to view number n.
Deletes all waypoints of the current route.
Deletes waypoint n on the current route.
Reads aircraft position and orientation (Latitude [deg], Longitude [deg], Altitude [ft], Ground elevation [m], Heading [deg], Pitch [deg], Yaw [deg], Roll [deg]).
Reads FlightGear's simulation time in seconds.
Reads waypoint n of the current route.
Reads distance of aircraft from current waypoint in sea miles and converts it to meters.
Reads number of remaining waypoints on the current route.
Inserts waypoint/s (Latitude [deg], Longitude [deg], Altitude [ft]) at certain position of current route.
Pops current waypoint.
Speeds up FlightGear's simulation speed by a factor.
The functions were written for the simulation of routing algorithms in Matlab. Functions for other purposes can be easily implemented by using the same type of socket connection.
In order to communicate with the flight simulator, FlightGear has to be started with the following command line options:
fgfs.exe -fg-root=SOME.PATH -fg-scenery=SOME.PATH -props=PORT-A -httpd=PORT-B
PORT-A is the port used for communicating with Matlab. With a web browser on the same machine, one can browse the FlightGear property tree when opening the following url:
The httpd-option offers a similar interface as the props-option, but is more convenient for the manual assignment of state variables in FlightGear.
System Requirements:MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall