Hi Felix, Thank you for your help. I switched my setup to - machine 1: debian stable 64-bit - machine 2: debian unstable 64-bit with packaged FlightGear 2.6 and everything is working now. It seems there was a problem with different “bits” of operating systems. Best, Petr From: address@hidden [mailto:address@hidden On Behalf Of Felix Ruess Sent: 7. listopadu 2012 11:41 To: Paparazzi devel list Subject: Re: [Paparazzi-devel] connection between paparazzi and flightgear Hi Petr,
I'm not sure if the (undocumented) native interface of FlightGear was kept compatible between 2.6 and 2.8. To my knowledge this hasn't been tested so far. Maybe you could try with 2.6, which is known to work... or digg around and check if the interface changed, then we can make the appropriate changes in Paparazzi.
Cheers, Felix On Wed, Nov 7, 2012 at 9:06 AM, Petr Benda <address@hidden> wrote: Dear Stephen,
Thank you much for your help. I have installed FlightGear version 2.8.0.5. My setup is following:
machine 1: IP: 192.168.0.10 Ubuntu 12.10 desktop 32-bit There is paparazzi installed.
machine 2: IP: 192.168.0.11 Windows 7 64-bit There is FlightGear installed in c:\FlightGear Firewall is disabled.
I do the following steps in order to connect paparazzi and FlightGear together:
On machine 2 I run:
fgfs --fdm=null --fg-root=c:\FlightGear\data --timeofday=noon --native-gui=socket,in,30,,5501,udp
Then, on Machine 1 I run paparazzi center and I click on: select A/C to Microjet, Build, Execute, Stop the simulator
After that I change parameters to
...launchsitl -a Microjet -boot -norc -fg 192.168.0.11
and click "redo" button at the simulator. Then, in GCS I click Launch and switch to the Takeoff block.
On machine 2 I checked (using netstat) that FlightGear is listening on 5501 and I also checked there (using Wireshark) that UDP packets are incoming to the machine 2 and the destination port is 5501 correctly. Unfortunately, I'm not able to see any movement in FlightGear although the aircraft is flying in standby block.
Could you please help me to force FlightGear to visualize the simulation? Thank you in advance for your help.
With best regards, Petr > -----Original Message----- > From: paparazzi-devel-bounces+petr.benda=address@hidden > [mailto:paparazzi-devel-bounces+petr.benda=address@hidden] > On Behalf Of Stephen Dwyer > Sent: 30. října 2012 17:30 > To: address@hidden > Subject: Re: [Paparazzi-devel] connection between paparazzi and flightgear > > Hi Petr, > > Which version of FlightGear are you using? If you are using version > 2.6 or greater, it should work, however from the error I suspect you are using > FG <=2.4. If this is the case, one needs to specify that in the airframe file so that > paparazzi uses the correct network packet version. > > See here: > http://paparazzi.enac.fr/wiki/Simulation#View_the_simulation_in_Flight_Gear > for what you need to add to the airframe file. > > Hopefully that helps. > > Thanks, > -Stephen Dwyer > > On Tue, Oct 30, 2012 at 8:42 AM, Petr Benda <address@hidden> > wrote: > > Dear developers, > > > > > > > > I'm new in paparazzi. I'm sorry if my question was already answered. > > > > > > > > I tried to install the paparazzi system and it seems that it is not > > able to communicate with the flightgear simulator using current version of > systems. > > > > > > > > I used > > > > > > > > - debian 6.0.6 (both 32 and 64-bit versions) > > > > - installation procedure with the key for debian squeeze and the > > corresponding repository (the procedure is described at > > paparazzi.enac.fr/wiki/Installation/Linux > > > > - the parameter -fg 127.0.0.1 and I reloaded the simulator > > > > - following command to run flightgear: fgfs --fdm=null > > --native-gui=socket,in,30,,5501,udp > > > > > > > > I have got the following error: > > > > > > > > Error: version mismatch in FGNetNativeGUI2Props() > > > > read 8 need 7 > > > > need to upgrade net_fdm.hxx and recompile. > > > > > > > > and nothing happens in the flightgear simulator. Any help is appreciated. > > > > > > > > Thank you in advance. > > > > > > > > Petr > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Paparazzi-devel mailing list > > address@hidden > > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel > > > > _______________________________________________ > Paparazzi-devel mailing list > address@hidden > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
|