paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: tomm pouce
Subject: [Paparazzi-devel] Re: error message related to nps_sensor_accel.c
Date: Thu, 23 Sep 2010 23:34:05 +0200

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


reply via email to

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