paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] I get a blank GCS when executing airframe


From: Felix Ruess
Subject: Re: [Paparazzi-devel] I get a blank GCS when executing airframe
Date: Mon, 9 Aug 2010 00:12:33 +0200

Hi Eddie,

the georef error occurs when your position is not yet initialized (
you got no messages from the autopilot ).
First get your link up and working before you can use the GCS.... you
should get messages with the messages tool from the Paparazzi Center.
If you have a FTDI serial<->USB cable you could connect that instead
of the XBees to see if your Airframe setup is good.

Others had the same problem before, try searching the mailing list archives.

Cheers, Felix

On Sun, Aug 8, 2010 at 11:58 PM, Edixon Giraldo <address@hidden> wrote:
> Hi Felix,
>
> this is the error message I get:
>
>
> Run '/home/egiraldo911/paparazzi3/sw/ground_segment/tmtc/link  -d
> /dev/ttyUSB0 -uplink  -s 57600'
> Run '/home/egiraldo911/paparazzi3/sw/ground_segment/tmtc/server '
> Run '/home/egiraldo911/paparazzi3/sw/ground_segment/cockpit/gcs '
> Thread 1 killed on uncaught exception Failure("#of_world : no georef")
>
> uplink seems to be ok.
>
> I get the 'georef error' when I click on the google earth icon and
> everything still blank.
>
> here is my makefile code:
>
> CONFIG = \"tiny_2_1_1.h\"
>
> include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
>
> FLASH_MODE=IAP
>
> ap.CFLAGS +=  -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DLED -DTIME_LED=1
> ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
> main_fbw.c main_ap.c main.c
>
> ap.srcs += commands.c
>
> ap.CFLAGS += -DACTUATORS=\"servos_4017_hw.h\" -DSERVOS_4017
> ap.srcs += $(SRC_ARCH)/servos_4017_hw.c actuators.c
>
> ap.CFLAGS += -DRADIO_CONTROL
> ap.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c
>
> #ap.CFLAGS += -DDOWNLINK -DUSE_UART1 -DDOWNLINK_TRANSPORT=XBeeTransport
> -DXBEE_UART=Uart1 -DDATALINK=XBEE -DUART1_BAUD=B57600
> #ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c xbee.c
>
> #Serial Modem
> ap.CFLAGS += -DDOWNLINK -DUSE_UART1 -DDOWNLINK_TRANSPORT=PprzTransport
> -DDOWNLINK_FBW_DEVICE=Uart1 -DDOWNLINK_AP_DEVICE=Uart1 -DPPRZ_UART=Uart1
> -DDATALINK=PPRZ -DUART1_BAUD=B57600
> ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c pprz_transport.c
>
>
> ap.CFLAGS += -DINTER_MCU
> ap.srcs += inter_mcu.c
>
> ap.CFLAGS += -DADC -DUSE_ADC_0 -DUSE_ADC_1 -DUSE_ADC_2
> ap.srcs += $(SRC_ARCH)/adc_hw.c
>
> ap.CFLAGS += -DGPS -DUBX -DUSE_UART0 -DGPS_LINK=Uart0 -DUART0_BAUD=B9600
> -DGPS_LED=2 -DGPS_USE_LATLONG
> ap.srcs += gps_ubx.c gps.c latlong.c
>
> ap.CFLAGS += -DINFRARED -DALT_KALMAN -DWIND_INFO -DWIND_INFO_RET
> ap.srcs += infrared.c estimator.c
>
> ap.CFLAGS += -DNAV -DAGR_CLIMB -DLOITER_TRIM
> ap.srcs += nav.c fw_h_ctl.c fw_v_ctl.c
>
> ap.srcs += nav_line.c
> ap.srcs += nav_survey_rectangle.c
>
> ap.srcs += humid_sht.c
> ap.CFLAGS += -DUSE_HUMID_SHT -DDAT_PIN=3  -DSCK_PIN=2
>
> ap.srcs += baro_scp.c
> ap.CFLAGS += -DUSE_BARO_SCP
>
> ap.srcs += joystick.c
> ap.CFLAGS += -DUSE_JOYSTICK
>
> # Config for SITL simulation
> include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile
> sim.CFLAGS += -DBOARD_CONFIG=\"tiny.h\" -DAGR_CLIMB -DLOITER_TRIM
> -DALT_KALMAN
> sim.srcs += nav_line.c nav_survey_rectangle.c
>
> sim.srcs += joystick.c
> sim.CFLAGS += -DUSE_JOYSTICK
>
>
> Thanks.
>
> Eddie.
>
>> Date: Sat, 7 Aug 2010 13:10:35 +0200
>> Subject: Re: [Paparazzi-devel] I get a blank GCS when executing airframe
>> From: address@hidden
>> To: address@hidden
>>
>> Hi Eddie,
>>
>> the GCS stays blank until you get telemetry messages.
>> So first you need to get your telemetry working. Check your cables,
>> settings and baudrates on the xbees as well as in the airframe file.
>> Also make sure you have the paparazzi udev rules copied and your
>> ground modem is recognized by your PC.
>>
>> Cheers, Felix
>>
>> On Sat, Aug 7, 2010 at 7:44 AM, Edixon Giraldo <address@hidden>
>> wrote:
>> > Hi, I have not been able to execute my airframe on the GCS.  I have been
>> > able to download the program to the TWOG and everything seems fine, but,
>> > when I connect the FTDI cable, build, and execute my A/C, the GCS is
>> > just
>> > blank.  Just the black screen with no telemetry on it.  I have not been
>> > able
>> > to use U-center either to configure my GPS or at least to verify is
>> > working
>> > and receiving a signal.  Can someone please help?
>> >
>> > Thanks.
>> >
>> > Eddie.
>> >
>> > _______________________________________________
>> > 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]