---------- Forwarded message ----------
From: "Derrick Washington" <[email protected]>
Date: Aug 2, 2011 12:49 AM
Subject: Generic Protocol Error --> Error opening serial device "COM27" The
system cannot find the file specified.
To: <[email protected]>
Hi Curt
I have been trying for a few weeks now to get FG to transmit data to a
serial port COM27 via the generic protocol, and for some reason unknown to
me the simulator simply will not comply. I have several other programs
which use this port with out a problem, I am using a usb to serial cable
"GigaWare" I'm not sure what exactly is going on but I really could use
some developer insight on this one. I had planned to use FG as a the
simulation platform for my autopilot design. I have the hardware and
software already to go, just need to get FG talking to the serial port.
3 - 'C:\Program Files\FlightGear\terrasync'
C:\Program Files\FlightGear\bin\Win32\terrasync.exe -S -d "C:\Program
Files\Flig
htGear\terrasync" -p 5500
Airports/K ... Error opening serial device "COM27" The system cannot find
the file specified.
Error opening device: COM27
Error opening channel communication layer.
I/O Channel config failed.
C:\Program Files\FlightGear\bin\Win32\fgfs.exe
--fg-root=C:\Program Files\FlightGear\data
--fg-scenery=C:\Program Files\FlightGear\data\Scenery;C:\Program
Files\FlightGear\scenery;C:\Program Files\FlightGear\terrasync
--airport=KMDW
--runway=13L
--aircraft=f-14b
--control=joystick
--enable-random-objects
--enable-ai-models
--enable-clouds3d
--fog-disable
--bpp=32
--texture-filtering=16
--timeofday=noon
--atlas=socket,out,5,localhost,5500,udp
--generic=serial,out,5,COM27,9600,FlightGear_GPO
<?xml version="1.0"?>
<PropertyList>
<generic>
<output>
<binary_mode>true</binary_mode>
<!-- GPS output of course to allow the plane to actually fly to it destination, and for some angle calculations -->
<chunk>
<name>Speed</name>
<node>/velocities/airspeed-kt</node>
</chunk>
<chunk>
<name>Altitude </name>
<node>/position/altitude-ft</node>
</chunk>
<chunk>
<name>Latitude-deg </name>
<node>/position/latitude-deg</node>
</chunk>
<chunk>
<name>Longitude-deg (rad)</name>
<node>/position/longitude-deg</node>
</chunk>
<!-- Orientation angular rate outputs to allow my HiL to calculate the orientation angles -->
<chunk>
<name>Pitch rate (deg per sec)</name>
<node>/orientation/pitch-rate-degps</node>
</chunk>
<chunk>
<name>Roll rate (deg per sec)</name>
<node>/orientation/roll-rate-degps</node>
</chunk>
<chunk>
<name>Yaw Rate (deg per sec )</name>
<node>/orientation/yaw-rate-degps</node>
</chunk>
<!-- Accelerometer magnitude outputs to allow my HiL to calculate the orientation angles -->
<chunk>
<name>Accelerometer X (ft per sec)</name>
<node>/accelerations/x-accel-fps_sec</node>
</chunk>
<chunk>
<name>Accelerometer Y (ft per sec)</name>
<node>/accelerations/y-accel-fps_sec</node>
</chunk>
<chunk>
<name>Accelerometer Z (ft per sec)</name>
<node>/accelerations/z-accel-fps_sec</node>
</chunk>
<!-- Orientation Angles output for comparason with calculated angles done by my HiL -->
<chunk>
<name>Roll Angle (deg)</name>
<node>/orientation/roll-deg</node>
</chunk>
<chunk>
<name>Pitch Angle (deg)</name>
<node>/orientation/pitch-deg</node>
</chunk>
<chunk>
<name>Yaw Rate (deg)</name>
<node>/orientation/yaw-deg</node>
</chunk>
</output>
</generic>
</PropertyList>------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel