On Thu, Aug 4, 2011 at 2:10 PM, Felix Ruess
<address@hidden> wrote:
Hi Az,
> I have been trying to install paparazzi in order run BOOZ2_A1
> simulation. As stated on the wiki, I tried installing JSBsim using
> apt-get install jsbsim
> But it seems there is no package called jsbsim in Ubuntu Maverick repo.
It is currently not available in maverick, but e.g. in natty.
When Gautier is back from vacation he will put the jsbsim package in
maverick as well...
You won't find it with the online repo search of Ubuntu, because it is
not in the official ubuntu repos, but in the paparazzi ubuntu repo.
That's what I thought and searched for the paparazzi repo link, but didn't find it. I searched again now, and came up with this
Downloaded it, and it works ! Thanks!
> Also, I download the current JSBsim version and tried to compile the
> simulator with it, but its broken.
There probably were API changes in JSBSim since the package was built
and the paparazzi sim is not compatible with these...
What errors did you get?
Class FGPropagate was expected to have GetUVWdot, GetPQRdot which I think have been moved out. Below is the complete log for your reference.
Paparazzi jsbsim package found: no
CC ~/work/paparazzi//var/BOOZ2_A1/sim/math/pprz_geodetic_int.o
CC ~/work/paparazzi//var/BOOZ2_A1/sim/math/pprz_geodetic_float.o
CC ~/work/paparazzi//var/BOOZ2_A1/sim/math/pprz_geodetic_double.o
CC ~/work/paparazzi//var/BOOZ2_A1/sim/math/pprz_trig_int.o
CC ~/work/paparazzi//var/BOOZ2_A1/sim//home/zutshi/work/paparazzi/sw/simulator/nps/nps_main.o
CC ~/work/paparazzi//var/BOOZ2_A1/sim//home/zutshi/work/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.o
In file included from /opt/jsbsim/include/JSBSim/input_output/FGXMLParse.h:37,
from /opt/jsbsim/include/JSBSim/input_output/FGXMLFileRead.h:38,
from /opt/jsbsim/include/JSBSim/initialization/FGInitialCondition.h:50,
from /opt/jsbsim/include/JSBSim/initialization/FGTrimAxis.h:45,
from /opt/jsbsim/include/JSBSim/initialization/FGTrim.h:55,
from /opt/jsbsim/include/JSBSim/FGFDMExec.h:47,
from ~/work/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.c:1:
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:253: warning: unused parameter ‘name’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:253: warning: unused parameter ‘atts’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:262: warning: unused parameter ‘name’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:277: warning: unused parameter ‘s’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:277: warning: unused parameter ‘length’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:292: warning: unused parameter ‘target’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:292: warning: unused parameter ‘data’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:305: warning: unused parameter ‘message’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:305: warning: unused parameter ‘line’
/opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:305: warning: unused parameter ‘column’
~/work/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.c: In function ‘void fetch_state()’:
~/work/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.c:95: error: ‘class JSBSim::FGPropagate’ has no member named ‘GetUVWdot’
~/work/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.c:144: error: ‘class JSBSim::FGPropagate’ has no member named ‘GetPQRdot’
make[1]: *** [~/work/paparazzi//var/BOOZ2_A1/sim//home/zutshi/work/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.o] Error 1
make: *** [sim] Error 2
But meanwhile you can use the package from the paparazzi natty repo,
download it and install it.
Thanks again! Is it possible to add the repo link in the wiki? I couldn't find one there.
Cheers, Felix
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel