Hi, Rodrigo Basniak wrote: > Hi... > > I'm new to the list. I'm trying to control FG through UDP but it's not > working. My .xml protocol file is the following: > > <?xml version="1.0"?> > > <PropertyList> > > <generic> > > <input> > <line_separator>newline</line_separator> > <var_separator>,</var_separator> > > <chunk> > <name>aileron</name> > <type>float</type> > <node>/controls/flight/aileron</node> > </chunk> >
[snip] > I'm outputing data to 127.0.0.1 port 1005. But FG can't read it. > > I read that data with another application and it's coming like this: > > 0.1396,-0.2793,0.0349,88 > > The values are the aileron, elevator and rudder angles in radians and the > last is the engine. > > What am I missing? > > Thank you guys! =) > Rodrigo Basniak I could be wrong, but you might have to specify a format in your protocol, like <format>%f</format> According to README.protocol the format defaults to integer, but apparently you're sending three floats and an int? hth ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users