[Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-03 Thread Derrick Washington
-- Forwarded message -- From: Derrick Washington ddwas...@gmail.com Date: Aug 2, 2011 12:49 AM Subject: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified. To: curtol...@gmail.com Hi Curt I have been trying for a few weeks

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-03 Thread Derrick Washington
Ill try this see if it works, ill get back to u guys later on this week, away on vacation now. But thanks for responding, if anyone else know of sure solution let me know though, but I will be sure to try this out. Oh yes the com port number is correct, not sure y its that high but it is

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-06 Thread Derrick Washington
OK, has anyone actually attempted this method, and got it too work, lol bcus I just tried it got the bluescreen of death twice. The syntax definitely does something but it also take the computer down, any suggestions? On Aug 3, 2011 9:11 PM, Derrick Washington ddwas...@gmail.com wrote: Ill try

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-06 Thread Derrick Washington
-filtering=16 --timeofday=noon --atlas=socket,out,5,localhost,5500,udp --generic=serial,in,3,COM3,115200,FlightGear_GPI On Sat, Aug 6, 2011 at 8:56 PM, Derrick Washington ddwas...@gmail.comwrote: OK, has anyone actually attempted this method, and got it too work, lol bcus I just tried

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-07 Thread Derrick Washington
Curt... I believe I'm just inputting control surface positions, however but I did have the remote plugged in, I'll make sure to unplug it on my next try. On Sun, Aug 7, 2011 at 11:10 AM, Curtis Olson curtol...@gmail.com wrote: Inputs: what inputs are you sending? Are they getting

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-07 Thread Derrick Washington
OK So I believe I've got it to work on COM27 by using the \\.\COM27 syntax. I still have a problem sending and receiving at the same time, FG will not allow me to open up multiple generic serial protocols to the same COM port for in and out, only one at a time and bi directional doesn't seem to

[Flightgear-devel] FlightGear Inputs

2011-08-07 Thread Derrick Washington
Hi I need to know if the inputs coming from FG, while using a generic protocol having binary mode set to true, are coming in as integers that need to be converted to floating point or is FG actually sending in a floating point word, a byte at a time? So my code to receive FG data looks

Re: [Flightgear-devel] FlightGear Inputs

2011-08-08 Thread Derrick Washington
included the .xml file I've been using so you can take a look is there something that I'm doing wrong? On Mon, Aug 8, 2011 at 3:19 AM, Erik Hofman e...@ehofman.com wrote: On Sun, 2011-08-07 at 20:33 -0400, Derrick Washington wrote: Hi I need to know if the inputs coming from FG, while

Re: [Flightgear-devel] FlightGear Inputs

2011-08-08 Thread Derrick Washington
:58 AM, Erik Hofman e...@ehofman.com wrote: On Mon, 2011-08-08 at 07:20 -0400, Derrick Washington wrote: Hi Erik Thanks for the input, by the way I thought that bidirectional transmission was unsupported. I tried to put both my input and outputs in the same xml file and choose bi

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-08 Thread Derrick Washington
for this? On Sun, Aug 7, 2011 at 5:44 PM, Derrick Washington ddwas...@gmail.comwrote: OK So I believe I've got it to work on COM27 by using the \\.\COM27syntax. I still have a problem sending and receiving at the same time, FG will not allow me to open up multiple generic serial protocols

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-08 Thread Derrick Washington
translation as required. What properties are you importing into FlightGear? You can open up the property browser and check to see if they are being changed as you expect. Curt. On Mon, Aug 8, 2011 at 9:21 AM, Derrick Washington ddwas...@gmail.comwrote: So I tried it with the joystick

Re: [Flightgear-devel] Release 2.4.0: on short final

2011-08-08 Thread Derrick Washington
Hi Just wondering, have you guys addressed the serial transmission issues in this release? Bi-directional support, transmitting and receiving to the same port using multiple generic protocol command line options? Just asking, I have a email thread on that topic now. On Mon, Aug 8, 2011 at

Re: [Flightgear-devel] Release 2.4.0: on short final

2011-08-08 Thread Derrick Washington
Ah yes, I understand. I'm Grateful to you guys for FG though its pretty cool. On Aug 8, 2011 6:53 PM, Martin Spott martin.sp...@mgras.net wrote: Derrick Washington wrote: Just wondering, have you guys addressed the serial transmission issues in this release? Bi-directional support

Re: [Flightgear-devel] Release 2.4.0: on short final

2011-08-09 Thread Derrick Washington
: Re: [Flightgear-devel] Release 2.4.0: on short final Ah yes, I understand. I'm Grateful to you guys for FG though its pretty cool. On Aug 8, 2011 6:53 PM, Martin Spott martin.sp...@mgras.net wrote: Derrick Washington wrote: Just wondering, have you guys addressed the serial transmission

Re: [Flightgear-devel] FG Serial; Was: Release 2.4.0: on short final

2011-08-10 Thread Derrick Washington
find away around it for now. On Tue, Aug 9, 2011 at 2:29 PM, Martin Spott martin.sp...@mgras.net mailto:martin.sp...@mgras.net wrote: Derrick Washington wrote: Yes I agree, and it appears that thats what I have to do, however I began this (UAV) project with FG

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-15 Thread Derrick Washington
options menu, but when I started FG back up and hit the / key and looked at the outputs the values still said double. On Mon, Aug 8, 2011 at 11:17 AM, Curtis Olson curtol...@gmail.com wrote: Press the / key or it should also be a menu option. On Mon, Aug 8, 2011 at 10:12 AM, Derrick Washington

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
read up on any other gotcha's? So if the protocol is set to --generic=serial then how are the values read out? On Tue, Aug 16, 2011 at 3:28 AM, Anders Gidenstam anders-...@gidenstam.orgwrote: On Tue, 16 Aug 2011, Derrick Washington wrote: One last thing is there a way to ensure that FG

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
: Also with sending/receiving UDP packets, you need to use different ports for the sending and receiving channels. On Tue, Aug 16, 2011 at 2:28 AM, Anders Gidenstam anders-...@gidenstam.org wrote: On Tue, 16 Aug 2011, Derrick Washington wrote: One last thing is there a way to ensure

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
Gidenstam anders-...@gidenstam.org wrote: On Tue, 16 Aug 2011, Derrick Washington wrote: Btw. if your generic protocol is set to use network byte order (endianness MSB) you have to take that into account when unpacking the float value. Huh? Are you saying that if I am using --generic=socket

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
-...@gidenstam.orgwrote: On Tue, 16 Aug 2011, Derrick Washington wrote: OK so I have to specify wether or not FG should be using host or network byte order. OK, I don't have the source code I just downloaded the executable, so I'll have to figure out some way of checking it. OK then once I

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
. And yes I'm still getting the wrong values when it actually does send data in. 2011/8/16 Derrick Washington ddwas...@gmail.com Anders I have included the following line in my generic xml file output binary_modetrue/binary_mode byte_ordernetwork/byte_order My C++ code looks

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
.~~~double On Tue, Aug 16, 2011 at 2:25 PM, Derrick Washington ddwas...@gmail.comwrote: Here is my command line set up. D:\Program Files\FlightGear\bin\Win32\fgfs.exe --fg-root=D:\Program Files\FlightGear\data --fg-scenery=D:\Program Files\FlightGear\data\Scenery;D:\Program Files

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
of bytes I am looking for is actually in the UART, so if it returns positive, I know that the exact number of words/bytes (however I configure the hardware) is waiting in the buffer. On Tue, Aug 16, 2011 at 3:27 PM, Anders Gidenstam anders-...@gidenstam.orgwrote: On Tue, 16 Aug 2011, Derrick

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
FCFCFCC4 FFFC67FE C4FEFCFE On Tue, Aug 16, 2011 at 5:08 PM, Derrick Washington ddwas...@gmail.comwrote: A little background would probably help here. The hardware I am using is my hardware, I designed it from start to finish, so I'm pretty sure it supports what I'm doing. Basically its like

Re: [Flightgear-devel] Fwd: Generic Protocol Error -- Error opening serial device COM27 The system cannot find the file specified.

2011-08-16 Thread Derrick Washington
. On Tue, Aug 16, 2011 at 8:50 PM, Derrick Washington ddwas...@gmail.comwrote: OK so this is my latest test. I took the word from the UART assuming that they were integers, I took the 32bit word converted it to a string and printed that string out to a terminal. Now in my generic protocol file I