paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] errors during compile time when using the energy c


From: Felix Ruess
Subject: Re: [Paparazzi-devel] errors during compile time when using the energy control #2
Date: Sun, 20 Mar 2016 14:49:11 +0100

Can you please post your airframe file?
All example airframes (conf/conf_example.xml) compile without errors (including Mentor Energy)...

On Fri, Mar 18, 2016 at 7:08 PM, hendrixgr . <address@hidden> wrote:
Here are the errors i always get when i use the energy type of control on my airplanes.
Btw the previous errors i found when trying to compile the Mentor Energy airplane using the version 5.8 tarball are caused by a settings file included in the default aircraft configuration.
Chris

firmwares/fixedwing/guidance/energy_ctrl.c:154:1: note: #pragma message: Info: V_CTL_GLIDE_RATIO not defined - default is 8.
 INFO("V_CTL_GLIDE_RATIO not defined - default is 8.")
 ^
CC /home/hendrix/paparazzi/var/aircrafts/X8_pitot/ap/subsystems/radio_control/ppm.o
CC /home/hendrix/paparazzi/var/aircrafts/X8_pitot/ap/arch/stm32/subsystems/radio_control/ppm_arch.o
CC /home/hendrix/paparazzi/var/aircrafts/X8_pitot/ap/firmwares/fixedwing/nav.o
In file included from ./firmwares/fixedwing/nav.h:34:0,
                 from firmwares/fixedwing/nav.c:32:
firmwares/fixedwing/nav.c: In function 'nav_ground_speed_loop':
firmwares/fixedwing/nav.c:218:11: error: 'v_ctl_auto_throttle_max_cruise_throttle' undeclared (first use in this function)
           v_ctl_auto_throttle_max_cruise_throttle);
           ^
/home/hendrix/paparazzi/sw/include/std.h:111:43: note: in definition of macro 'Bound'
 #define Bound(_x, _min, _max) { if (_x > (_max)) _x = (_max); else if (_x < (_min)) _x = (_min); }
                                           ^
firmwares/fixedwing/nav.c:218:11: note: each undeclared identifier is reported only once for each function it appears in
           v_ctl_auto_throttle_max_cruise_throttle);
           ^
/home/hendrix/paparazzi/sw/include/std.h:111:43: note: in definition of macro 'Bound'
 #define Bound(_x, _min, _max) { if (_x > (_max)) _x = (_max); else if (_x < (_min)) _x = (_min); }
                                           ^
firmwares/fixedwing/nav.c:217:48: error: 'v_ctl_auto_throttle_min_cruise_throttle' undeclared (first use in this function)
     Bound(v_ctl_auto_throttle_cruise_throttle, v_ctl_auto_throttle_min_cruise_throttle,
                                                ^
/home/hendrix/paparazzi/sw/include/std.h:111:78: note: in definition of macro 'Bound'
 #define Bound(_x, _min, _max) { if (_x > (_max)) _x = (_max); else if (_x < (_min)) _x = (_min); }
                                                                              ^
CC /home/hendrix/paparazzi/var/aircrafts/X8_pitot/ap/subsystems/navigation/common_flight_plan.o
CC /home/hendrix/paparazzi/var/aircrafts/X8_pitot/ap/subsystems/navigation/traffic_info.o
make[1]: *** [/home/hendrix/paparazzi/var/aircrafts/X8_pitot/ap/firmwares/fixedwing/nav.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/hendrix/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/hendrix/paparazzi'

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

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