paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Re: error message related to nps_sensor_accel.c


From: tomm pouce
Subject: Re: [Paparazzi-devel] Re: error message related to nps_sensor_accel.c
Date: Fri, 24 Sep 2010 01:13:51 +0200

thanks for the help Felix!

I've followed to the letter the page http://paparazzi.enac.fr/wiki/BoozSimulator, so I got rid of the Ubuntu package and reinstalled it from CVS. I have a problem when starting the sim. Where should I enter the commands? Within the Paparazzi Center or in a new terminal?
In the paparazzi center in a running agent line, I get the following message in the console:
************************************************************
Run 'LD_LIBRARY_PATH=/opt/jsbsim/lib ./var/BOOZ2_A1/sim/simsitl'
exec: 1: LD_LIBRARY_PATH=/opt/jsbsim/lib: not found
************************************************************

In a new terminal I get:
************************************************************
address@hidden:~/paparazzi3$ LD_LIBRARY_PATH=/opt/jsbsim/lib ./var/BOOZ2_A1/sim/simsitl
Broadcasting on network 127.255.255.255, port 2010
     JSBSim Flight Dynamics Model v1.0 Sep 23 2010 00:00:31
            [JSBSim-ML v2.0]
JSBSim startup beginning ...
Could not open file: (null)/conf/simulator/jsbsim/aircraft/BOOZ2_A1.xml
  JSBSim failed to open the configuration file: (null)/conf/simulator/jsbsim/aircraft/BOOZ2_A1.xml
address@hidden:~/paparazzi3$
************************************************************

Any advice would be welcome!

Tomm

2010/9/24 Felix Ruess <address@hidden>
>
> Hi Tomm,
>
> Are you using JSBSim from cvs or the experimental paparazzi-jsbsim package?
> They install to different paths (at least if you follow the wiki and
> install from cvs to /opt/jsbsim).
> The fdm_nps subsystem for the booz sim currently looks for JSBsim
> under /opt/jsbsim so you should be fine if you followed the wiki page.
>
> I guess we could change that soon and start using the paparazzi-jsbsim package.
>
> Cheers, Felix
>
> P.S. or what was you problem?
>
> On Thu, Sep 23, 2010 at 11:53 PM, tomm pouce <address@hidden> wrote:
> > my pleasure, glad I could help!
> > Haven't been able to start a simulation using JSBSim yet, but I'll keep
> > working.
> >
> > 2010/9/23 Felix Ruess <address@hidden>
> >>
> >> Hi Tomm,
> >>
> >> thanks for that!
> >> I fixed it for now and sent Martin (he did wrote that quicker version)
> >> an email about that.
> >>
> >> Cheers, Felix
> >>
> >> On Thu, Sep 23, 2010 at 11:34 PM, tomm pouce <address@hidden> wrote:
> >> > Hey all,
> >> >
> >> > I looked into the construction of FLOAT_QUAT_VMULT in the
> >> > pprz_algebra_float.h header.
> >> > Could the FLOAT_QUAT_VMULT_QUICKER be renamed FLOAT_QUAT_VMULT?
> >> >
> >> > It solved the problem described in the first email.
> >> >
> >> > Here are the few lines related to this function:
> >> > #ifdef ALGEBRA_FLOAT_USE_SLOW_FUNCTIONS
> >> > #define FLOAT_QUAT_VMULT(v_out, q, v_in) {                \
> >> >   ...}
> >> > #else
> >> > #define FLOAT_QUAT_VMULT_QUICKER(v_out, q, v_in) {            \
> >> >   ...}
> >> > #endif
> >> >
> >> > Regards,
> >> >
> >> > Tomm
> >> >
> >> > 2010/9/23 tomm pouce <address@hidden>
> >> >>
> >> >> Hi all,
> >> >>
> >> >> After playing a bit with the basic simulator, I'm now trying to do a
> >> >> simulation using JSBSim, following as strictly as possible the
> >> >> BoozSimulator
> >> >> article in the wiki. I've met the following problem during the
> >> >> compilation
> >> >> of the vehicle.
> >> >> Here's the end of the log:
> >> >> **************************************************************
> >> >> 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/models/FGOutput.h:46,
> >> >>                  from /opt/jsbsim/include/JSBSim/FGFDMExec.h:45,
> >> >>                  from
> >> >> /home/tommpouce/paparazzi3/sw/simulator/nps/nps_fdm_jsbsim.c:1:
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:249: warning: unused
> >> >> parameter ‘name’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:249: warning: unused
> >> >> parameter ‘atts’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:258: warning: unused
> >> >> parameter ‘name’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:273: warning: unused
> >> >> parameter ‘s’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:273: warning: unused
> >> >> parameter ‘length’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:288: warning: unused
> >> >> parameter ‘target’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:288: warning: unused
> >> >> parameter ‘data’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:301: warning: unused
> >> >> parameter ‘message’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:301: warning: unused
> >> >> parameter ‘line’
> >> >> /opt/jsbsim/include/JSBSim/simgear/xml/easyxml.hxx:301: warning: unused
> >> >> parameter ‘column’
> >> >> CC
> >> >>
> >> >> /home/tommpouce/paparazzi3/var/BOOZ2_A1/sim//home/tommpouce/paparazzi3/sw/simulator/nps/nps_random.o
> >> >> CC
> >> >>
> >> >> /home/tommpouce/paparazzi3/var/BOOZ2_A1/sim//home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensors.o
> >> >> CC
> >> >>
> >> >> /home/tommpouce/paparazzi3/var/BOOZ2_A1/sim//home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensors_utils.o
> >> >> CC
> >> >>
> >> >> /home/tommpouce/paparazzi3/var/BOOZ2_A1/sim//home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensor_gyro.o
> >> >> CC
> >> >>
> >> >> /home/tommpouce/paparazzi3/var/BOOZ2_A1/sim//home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensor_accel.o
> >> >> /home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensor_accel.c: In
> >> >> function ‘void nps_sensor_accel_run_step(NpsSensorAccel*, double,
> >> >> DoubleRMat*)’:
> >> >> /home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensor_accel.c:34:
> >> >> error:
> >> >> ‘FLOAT_QUAT_VMULT’ was not declared in this scope
> >> >> make[1]: ***
> >> >>
> >> >> [/home/tommpouce/paparazzi3/var/BOOZ2_A1/sim//home/tommpouce/paparazzi3/sw/simulator/nps/nps_sensor_accel.o]
> >> >> Erreur 1
> >> >> make: *** [sim] Erreur 2
> >> >> **************************************************************
> >> >>
> >> >> Can anyone help? My (long-gone) programming courses didn't go that far,
> >> >> and I'm not going to touch any code for now...
> >> >>
> >> >> Thanks!
> >> >>
> >> >> Tomm
> >> >
> >> >
> >> > _______________________________________________
> >> > Paparazzi-devel mailing list
> >> > address@hidden
> >> > http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >> >
> >> >
> >>
> >> _______________________________________________
> >> Paparazzi-devel mailing list
> >> address@hidden
> >> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
> >
>
> _______________________________________________
> 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]