paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] App Server in a Raspberry Pi


From: Felix Ruess
Subject: Re: [Paparazzi-devel] App Server in a Raspberry Pi
Date: Tue, 3 May 2016 17:58:11 +0200

make -C sw/ground_segment/cockpit opt
/bin/sh: 1: bc: not found

You are missing the bc program, install it with sudo apt-get install bc
This should actually already be installed as a dependency of paparazzi-dev, which version do you have installed?
what is the output of "apt-cache policy paparazzi-dev"?

On Tue, May 3, 2016 at 5:41 PM, Felix Ruess <address@hidden> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <address@hidden> wrote:
Hi Felix,

I followed the advice that was printed and the error with gps module was solved.

However, I did not get success again when I tried to do a simple test using, for example, a Microjet or a Twinjet. When I tried to build a simulation using a Microjet occurred the following errors:

RUN 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile '
make: Entering directory '/home/pi/paparazzi'
#######################################
# BUILD AIRCRAFT=Microjet, TARGET sim
#######################################
Info: module '/home/pi/paparazzi/conf/modules/tune_airspeed.xml' unloaded for target 'sim'
make[1]: Entering directory '/home/pi/paparazzi'
GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/flight_plan.h from flight_plans/basic.xml
No SRTM data found to check altitude.

Warning: low altitude (185<185+25) in <waypoint Y="57.0" X="28.8" NAME="TD" ALT="185.0"/>

GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/flight_plan.xml from flight_plans/basic.xml
make[1]: Leaving directory '/home/pi/paparazzi'
make[1]: Entering directory '/home/pi/paparazzi'
GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/airframe.h from airframes/examples/microjet.xml
GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/modules.h
GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/periodic_telemetry.h from telemetry/default_fixedwing.xml
GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/settings.h
GENERATE autopilots in /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/
make[1]: Leaving directory '/home/pi/paparazzi'
make[1]: Entering directory '/home/pi/paparazzi'
GENERATE /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/radio.h from radios/cockpitMM.xml
make[1]: Leaving directory '/home/pi/paparazzi'
-----------------------------------------------------------------------
Paparazzi version v5.9_devel-231-g0b1a36a-dirty
-----------------------------------------------------------------------
cd sw/airborne; make -j4 TARGET=sim ARCHI=sim ARCH=sim all
make[1]: Entering directory '/home/pi/paparazzi/sw/airborne'
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/mcu.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/mcu_arch.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/mcu_periph/sys_time.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/mcu_periph/sys_time_arch.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/./inter_mcu.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_geodetic_int.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_geodetic_float.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_geodetic_double.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_trig_int.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_orientation_conversion.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_algebra_int.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_algebra_float.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/math/pprz_algebra_double.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/mcu_periph/i2c.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/mcu_periph/i2c_arch.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/main_fbw.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/electrical.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/commands.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/actuators.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/main_ap.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/autopilot.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/state.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/settings.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/subsystems/settings_arch.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/./subsystems/ins.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/./subsystems/ins/ins_alt_float.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_ap.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/datalink/downlink.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/datalink/datalink.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/fixedwing_datalink.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/pprzlink/src/ivy_transport.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/datalink/telemetry.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/ap_downlink.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/fbw_downlink.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_gps.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_adc_generic.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_ahrs.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/sim_ir.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/gps.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/gps/gps_sim.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/sensors/infrared.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/sensors/infrared_adc.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/ahrs/ahrs_infrared.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_survey_polygon.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_line_border.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_line.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_smooth.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_flower.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_line_osam.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_survey_poly_osam.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_vertical_raster.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/modules/nav/nav_bungee_takeoff.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/nav.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/navigation/common_flight_plan.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/navigation/traffic_info.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/navigation/nav_survey_rectangle.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/stabilization/stabilization_attitude.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/firmwares/fixedwing/guidance/guidance_v.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/radio_control.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/subsystems/radio_control/ppm.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/subsystems/radio_control/ppm_arch.o
CC /home/pi/paparazzi/var/aircrafts/Microjet/sim/arch/sim/subsystems/datalink/superbitrf.o
LD /home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl
File "/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl.ml", line 1:
Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):
Reference to undefined global `PprzLink'
../../conf/Makefile.sim:105: recipe for target '/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl' failed
make[1]: *** [/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl] Error 2
make[1]: Leaving directory '/home/pi/paparazzi/sw/airborne'
Makefile.ac:242: recipe for target 'sim.compile' failed
make: *** [sim.compile] Error 2
make: Leaving directory '/home/pi/paparazzi'

FAILED 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile' with code 2



The reference error to `PprzLink` persists. As I am a beginner in Paparazzi, I am not sure if I know how to run the toplevel make. Does it mean building Paparazzi with the following commands: make ground_segment and make ground_segment.opt? If yes, when I used these commands the following informations were printed:


address@hidden:~/paparazzi $ make ground_segment
------------------------------------------------------------
Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty
------------------------------------------------------------
make -C data/maps
-----------------------------------------------
DOWNLOAD: google maps version code
Updated google maps version to 203
-----------------------------------------------
make -C sw/ext pprzlink.update
Build bytecode lib
Build native lib
INSTALL at location /home/pi/paparazzi/var/lib/ocaml
make -C sw/lib/ocaml
make[1]: Nothing to be done for 'all'.
make -C sw/supervision
make[1]: Nothing to be done for 'all'.
make -C sw/ext
  GENHDR  include/libopencm3/lm3s/irq.json
  GENHDR  include/libopencm3/lpc13xx/irq.json
  GENHDR  include/libopencm3/vf6xx/irq.json
  GENHDR  include/libopencm3/stm32/l0/irq.json
  GENHDR  include/libopencm3/stm32/f2/irq.json
  GENHDR  include/libopencm3/stm32/f3/irq.json
  GENHDR  include/libopencm3/stm32/l1/irq.json
  GENHDR  include/libopencm3/stm32/f1/irq.json
  GENHDR  include/libopencm3/stm32/f4/irq.json
  GENHDR  include/libopencm3/stm32/f0/irq.json
  GENHDR  include/libopencm3/efm32/efm32tg/irq.json
  GENHDR  include/libopencm3/efm32/efm32g/irq.json
  GENHDR  include/libopencm3/efm32/efm32lg/irq.json
  GENHDR  include/libopencm3/efm32/efm32gg/irq.json
  GENHDR  include/libopencm3/lpc43xx/m0/irq.json
  GENHDR  include/libopencm3/lpc43xx/m4/irq.json
  GENHDR  include/libopencm3/lpc17xx/irq.json
  GENHDR  include/libopencm3/sam/3a/irq.json
  GENHDR  include/libopencm3/sam/3u/irq.json
  GENHDR  include/libopencm3/sam/3s/irq.json
  GENHDR  include/libopencm3/sam/3x/irq.json
  GENHDR  include/libopencm3/sam/3n/irq.json
  BUILD   lib/stm32/f1
make[3]: Nothing to be done for 'all'.
  GENHDR  include/libopencm3/lm3s/irq.json
  GENHDR  include/libopencm3/lpc13xx/irq.json
  GENHDR  include/libopencm3/vf6xx/irq.json
  GENHDR  include/libopencm3/stm32/l0/irq.json
  GENHDR  include/libopencm3/stm32/f2/irq.json
  GENHDR  include/libopencm3/stm32/f3/irq.json
  GENHDR  include/libopencm3/stm32/l1/irq.json
  GENHDR  include/libopencm3/stm32/f1/irq.json
  GENHDR  include/libopencm3/stm32/f4/irq.json
  GENHDR  include/libopencm3/stm32/f0/irq.json
  GENHDR  include/libopencm3/efm32/efm32tg/irq.json
  GENHDR  include/libopencm3/efm32/efm32g/irq.json
  GENHDR  include/libopencm3/efm32/efm32lg/irq.json
  GENHDR  include/libopencm3/efm32/efm32gg/irq.json
  GENHDR  include/libopencm3/lpc43xx/m0/irq.json
  GENHDR  include/libopencm3/lpc43xx/m4/irq.json
  GENHDR  include/libopencm3/lpc17xx/irq.json
  GENHDR  include/libopencm3/sam/3a/irq.json
  GENHDR  include/libopencm3/sam/3u/irq.json
  GENHDR  include/libopencm3/sam/3s/irq.json
  GENHDR  include/libopencm3/sam/3x/irq.json
  GENHDR  include/libopencm3/sam/3n/irq.json
  BUILD   lib/stm32/f4
make[3]: Nothing to be done for 'all'.
make[2]: Nothing to be done for 'all'.
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/misc
make[1]: Nothing to be done for 'all'.
make -C sw/logalizer
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/cockpit
/bin/sh: 1: bc: not found
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/tmtc
make[1]: Nothing to be done for 'all'.
make -C /home/pi/paparazzi/sw/tools/generators
make[1]: Nothing to be done for 'all'.
make -C sw/simulator
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/joystick
make[1]: Nothing to be done for 'all'.
GENERATE pprzlink_protocol with default messages
Generate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlink
Validation skipped for message_definitions/v1.0/messages.xml.
Parsing message_definitions/v1.0/messages.xml
Found 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xml
Generating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.h
PPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)
Copying fixed headers
Validation skipped for message_definitions/v1.0/messages.xml.
Parsing message_definitions/v1.0/messages.xml
Found 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xml
Generating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.h
PPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)
Copying fixed headers
Validation skipped for message_definitions/v1.0/messages.xml.
Parsing message_definitions/v1.0/messages.xml
Found 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xml
Generating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.h
PPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)
Copying fixed headers
Copy extra lib files
GENERATE /home/pi/paparazzi/var/include/ubx_protocol.h
GENERATE /home/pi/paparazzi/var/include/mtk_protocol.h
GENERATE /home/pi/paparazzi/var/include/xsens_protocol.h
GENERATE /home/pi/paparazzi/var/include/abi_messages.h

address@hidden:~/paparazzi $ make ground_segment.opt
------------------------------------------------------------
Building Paparazzi version v5.9_devel-231-g0b1a36a-dirty
------------------------------------------------------------
make -C data/maps
-----------------------------------------------
DOWNLOAD: google maps version code
Updated google maps version to 203
-----------------------------------------------
make -C sw/ext pprzlink.update
Build bytecode lib
Build native lib
INSTALL at location /home/pi/paparazzi/var/lib/ocaml
make -C sw/lib/ocaml
make[1]: Nothing to be done for 'all'.
make -C sw/supervision
make[1]: Nothing to be done for 'all'.
make -C sw/ext
  GENHDR  include/libopencm3/lm3s/irq.json
  GENHDR  include/libopencm3/lpc13xx/irq.json
  GENHDR  include/libopencm3/vf6xx/irq.json
  GENHDR  include/libopencm3/stm32/l0/irq.json
  GENHDR  include/libopencm3/stm32/f2/irq.json
  GENHDR  include/libopencm3/stm32/f3/irq.json
  GENHDR  include/libopencm3/stm32/l1/irq.json
  GENHDR  include/libopencm3/stm32/f1/irq.json
  GENHDR  include/libopencm3/stm32/f4/irq.json
  GENHDR  include/libopencm3/stm32/f0/irq.json
  GENHDR  include/libopencm3/efm32/efm32tg/irq.json
  GENHDR  include/libopencm3/efm32/efm32g/irq.json
  GENHDR  include/libopencm3/efm32/efm32lg/irq.json
  GENHDR  include/libopencm3/efm32/efm32gg/irq.json
  GENHDR  include/libopencm3/lpc43xx/m0/irq.json
  GENHDR  include/libopencm3/lpc43xx/m4/irq.json
  GENHDR  include/libopencm3/lpc17xx/irq.json
  GENHDR  include/libopencm3/sam/3a/irq.json
  GENHDR  include/libopencm3/sam/3u/irq.json
  GENHDR  include/libopencm3/sam/3s/irq.json
  GENHDR  include/libopencm3/sam/3x/irq.json
  GENHDR  include/libopencm3/sam/3n/irq.json
  BUILD   lib/stm32/f1
make[3]: Nothing to be done for 'all'.
  GENHDR  include/libopencm3/lm3s/irq.json
  GENHDR  include/libopencm3/lpc13xx/irq.json
  GENHDR  include/libopencm3/vf6xx/irq.json
  GENHDR  include/libopencm3/stm32/l0/irq.json
  GENHDR  include/libopencm3/stm32/f2/irq.json
  GENHDR  include/libopencm3/stm32/f3/irq.json
  GENHDR  include/libopencm3/stm32/l1/irq.json
  GENHDR  include/libopencm3/stm32/f1/irq.json
  GENHDR  include/libopencm3/stm32/f4/irq.json
  GENHDR  include/libopencm3/stm32/f0/irq.json
  GENHDR  include/libopencm3/efm32/efm32tg/irq.json
  GENHDR  include/libopencm3/efm32/efm32g/irq.json
  GENHDR  include/libopencm3/efm32/efm32lg/irq.json
  GENHDR  include/libopencm3/efm32/efm32gg/irq.json
  GENHDR  include/libopencm3/lpc43xx/m0/irq.json
  GENHDR  include/libopencm3/lpc43xx/m4/irq.json
  GENHDR  include/libopencm3/lpc17xx/irq.json
  GENHDR  include/libopencm3/sam/3a/irq.json
  GENHDR  include/libopencm3/sam/3u/irq.json
  GENHDR  include/libopencm3/sam/3s/irq.json
  GENHDR  include/libopencm3/sam/3x/irq.json
  GENHDR  include/libopencm3/sam/3n/irq.json
  BUILD   lib/stm32/f4
make[3]: Nothing to be done for 'all'.
make[2]: Nothing to be done for 'all'.
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/misc
make[1]: Nothing to be done for 'all'.
make -C sw/logalizer
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/cockpit
/bin/sh: 1: bc: not found
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/tmtc
make[1]: Nothing to be done for 'all'.
make -C /home/pi/paparazzi/sw/tools/generators
make[1]: Nothing to be done for 'all'.
make -C sw/simulator
make[1]: Nothing to be done for 'all'.
make -C sw/ground_segment/joystick
make[1]: Nothing to be done for 'all'.
GENERATE pprzlink_protocol with default messages
Generate C messages (Python) at location /home/pi/paparazzi/var/include/pprzlink
Validation skipped for message_definitions/v1.0/messages.xml.
Parsing message_definitions/v1.0/messages.xml
Found 244 PPRZLink message types in XML file message_definitions/v1.0/messages.xml
Generating C implementation in /home/pi/paparazzi/var/include/pprzlink/messages.h
PPRZXML telemetry class from message_definitions/v1.0/messages.xml (244 message)
Copying fixed headers
Validation skipped for message_definitions/v1.0/messages.xml.
Parsing message_definitions/v1.0/messages.xml
Found 43 PPRZLink message types in XML file message_definitions/v1.0/messages.xml
Generating C implementation in /home/pi/paparazzi/var/include/pprzlink/dl_protocol.h
PPRZXML datalink class from message_definitions/v1.0/messages.xml (43 message)
Copying fixed headers
Validation skipped for message_definitions/v1.0/messages.xml.
Parsing message_definitions/v1.0/messages.xml
Found 2 PPRZLink message types in XML file message_definitions/v1.0/messages.xml
Generating C implementation in /home/pi/paparazzi/var/include/pprzlink/intermcu_msg.h
PPRZXML intermcu class from message_definitions/v1.0/messages.xml (2 message)
Copying fixed headers
Copy extra lib files
GENERATE /home/pi/paparazzi/var/include/ubx_protocol.h
GENERATE /home/pi/paparazzi/var/include/mtk_protocol.h
GENERATE /home/pi/paparazzi/var/include/xsens_protocol.h
GENERATE /home/pi/paparazzi/var/include/abi_messages.h
make -C sw/ground_segment/cockpit opt
/bin/sh: 1: bc: not found
make[1]: Nothing to be done for 'opt'.
make -C sw/ground_segment/tmtc opt
OOL server.opt


I am sorry for put so many informations here.

Thanks a lot!

On Mon, May 2, 2016 at 11:48 AM, Felix Ruess <address@hidden> wrote:
Seems the pprzlink submodule is not built.
Did you run the toplevel make? Were there any errors?

Also would make sense to follow the other advice it prints ;-)
Please replace <subsystem name="gps" type="ublox_utm"/> with <subsystem name="gps" type="ublox"/>

On Mon, May 2, 2016 at 4:38 PM, Douglas Aparecido Soares <address@hidden> wrote:
Hi all,

first of all, thanks a lot, agressiva and Felix, for your answers!

Felix, if I start the app_server with the "-v" option I see this:

RUN '/home/pi/paparazzi/sw/ground_segment/tmtc/app_server -v '
### Paparazzi App Server ###
Server listen port (TCP)    : 5010
Server broadcast port (UDP) : 5005
Control Pass                : 1234
Ivy Bus                     : 127.255.255.255:2010
Broadcasting on network 127.255.255.255, port 2010
Starting App Server

I think I was not getting success because I was making mistakes on the settings of PPRZonDroid, but start the app_server with "-v" helped me to solve those misconfigurations.

Another problem that I do not know how to solve is: when I try to do a simple test in the Paparazzi Center, installed in my Raspberry Pi, using, for example, a Microjet, I see the following errors:

RUN 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile '
make: Entering directory '/home/pi/paparazzi'
#######################################
# BUILD AIRCRAFT=Microjet, TARGET sim
#######################################
Info: module '/home/pi/paparazzi/conf/modules/tune_airspeed.xml' unloaded for target 'sim'
make[1]: Entering directory '/home/pi/paparazzi'
make[1]: Nothing to be done for 'flight_plan_ac_h'.
make[1]: Leaving directory '/home/pi/paparazzi'
make[1]: Entering directory '/home/pi/paparazzi'
Please replace <subsystem name="gps" type="ublox_utm"/> with <subsystem name="gps" type="ublox"/>
GENERATE autopilots in /home/pi/paparazzi/var/aircrafts/Microjet/sim/generated/
make[1]: Leaving directory '/home/pi/paparazzi'
make[1]: Entering directory '/home/pi/paparazzi'
make[1]: Nothing to be done for 'radio_ac_h'.
make[1]: Leaving directory '/home/pi/paparazzi'
-----------------------------------------------------------------------
Paparazzi version v5.9_devel-231-g0b1a36a
-----------------------------------------------------------------------
cd sw/airborne; make -j4 TARGET=sim ARCHI=sim ARCH=sim all
make[1]: Entering directory '/home/pi/paparazzi/sw/airborne'
Please replace <subsystem name="gps" type="ublox_utm"/> with <subsystem name="gps" type="ublox"/>
LD /home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl
File "/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl.ml", line 1:
Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):
Reference to undefined global `PprzLink'
../../conf/Makefile.sim:105: recipe for target '/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl' failed
make[1]: *** [/home/pi/paparazzi/var/aircrafts/Microjet/sim/simsitl] Error 2
make[1]: Leaving directory '/home/pi/paparazzi/sw/airborne'
Makefile.ac:242: recipe for target 'sim.compile' failed
make: *** [sim.compile] Error 2
make: Leaving directory '/home/pi/paparazzi'

FAILED 'make -C /home/pi/paparazzi -f Makefile.ac AIRCRAFT=Microjet sim.compile' with code 2


Does anyone know how to solve these problems?

Once more, thanks a lot!


On Sun, May 1, 2016 at 5:27 PM, Felix Ruess <address@hidden> wrote:
Hi Douglas,

in principle it should work on a Raspberry Pi as well (although I haven't tested that).
Do you get any warnings when compiling on the Pi?
What do you see if you start the app_server with the "-v" (verbose) option?

Cheers, Felix

On Fri, Apr 29, 2016 at 1:06 AM, agressiva <address@hidden> wrote:
I used appserver on raspi some time ago.
I am using pprzondroid on mine asus zenphone and it work fine.


Date: Thu, 28 Apr 2016 08:09:28 -0700
From: [hidden email]
To: [hidden email]
Subject: App Server in a Raspberry Pi


Hi all,

I'm trying to test the communication between the last version of PPRZonDroid, installed in a tablet with Android Marshmallow (v. 6.0.1), and the Paparazzi Center installed in a Raspberry Pi that has Raspbian Jessie, but without success. I tried to use the option "Re-Connect to Server" many times, but without sucess again.

Does anyone know how to solve this problem?

I had success when I used the app server in a laptop with the last version of Ubuntu. Did anyone try to use the app server in a Raspberry Pi too?

Thanks a lot!

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



If you reply to this email, your message will be added to the discussion below:
http://lists.paparazziuav.org/App-Server-in-a-Raspberry-Pi-tp17941.html
To start a new topic under paparazzi-devel, email [hidden email]
To unsubscribe from paparazzi-devel, click here.
NAML


View this message in context: RE: App Server in a Raspberry Pi
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
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



_______________________________________________
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]