Re: [Paparazzi-devel] Error-message when connecting Lisa /M to GCS via X
From:
Felix Ruess
Subject:
Re: [Paparazzi-devel] Error-message when connecting Lisa /M to GCS via Xbees
Date:
Sun, 9 Mar 2014 00:23:09 +0100
Gautier, maybe we can add a more meaningful error message for cases like that?
On Mar 8, 2014 11:43 PM, "Gautier Hattenberger" <address@hidden> wrote:
One of your aircraft has no flight plan selected. Just choose one
and it should work after that.
Gautier
Le 08/03/2014 21:33, Jorn Anke a
écrit :
Hi,
When I start the server with the -n option there are no
errors-message.
conf.xml attached.
Jorn
Date: Sat, 8 Mar 2014 12:03:05 +0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Error-message when connecting
Lisa /M to GCS via Xbees
Hi,
Can you try to run the session that fails, and when it does,
try to restart the server agent with the option -n (meaning
that it will not try to make a log, just like simulation
session) ?
Also can you send the file conf/conf.xml ?
Gautier
Le 07/03/2014 21:54, Jorn Anke
a écrit :
Hi,
The error is still there. Compiling for both ap and
simulation goes fine. Simulations also runs fine. The
error only appears when I start the Flight
address@hidden session.
The same thing happens when I try the "Microjet" and
"MentorEnergy" sample files.
What puzzles me when running my own setup is that the gcs
starts as normal, displaying telemetry-data from the
aircraft. Meaning the server must be running(?) Only the
aircraft window: (Bat(V), Enable Datalink/Telemetry, Set
Pos, Launch, etc), does not start.
From google-search, it seams this error-message could be
related to ocaml. Maybe I could try to re-install ocaml/
some other packages/ the whole thing?
Jorn
Date: Fri, 7 Mar 2014 16:07:55
+0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Error-message when
connecting Lisa /M to GCS via Xbees
Hi,
No sorry, I couldn't find where this error can come
from. Is it still happening ? Do you have the same error
when running a Simulation session with one of the
example file ?
Gautier
Le 06/03/2014 23:53,
Felix Ruess a écrit :
Hi Jorn,
I couldn't reproduce this (and couldn't find
where it might be coming from exactly).
Maybe you can check that you didn't specify a
directory where it would actually expect an
airframe file or something along that lines (but
that is just a stab in the dark).
@Gautier, maybe you have an idea?
Cheers, Felix
On Sun, Mar 2, 2014 at
9:33 PM, Jorn Anke <address@hidden>
wrote:
Hi Felix,
I am running Ubuntu 13.10, 32bit
The error-message appears when I try
to start the server. Link and gcs
starts without problem. (Start order
does not seem to matter).
Cheers,
Jorn
Date: Sat, 1 Mar 2014 23:11:29
+0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel]
Error-message when connecting Lisa
/M to GCS via Xbees
Hi Jorn,
This error seems to come
from one of the ground_segment
programs, but I never
encountered it before.
What operating system and
version are you using?
Are they all still running
or has one of them stopped
(link, server or gcs)?
Maybe you can run link,
server and gcs in three
separate terminals to find out
from which one the error is
coming?
Cheers, Felix
On Sat, Mar 1, 2014 at
10:26 PM, Jorn Anke <address@hidden>
wrote:
I have just
installed paparazzi on a
new computer and
experiences an
error-message when
connecting the ap to the
GCS via Xbees. I have
pasted the output from
the build-, upload- and
connection-process
under. Error-message at
the end.
The GCS does start, and
appear to be running as
normal.
Warning: low altitude
(240<185+60) in
<waypoint Y="160"
X="-180" NAME="AF"
ALT="240"/>
Warning: low altitude
(170<185+60) in
<waypoint Y="10"
X="-20" NAME="TD"
ALT="170.0"/>
GENERATE
/home/jorn/paparazzi/var/My_Lisa_Skywalker/flight_plan.xml
make[1]: Leaving
directory
`/home/jorn/paparazzi'
cd sw/airborne; make
TARGET=ap all
Using
"arch/stm32/lisa-m.ld"
as ldscript for target
"ap".
make[1]: Entering
directory
`/home/jorn/paparazzi/sw/airborne'
Using CC =
arm-none-eabi-gcc
GCC version:
arm-none-eabi-gcc (GNU
Tools for ARM Embedded
Processors) 4.8.3
20131129 (release)
[ARM/embedded-4_8-branch
revision 205641]
CREATING object dir
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/mcu.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/mcu_periph/sys_time.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_periph/sys_time_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/./inter_mcu.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/math/pprz_geodetic_int.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/math/pprz_geodetic_float.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/math/pprz_geodetic_double.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/math/pprz_trig_int.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/math/pprz_orientation_conversion.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/mcu_periph/i2c.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_periph/i2c_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/mcu_periph/spi.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_periph/spi_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/peripherals/ms5611.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/peripherals/ms5611_spi.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/boards/baro_board_ms5611_spi.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/main_fbw.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/electrical.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/commands.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/actuators.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/fbw_downlink.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/main_ap.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/autopilot.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/ap_downlink.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/datalink/telemetry.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/state.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/settings.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/subsystems/settings_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/air_data.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/./subsystems/ins.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/./subsystems/ins/ins_alt_float.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/lisa/plug_sys.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_periph/gpio_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/main.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/led_hw.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/mcu_periph/uart.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_periph/uart_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/mcu_periph/adc_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/subsystems/actuators/actuators_pwm_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/radio_control.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/radio_control/ppm.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/arch/stm32/subsystems/radio_control/ppm_arch.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/datalink/downlink.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/datalink/pprz_transport.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/datalink.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/stabilization/stabilization_attitude.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/firmwares/fixedwing/guidance/guidance_v.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/imu.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/imu/imu_aspirin_2_spi.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/peripherals/mpu60x0.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/peripherals/mpu60x0_spi.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/ahrs.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/ahrs/ahrs_aligner.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/ahrs/ahrs_float_dcm.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/gps/gps_ubx.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/gps.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/nav.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/navigation/common_flight_plan.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/navigation/traffic_info.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/navigation/nav_survey_rectangle.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/subsystems/navigation/nav_line.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/modules/nav/zamboni_survey.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/modules/digital_cam/led_cam_ctrl.o
CC
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/modules/digital_cam/dc.o
LD
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.elf
OBJCB
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.bin
OBJCH
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.hex
RUN 'make -C
/home/jorn/paparazzi -f
Makefile.ac
AIRCRAFT=My_Lisa_Skywalker
ap.upload '
make: Entering directory
`/home/jorn/paparazzi'
-----------------------------------------------------------------------
Paparazzi version
v5.1_devel-810-g54141b0-dirty
-----------------------------------------------------------------------
My_Lisa_Skywalker
BUILD My_Lisa_Skywalker,
TARGET ap
make[1]: Entering
directory
`/home/jorn/paparazzi'
make[1]: Leaving
directory
`/home/jorn/paparazzi'
make[1]: Entering
directory
`/home/jorn/paparazzi'
make[1]: Nothing to be
done for `radio_ac_h'.
make[1]: Leaving
directory
`/home/jorn/paparazzi'
make[1]: Entering
directory
`/home/jorn/paparazzi'
make[1]: Nothing to be
done for
`flight_plan_ac_h'.
make[1]: Leaving
directory
`/home/jorn/paparazzi'
cd sw/airborne; make
TARGET=ap all
Using
"arch/stm32/lisa-m.ld"
as ldscript for target
"ap".
make[1]: Entering
directory
`/home/jorn/paparazzi/sw/airborne'
Using CC =
arm-none-eabi-gcc
GCC version:
arm-none-eabi-gcc (GNU
Tools for ARM Embedded
Processors) 4.8.3
20131129 (release)
[ARM/embedded-4_8-branch
revision 205641]
make[1]: Leaving
directory
`/home/jorn/paparazzi/sw/airborne'
cd sw/airborne; make
TARGET=ap upload
Using
"arch/stm32/lisa-m.ld"
as ldscript for target
"ap".
make[1]: Entering
directory
`/home/jorn/paparazzi/sw/airborne'
Using stm32 mem dfu
loader
/usr/bin/python
/home/jorn/paparazzi/sw/tools/dfu/stm32_mem.py
/home/jorn/paparazzi/var/My_Lisa_Skywalker/ap/ap.bin
Using device 003: ID
1d50:600f Transition
Robotics Inc. - Lisa/M
(Upgrade) V1.1 - LM2-249
37FFD5053358383431420843
Programming memory from
0x08002000...
[0%=====================50%=====================100%]
##################################################
All operations complete!
make[1]: Leaving
directory
`/home/jorn/paparazzi/sw/airborne'
make: Leaving directory
`/home/jorn/paparazzi'
RUN
'/home/jorn/paparazzi/sw/ground_segment/tmtc/link
-d /dev/ttyUSB0 -s
57600'
RUN
'/home/jorn/paparazzi/sw/ground_segment/tmtc/server
'
RUN
'/home/jorn/paparazzi/sw/ground_segment/cockpit/gcs
'
Fatal error: exception
Sys_error("Is a
directory")