1)Copy protocol files from Protocol/ to C:\Program Files (x86)\FlightGear\data\Protocol\
2)Compile and upload Rxreader/Rxreader.pde to the Arduino.
3)Connect Receiver to the Arduino
4)Run the C# program and connect to the Arduino and click to calibrate (this determines min-max values). When min-max values determined, finish the calibration.
5)Run Flightgear with the following arguments.
"C:\Program Files (x86)\FlightGear\bin\Win32\fgfs" ^ "--fg-root=C:\Program Files (x86)\FlightGear\data" ^ "--aircraft=Malolo1" ^ "--generic=socket,out,10,127.0.0.1,49001,udp,outputprotocol" ^ "--generic=socket,in,10,,49000,udp,inputprotocol" ^ "--timeofday=noon"
That's all.
No comments:
Post a Comment