|
From: | Joseph Muhlhausen |
Subject: | Re: [Paparazzi-devel] PolygonSurvey not compiling in v5.0 |
Date: | Sat, 17 Aug 2013 20:26:40 +0200 |
Hi Joseph,the sources for the PolygonSurvey are not added.Please replace <subsystem name="navigation"/> with <subsystem name="navigation" type="extra"/> in your airframe file.Btw, this was already the case in v4.2 and you probably just forgot about it ;-)Cheers, FelixOn Sat, Aug 17, 2013 at 9:01 AM, Joseph Muhlhausen <address@hidden> wrote:
Thanks for the help Felix,Here is the full output:RUN 'make -C /home/joseph/paparazzi -f Makefile.ac AIRCRAFT=ZII_V50 ap.compile 'make: Entering directory `/home/joseph/paparazzi'-----------------------------------------------------------------------Paparazzi version v5.0.0_stable-27-geb88d3d-----------------------------------------------------------------------ZII_V50BUILD ZII_V50, TARGET apmake[1]: Entering directory `/home/joseph/paparazzi'GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/airframe.h##################################################AIRFRAME MODEL: ZII_V50##################################################GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/modules.hGENERATE /home/joseph/paparazzi/var/ZII_V50/generated/periodic_telemetry.hGENERATE /home/joseph/paparazzi/var/ZII_V50/generated/settings.hGENERATE /home/joseph/paparazzi/var/ZII_V50/generated/autopilot_core.hmake[1]: Leaving directory `/home/joseph/paparazzi'make[1]: Entering directory `/home/joseph/paparazzi'GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/radio.h##################################################RADIO MODEL: GraupnerMx16##################################################make[1]: Leaving directory `/home/joseph/paparazzi'make[1]: Entering directory `/home/joseph/paparazzi'GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/flight_plan.h##################################################FLIGHT PLAN: ZII_belzowerth##################################################Warning: low altitude (154<134+25) in <waypoint Y="-74.4" X="154.8" NAME="AF" ALT="154.0"/>Warning: low altitude (134<134+25) in <waypoint Y="34.1" X="224.7" NAME="TD" ALT="134.0"/>GENERATE /home/joseph/paparazzi/var/ZII_V50/flight_plan.xmlmake[1]: Leaving directory `/home/joseph/paparazzi'cd sw/airborne; make TARGET=ap allmake[1]: Entering directory `/home/joseph/paparazzi/sw/airborne'DEPEND /home/joseph/paparazzi/var/ZII_V50/ap/.dependmake[1]: Leaving directory `/home/joseph/paparazzi/sw/airborne'make[1]: Entering directory `/home/joseph/paparazzi/sw/airborne'Using CC = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gccUsing LD = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gccUsing CP = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objcopyUsing DMP = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objdumpUsing NM = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-nmUsing SIZE = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-sizeGCC version:arm-none-eabi-gcc (Linaro GCC 4.6-2011.09-1) 4.6.2 20110908 (prerelease)AS /home/joseph/paparazzi/var/ZII_V50/ap/crt0.oCC /home/joseph/paparazzi/var/ZII_V50/ap/mcu.oCC /home/joseph/paparazzi/var/ZII_V50/ap/state.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/mcu_periph/sys_time.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/sys_time_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/./inter_mcu.oCC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_geodetic_int.oCC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_geodetic_float.oCC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_geodetic_double.oCC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_trig_int.oCC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_orientation_conversion.oCC /home/joseph/paparazzi/var/ZII_V50/ap/mcu_periph/i2c.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/i2c_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/main_fbw.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/electrical.osubsystems/electrical.c: In function 'electrical_periodic':subsystems/electrical.c:73:3: warning: comparison of unsigned _expression_ < 0 is always false [-Wtype-limits]CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/commands.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/actuators.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/fbw_downlink.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/main_ap.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/autopilot.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/ap_downlink.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/settings.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/subsystems/settings_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/./subsystems/ins.oCC /home/joseph/paparazzi/var/ZII_V50/ap/./subsystems/ins/ins_alt_float.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/armVIC.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/main.oCC /home/joseph/paparazzi/var/ZII_V50/ap/mcu_periph/uart.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/uart_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/adc_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/subsystems/actuators/servos_4017_hw.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/radio_control.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/radio_control/ppm.oCC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/subsystems/radio_control/ppm_arch.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/datalink/downlink.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/datalink/pprz_transport.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/datalink.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/imu.oCC /home/joseph/paparazzi/var/ZII_V50/ap/boards/umarim/imu_umarim.oCC /home/joseph/paparazzi/var/ZII_V50/ap/peripherals/itg3200.oCC /home/joseph/paparazzi/var/ZII_V50/ap/peripherals/adxl345_i2c.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/ahrs.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/ahrs/ahrs_int_cmpl_quat.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/ahrs/ahrs_aligner.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/stabilization/stabilization_attitude.oCC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/guidance/guidance_v.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/nav.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/common_flight_plan.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/traffic_info.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/nav_survey_rectangle.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/nav_line.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/gps/gps_ubx.oCC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/gps.oCC /home/joseph/paparazzi/var/ZII_V50/ap/modules/digital_cam/led_cam_ctrl.oCC /home/joseph/paparazzi/var/ZII_V50/ap/modules/digital_cam/dc.oCC /home/joseph/paparazzi/var/ZII_V50/ap/modules/cartography/photogrammetry_calculator.oCC /home/joseph/paparazzi/var/ZII_V50/ap/modules/openlog/openlog.oLD /home/joseph/paparazzi/var/ZII_V50/ap/ap.elf/home/joseph/paparazzi/var/ZII_V50/ap/subsystems/nav.o: In function `nav_periodic_task':nav.c:(.text.nav_periodic_task+0x530): undefined reference to `InitializePolygonSurvey'nav.c:(.text.nav_periodic_task+0x538): undefined reference to `PolygonSurvey'collect2: ld returned 1 exit statusmake[1]: *** [/home/joseph/paparazzi/var/ZII_V50/ap/ap.elf] Error 1make[1]: Leaving directory `/home/joseph/paparazzi/sw/airborne'make: *** [ap.compile] Error 2make: Leaving directory `/home/joseph/paparazzi'FAILED 'make -C /home/joseph/paparazzi -f Makefile.ac AIRCRAFT=ZII_V50 ap.compile' with code 2On Sat, Aug 17, 2013 at 1:56 AM, Felix Ruess <address@hidden> wrote:Hi Joseph,seems to work here in a quick test...
Can you please post the full output including the errors you get?Cheers, FelixOn Sat, Aug 17, 2013 at 1:41 AM, Joseph Muhlhausen <address@hidden> wrote:
_______________________________________________Hello all,I've moved to v5.0 and trying to compile my firmware I noticed a bug when trying to compile the polysurvey in the flight plan.<block group="extra_pattern" name="Poly Survey" strip_button="Survey" strip_icon="survey.png"><call fun="InitializePolygonSurvey(WP_S1, 5, 150, 20)"/><call fun="PolygonSurvey()"/></block>It was perfectly working for me in v4.2Cheers,Joseph
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |