Paparazzi and Flightgear

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Paparazzi and Flightgear

notoriou5
Hello everyone,

somehow I do not get Flightgear 3.4 to work with Paparazzi. Flightgear is always stuck in the "loading scenery" screen.

That is what I am doing:

1) Start Paparazzi UAV

2) Build a Simulation of the Microjet

3) Execute and Stop the Simulation

4) Add --fg_host 127.0.0.1 in the Simulation Box
->paparazzi Output: "RUN '/home/kevin/paparazzi/sw/simulator/pprzsim-launch -a Microjet -t sim --boot --norc --fg_host 127.0.0.1'
Sending to FlightGear at 127.0.0.1"

5) Start Flightgear with fgfs --fdm=null --native-gui=socket,in,30,,5501,udp --enable-terrasync

6) FlightGear gets stuck in scenery loading

Do I miss something? Or do I have to add some files somewhere? I really do not see what I am doing wrong.

I am really looking forward to make it work. Thanks a lot for your time and help.

Kind regards, Kevin
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi and Flightgear

flixr
Administrator
Hi Kevin,

try starting FlightGear first and wait until it's showing the aircraft, then start the simulation.

Cheers, Felix

On Sat, Feb 20, 2016 at 8:18 AM, notoriou5 <[hidden email]> wrote:
Hello everyone,

somehow I do not get Flightgear 3.4 to work with Paparazzi. Flightgear is
always stuck in the "loading scenery" screen.

That is what I am doing:

1) Start Paparazzi UAV

2) Build a Simulation of the Microjet

3) Execute and Stop the Simulation

4) Add --fg_host 127.0.0.1 in the Simulation Box
->paparazzi Output: "RUN '/home/kevin/paparazzi/sw/simulator/pprzsim-launch
-a Microjet -t sim --boot --norc --fg_host 127.0.0.1'
Sending to FlightGear at 127.0.0.1"

5) Start Flightgear with fgfs --fdm=null --native-gui=socket,in,30,,5501,udp
--enable-terrasync

6) FlightGear gets stuck in scenery loading

Do I miss something? Or do I have to add some files somewhere? I really do
not see what I am doing wrong.

I am really looking forward to make it work. Thanks a lot for your time and
help.

Kind regards, Kevin




--
View this message in context: http://lists.paparazziuav.org/Paparazzi-and-Flightgear-tp17704.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi and Flightgear

notoriou5
Hi,

thank you very much. It works really great now :D

I am currently trying to build a transition vehicle which is basically a Y4 Copter with a tilting coaxial front engine. How much work would it be to implement such a model ( as basic as possible, maybe just the rods of the Y4) into Flightgear?

Or another way: What happens if I build the Y4 Copter File with Paparazzi and simulate it with the existing mikrokopter file from Flightgear? Will the Mikrokopter behave like my Y4 Copter?  

Thank you very much,

Kevin

PS: Thanks a lot to the developers of Paparazzi and all the people working on it. Its a lot of fun using this software and trying to make things work. The program is awesome, just the documentation could be in more detail sometimes ;)

Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi and Flightgear

flixr
Administrator
Hi,

first of all some clarification: we use FlightGear only for vizualization, the simulation itself is independent of FlightGear.
That also means that the model you specify when launching FlightGear only specifies the rendered 3D model.

For the actual simulation of the aircraft and environment there are different options:
https://wiki.paparazziuav.org/wiki/Simulation#Available_Simulators
Although the jsbsim simulator target has been removed as NPS provides a superset of it (will try to update the wiki accordingly).

So for your case you have the option to use NPS with one of it's FDM backends (JSBSim in most cases).
If you want to use JSBSim you would have to create a JSBSim model for your vehicle.
There are fixedwing and simple multicopter models so far: https://github.com/paparazzi/paparazzi/tree/master/conf/simulator/jsbsim/aircraft

Regarding the documentation: I know this is not the strongest point of Paparazzi, but this is also a community effort (especially the wiki) and every bit of help is appreciated here.
It would also really help if you could point out areas where you found documentation particularly lacking or confusing so we can try to better focus the limited time on particular topics of most benefit.

Cheers, Felix

On Sat, Feb 20, 2016 at 10:42 AM, notoriou5 <[hidden email]> wrote:
Hi,

thank you very much. It works really great now :D

I am currently trying to build a transition vehicle which is basically a Y4
Copter with a tilting coaxial front engine. How much work would it be to
implement such a model ( as basic as possible, maybe just the rods of the
Y4) into Flightgear?

Or another way: What happens if I build the Y4 Copter File with Paparazzi
and simulate it with the existing mikrokopter file from Flightgear? Will the
Mikrokopter behave like my Y4 Copter?

Thank you very much,

Kevin

PS: Thanks a lot to the developers of Paparazzi and all the people working
on it. Its a lot of fun using this software and trying to make things work.
The program is awesome, just the documentation could be in more detail
sometimes ;)





--
View this message in context: http://lists.paparazziuav.org/Paparazzi-and-Flightgear-tp17704p17706.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel