Hello,
As part of a college project we
have been doing some work with paparazzi and hitl based simulations. We
wish to use jsbsim for the simulator.
I am
using the latest version of paparazzi with the latest version of
paparazzi-jsbsim running on ubuntu 12.04 and also 14.04 (multiple dev
machines).
Right now I am trying to get the
standard micro jet configuration profile to run in sitl with the jsbsim
simulation and I am having some difficulties with what appear to be the
paparazzi flight configuration parameters. After this is working I can
move into the hitl portion of our project.
This is a list of what I have tried so far to get a working flight. To keep this email short I will omit the details:
The
first issue is that the flight crashes very soon after take-off. I added a catapult
configuration and changed launch speeds etc.. It all resulted in the
plane crashing again at various locations (within meters of the launch
point).
Recreating the configuration file based on jsbsim.xml
Using a different plane model other than the Malolo1
Adding jsbsim target to several of the other configurations like twinjet etc...
Changing many different configuration parameters in the micro jet XML file
Tuning
the pid for the pitch (interestingly enough, the best results that I
got for jsbsim would not work for the OCaml simulator and vice versa)
I
also took a configuration file for the micro jet from the paparazzi git
version from July 2011. Some of the pid parameters in that micro jet
file are inverted compared to the parameters in the latest version. The
older version works slightly better in that it does not crash but it
also never seems to take-off either, just travel along the ground.
All of the above were tried and I have not been able to get the plane to fly.
The
reason for this may be due to my n00bness with paparazzi and the jsbsim FDM. I
am willing to bet that there are things I am not doing correctly but I
cannot seem to gain any traction. All of the trial and error now leads
me to a question regarding the jsbsim implementation.
Does the current version of paparazzi actually work with the current version of paparazzi jsbsim (July 2012 version)?
If it does, is there a known working configuration that is available that I can use as a reference?
Otherwise is there some resource I can draw from to get a jsbsim based simulation up and running?
Thanks in advance.
Shaun.