paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] PolygonSurvey not compiling in v5.0


From: Joseph Muhlhausen
Subject: Re: [Paparazzi-devel] PolygonSurvey not compiling in v5.0
Date: Sat, 17 Aug 2013 20:26:40 +0200

Got it!

I actually removed the "extra" comment based on the template umarim aiframe file in v5.0

Thanks Felix



On Sat, Aug 17, 2013 at 1:30 PM, Felix Ruess <address@hidden> wrote:
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, Felix


On 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_V50
BUILD ZII_V50, TARGET ap
make[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.h
GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/periodic_telemetry.h
GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/settings.h
GENERATE /home/joseph/paparazzi/var/ZII_V50/generated/autopilot_core.h
make[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.xml
make[1]: Leaving directory `/home/joseph/paparazzi'
cd sw/airborne; make TARGET=ap all
make[1]: Entering directory `/home/joseph/paparazzi/sw/airborne'
DEPEND /home/joseph/paparazzi/var/ZII_V50/ap/.depend
make[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-gcc
Using LD   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-gcc
Using CP   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objcopy
Using DMP  = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-objdump
Using NM   = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-nm
Using SIZE = /opt/paparazzi/arm-multilib/bin/arm-none-eabi-size
GCC 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.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/mcu.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/state.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/mcu_periph/sys_time.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/sys_time_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/./inter_mcu.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_geodetic_int.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_geodetic_float.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_geodetic_double.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_trig_int.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/math/pprz_orientation_conversion.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/mcu_periph/i2c.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/i2c_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/main_fbw.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/electrical.o
subsystems/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.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/actuators.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/fbw_downlink.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/main_ap.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/autopilot.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/ap_downlink.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/settings.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/subsystems/settings_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/./subsystems/ins.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/./subsystems/ins/ins_alt_float.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/armVIC.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/main.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/mcu_periph/uart.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/uart_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/mcu_periph/adc_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/subsystems/actuators/servos_4017_hw.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/radio_control.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/radio_control/ppm.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/arch/lpc21/subsystems/radio_control/ppm_arch.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/datalink/downlink.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/datalink/pprz_transport.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/datalink.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/imu.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/boards/umarim/imu_umarim.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/peripherals/itg3200.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/peripherals/adxl345_i2c.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/ahrs.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/ahrs/ahrs_int_cmpl_quat.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/ahrs/ahrs_aligner.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/stabilization/stabilization_attitude.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/firmwares/fixedwing/guidance/guidance_v.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/nav.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/common_flight_plan.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/traffic_info.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/nav_survey_rectangle.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/navigation/nav_line.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/gps/gps_ubx.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/subsystems/gps.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/modules/digital_cam/led_cam_ctrl.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/modules/digital_cam/dc.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/modules/cartography/photogrammetry_calculator.o
CC /home/joseph/paparazzi/var/ZII_V50/ap/modules/openlog/openlog.o
LD /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 status
make[1]: *** [/home/joseph/paparazzi/var/ZII_V50/ap/ap.elf] Error 1
make[1]: Leaving directory `/home/joseph/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/joseph/paparazzi'

FAILED 'make -C /home/joseph/paparazzi -f Makefile.ac AIRCRAFT=ZII_V50 ap.compile' with code 2

On 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, Felix


On 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.2

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



reply via email to

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