paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Paparazzi in a virtual machine, Flightgear on the


From: Ørjan Pettersen
Subject: Re: [Paparazzi-devel] Paparazzi in a virtual machine, Flightgear on the host.
Date: Wed, 04 Nov 2009 15:07:16 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20091001)

Yes. I have tested with a simple client ans server program, where i run the client on the virtual machine and the server on the host. And I was able to send data back and forth without any problem. So I assume that the ip is correct. Have tested with both the external host ip and the host ip in the virtual machine. Without luck.

Another ting is that I do not get a 'Error fg: Connection refused(send))' in the log window in Paparazzi center. I do however get it if i fail to start Flightgear before i run the simulator. And if I close Flightgear during simulation. So it seems like the connection between FG and Paparazzi is up and running. But the plane in FG do not move. Did also test with the TJ1 plane. No difference.

Is there anything I need to do in FG except running the command? FG starts with the Cessna C172P plane.

Oerjan...

Todd Sandercock wrote:
You have to watch out what ip address you put into paparazzi because in virtual box the ip is different to what the virtual network driver puts out. Try putting in the ip of the wifi card on your laptop. i am pretty sure thats how i had it working

Todd

------------------------------------------------------------------------
*From:* Ørjan Pettersen <address@hidden>
*To:* address@hidden
*Sent:* Wed, 4 November, 2009 10:49:46 PM
*Subject:* [Paparazzi-devel] Paparazzi in a virtual machine, Flightgear on the host.

Hello!

I'm trying to get Paparazzi and Flightgear work together. I have Debian with Paparazzi installed in Virtualbox on my laptop. And I'm running Flightgear natively on my laptop with ArchLinux.


But it doesn't work somehow. The plane in Flightgear doesn't move.

I run Flightgear with the following command found on the wiki:

fgfs --fdm=null --native-gui=socket,in,30,,5501,udp

And in Paparazzi I'm using the MJ5 plane in simulator mode. I hit execute and the GCS window opens. I go back to the Paparazzi Center and stop the simulator process, and enter the following in the simulator text field and hit 'Redo':

/usr/share/paparazzi/sw/simulator/launchsitl -a MJ5 -fg 10.0.2.2 -boot -norc

I wait a few seconds until 'Geo Init' is done and it is in 'Holding point'. Then I hit 'Takeoff' and 'Launch'. And the simulated flight starts. But there is nothing happening in Flightgear.

Have anyone got the Flightgear Paparazzi connection to work when Paparazzi is running in a virtual machine and Flightgear is running on the host computer?

Any ideas what might be the problem?

Oerjan Pettersen


_______________________________________________
Paparazzi-devel mailing list
address@hidden <mailto:address@hidden>
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

------------------------------------------------------------------------
Get more done like never before with Yahoo!7 Mail. Learn more <%20http://au.rd.yahoo.com/mail/launch09/tagline/*http://us.lrd.yahoo.com/_ylc=X3oDMTFnY201cHJnBHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDQ3NjAEdG1fbmV0A1lhaG9vIQ--/SIG=11aljvgo4/*http%3A//au.overview.mail.yahoo.com/%20>.
------------------------------------------------------------------------

_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]