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: Felix Ruess
Subject: Re: [Paparazzi-devel] Re: error message related to nps_sensor_accel.c
Date: Fri, 24 Sep 2010 00:38:53 +0200

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
>
>



reply via email to

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