App Server in a Raspberry Pi

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

App Server in a Raspberry Pi

Douglas Aparecido Soares
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: App Server in a Raspberry Pi

agressiva
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
The output of clean is not interesting/important...

The output of make ground_segment or make all is (if you are still having troubles)

Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/Linux
We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).

On Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
I`m still having problems after make clean. The outputs are:

pi@raspberrypi:~/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
OCY expr_parser.mly
OCL expr_lexer.mll
40 states, 423 transitions, table size 1932 bytes
DEPEND .depend
OC fig.mli
OC debug.mli
OC base64.mli
OC serial.mli
OC ocaml_tools.mli
OC expr_syntax.mli
OC expr_parser.mli
OC extXml.mli
OC extXml.ml
OC env.mli
OC xml2h.mli
OC latlong.mli
OC egm96.mli
OC srtm.mli
OC http.mli
OC maps_support.mli
OC gm.mli
OC iGN.mli
OC iGN.ml
OC geometry_2d.mli
OC cserial.c
OC ubx.mli
OC xmlCom.mli
OC xmlCom.ml
OC os_calls.mli
OC editAirframe.mli
OC editAirframe.ml
OC defivybus.mli
OC fp_proc.mli
OC gen_common.mli
OL lib-pprz.cma
OC gtk_tools.mli
OC platform.mli
OC contrastLabel.mli
OC contrastLabel.ml
OC acIcon.mli
OC acIcon.ml
OC wind_sock.mli
OC papget_common.mli
OC papget_renderer.mli
OC papget.mli
OC mapCanvas.mli
OC mapCanvas.ml
OC mapWaypoints.mli
OC mapWaypoints.ml
OC mapTrack.mli
OC mapTrack.ml
OC mapGoogle.mli
OC mapGoogle.ml
OC mapIGN.mli
OC mapIGN.ml
OC ml_gtk_drag.c
OC xmlEdit.mli
OC xmlEdit.ml
OC mapFP.mli
OC mapFP.ml
OL xlib-pprz.cma
OC xml_get.cmo
OL xml_get.out
COPY META.pprz.template
OOC fig.ml
OOC extXml.ml
OOC env.ml
OOC gm.ml
OOC iGN.ml
OOC ubx.ml
OOC xmlCom.ml
OOC editAirframe.ml
OOL dlllib-pprz.so
OOL lib-pprz.cmxa
OOC contrastLabel.ml
OOC acIcon.ml
OOC mapCanvas.ml
OOC mapWaypoints.ml
OOC mapTrack.ml
OOC mapGoogle.ml
OOC mapIGN.ml
OOC xmlEdit.ml
OOC mapFP.ml
OOL dllxlib-pprz.so
OOL xlib-pprz.cmxa
make -C sw/supervision
DEPEND .depend
GLADE gtk_pc.ml
OL paparazzicenter
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
  CP      libopencm3_stm32f1.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      ethernet.c
  CC      flash.c
  CC      gpio.c
  CC      rcc.c
  CC      rtc.c
  CC      timer.c
  CC      mac.c
  CC      mac_stm32fxx7.c
  CC      phy.c
  CC      phy_ksz8051mll.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_l1f013.c
  CC      gpio_common_all.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      rcc_common_all.c
  CC      exti_common_all.c
  CC      flash_common_f01.c
  CC      usb.c
  CC      usb_control.c
  CC      usb_standard.c
  CC      usb_f103.c
  CC      usb_f107.c
  CC      usb_fx07_common.c
  CC      usb_msc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f1.a
  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
  CP      libopencm3_stm32f4.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      gpio.c
  CC      pwr.c
  CC      rcc.c
  CC      rtc.c
  CC      crypto.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_f24.c
  CC      gpio_common_all.c
  CC      gpio_common_f0234.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      rtc_common_l1f024.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      timer_common_f234.c
  CC      timer_common_f24.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      flash_common_f234.c
  CC      flash_common_f24.c
  CC      hash_common_f24.c
  CC      crypto_common_f24.c
  CC      exti_common_all.c
  CC      rcc_common_all.c
  CC      usb.c
  CC      usb_standard.c
  CC      usb_control.c
  CC      usb_fx07_common.c
  CC      usb_f107.c
  CC      usb_f207.c
  CC      usb_msc.c
  CC      mac.c
  CC      phy.c
  CC      mac_stm32fxx7.c
  CC      phy_ksz8051mll.c
  CC      fmc.c
  CC      ltdc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f4.a
  CC      luftboot.c
luftboot.c: In function 'main':
luftboot.c:481:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.
 #pragma message "Luftboot using 12MHz external clock to PLL it to 72MHz."
         ^
  CC      luftboot.elf
  create  luftboot.bin
  create  luftboot.hex
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
Building target: bluegiga_usb_driver
Finished building target: bluegiga_usb_driver
make -C sw/ground_segment/misc
CC davis2ivy
CC kestrel2ivy
natnet2ivy.c: In function ‘timeout_transmit_callback’:
natnet2ivy.c:608:9: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
         gettimeofday(&cur_time, NULL);
         ^
CC natnet2ivy
CC sbp2ivy
CC video_synchronizer
CC sbs2ivy
make -C sw/logalizer
DEPEND .depend
OL play
OL plotter
OCI export.mli
OL logplotter
OL sd2log
CC plotprofile
CC openlog2tlm
CC sdlogger_download
cat src/paparazzi | sed s#OCAMLRUN#/usr/bin/ocamlrun# | sed s#OCAML#/usr/bin/ocaml# > paparazzi
chmod a+x paparazzi
make -C sw/ground_segment/cockpit
DEPEND .depend
OCI horizon.mli
OCI strip.mli
OCI saveSettings.mli
OC saveSettings.ml
OCI page_settings.mli
OCI pages.mli
OCI speech.mli
OCI plugin.mli
OCI sectors.mli
OCI map2d.mli
OCI editFP.mli
OC editFP.ml
OCI live.mli
OCI papgets.mli
OL gcs
make -C sw/ground_segment/tmtc
DEPEND .depend
OL link
OC aircraft.mli
OC wind.mli
OC airprox.mli
OC kml.mli
OC intruder.mli
OC rotorcraft_server.mli
OC fw_server.mli
OL server
OL messages
OL settings
OL ivy_tcp_aircraft
OL ivy_tcp_controller
OL broadcaster
OL ivy2udp
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/pi/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_flight_plan.out
OL gen_srtm.out
make -C sw/simulator
DEPEND .depend
OL gaia
CC fg.c
OC stdlib.mli
OC data.mli
OC flightModel.mli
OC flightModel.ml
OC gps.mli
OC sim.mli
OC sitl.mli
OL sitl.cma
make -C sw/ground_segment/joystick
DEPEND .depend
CC test_sdl_stick.o
BUILD test_stick
CC sdl_stick.o
CC ml_sdl_stick.o
OL input2ivy
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


pi@raspberrypi:~/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
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
OOC saveSettings.ml
OOC editFP.ml
OOC gcs.ml
OOL gcs.opt
make -C sw/ground_segment/tmtc opt
OOC kml.ml
OOL server.opt


pi@raspberrypi:~/paparazzi $ make
------------------------------------------------------------
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
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/lpc21iap
LD lpc21iap


Thanks for your attention!

On Tue, May 3, 2016 at 2:04 PM, Felix Ruess <[hidden email]> wrote:
The output of clean is not interesting/important...

The output of make ground_segment or make all is (if you are still having troubles)

Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/Linux
We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).

On Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
That looks all good, no errors as far as I could see...
You still get the
Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):
Reference to undefined global `PprzLink'
when building the sim target of anaircraft? Did you run that from paparazzi center or the commandline? If you built that on the commandline, what is your PAPARAZZI_HOME env variable?
What are the contents of var/lib/ocaml/pprzlink? Especially do you have lib-pprzlink.cma in that directory?

On Tue, May 3, 2016 at 7:24 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m still having problems after make clean. The outputs are:

pi@raspberrypi:~/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
OCY expr_parser.mly
OCL expr_lexer.mll
40 states, 423 transitions, table size 1932 bytes
DEPEND .depend
OC fig.mli
OC debug.mli
OC base64.mli
OC serial.mli
OC ocaml_tools.mli
OC expr_syntax.mli
OC expr_parser.mli
OC extXml.mli
OC extXml.ml
OC env.mli
OC xml2h.mli
OC latlong.mli
OC egm96.mli
OC srtm.mli
OC http.mli
OC maps_support.mli
OC gm.mli
OC iGN.mli
OC iGN.ml
OC geometry_2d.mli
OC cserial.c
OC ubx.mli
OC xmlCom.mli
OC xmlCom.ml
OC os_calls.mli
OC editAirframe.mli
OC editAirframe.ml
OC defivybus.mli
OC fp_proc.mli
OC gen_common.mli
OL lib-pprz.cma
OC gtk_tools.mli
OC platform.mli
OC contrastLabel.mli
OC contrastLabel.ml
OC acIcon.mli
OC acIcon.ml
OC wind_sock.mli
OC papget_common.mli
OC papget_renderer.mli
OC papget.mli
OC mapCanvas.mli
OC mapCanvas.ml
OC mapWaypoints.mli
OC mapWaypoints.ml
OC mapTrack.mli
OC mapTrack.ml
OC mapGoogle.mli
OC mapGoogle.ml
OC mapIGN.mli
OC mapIGN.ml
OC ml_gtk_drag.c
OC xmlEdit.mli
OC xmlEdit.ml
OC mapFP.mli
OC mapFP.ml
OL xlib-pprz.cma
OC xml_get.cmo
OL xml_get.out
COPY META.pprz.template
OOC fig.ml
OOC extXml.ml
OOC env.ml
OOC gm.ml
OOC iGN.ml
OOC ubx.ml
OOC xmlCom.ml
OOC editAirframe.ml
OOL dlllib-pprz.so
OOL lib-pprz.cmxa
OOC contrastLabel.ml
OOC acIcon.ml
OOC mapCanvas.ml
OOC mapWaypoints.ml
OOC mapTrack.ml
OOC mapGoogle.ml
OOC mapIGN.ml
OOC xmlEdit.ml
OOC mapFP.ml
OOL dllxlib-pprz.so
OOL xlib-pprz.cmxa
make -C sw/supervision
DEPEND .depend
GLADE gtk_pc.ml
OL paparazzicenter
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
  CP      libopencm3_stm32f1.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      ethernet.c
  CC      flash.c
  CC      gpio.c
  CC      rcc.c
  CC      rtc.c
  CC      timer.c
  CC      mac.c
  CC      mac_stm32fxx7.c
  CC      phy.c
  CC      phy_ksz8051mll.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_l1f013.c
  CC      gpio_common_all.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      rcc_common_all.c
  CC      exti_common_all.c
  CC      flash_common_f01.c
  CC      usb.c
  CC      usb_control.c
  CC      usb_standard.c
  CC      usb_f103.c
  CC      usb_f107.c
  CC      usb_fx07_common.c
  CC      usb_msc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f1.a
  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
  CP      libopencm3_stm32f4.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      gpio.c
  CC      pwr.c
  CC      rcc.c
  CC      rtc.c
  CC      crypto.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_f24.c
  CC      gpio_common_all.c
  CC      gpio_common_f0234.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      rtc_common_l1f024.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      timer_common_f234.c
  CC      timer_common_f24.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      flash_common_f234.c
  CC      flash_common_f24.c
  CC      hash_common_f24.c
  CC      crypto_common_f24.c
  CC      exti_common_all.c
  CC      rcc_common_all.c
  CC      usb.c
  CC      usb_standard.c
  CC      usb_control.c
  CC      usb_fx07_common.c
  CC      usb_f107.c
  CC      usb_f207.c
  CC      usb_msc.c
  CC      mac.c
  CC      phy.c
  CC      mac_stm32fxx7.c
  CC      phy_ksz8051mll.c
  CC      fmc.c
  CC      ltdc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f4.a
  CC      luftboot.c
luftboot.c: In function 'main':
luftboot.c:481:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.
 #pragma message "Luftboot using 12MHz external clock to PLL it to 72MHz."
         ^
  CC      luftboot.elf
  create  luftboot.bin
  create  luftboot.hex
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
Building target: bluegiga_usb_driver
Finished building target: bluegiga_usb_driver
make -C sw/ground_segment/misc
CC davis2ivy
CC kestrel2ivy
natnet2ivy.c: In function ‘timeout_transmit_callback’:
natnet2ivy.c:608:9: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
         gettimeofday(&cur_time, NULL);
         ^
CC natnet2ivy
CC sbp2ivy
CC video_synchronizer
CC sbs2ivy
make -C sw/logalizer
DEPEND .depend
OL play
OL plotter
OCI export.mli
OL logplotter
OL sd2log
CC plotprofile
CC openlog2tlm
CC sdlogger_download
cat src/paparazzi | sed s#OCAMLRUN#/usr/bin/ocamlrun# | sed s#OCAML#/usr/bin/ocaml# > paparazzi
chmod a+x paparazzi
make -C sw/ground_segment/cockpit
DEPEND .depend
OCI horizon.mli
OCI strip.mli
OCI saveSettings.mli
OC saveSettings.ml
OCI page_settings.mli
OCI pages.mli
OCI speech.mli
OCI plugin.mli
OCI sectors.mli
OCI map2d.mli
OCI editFP.mli
OC editFP.ml
OCI live.mli
OCI papgets.mli
OL gcs
make -C sw/ground_segment/tmtc
DEPEND .depend
OL link
OC aircraft.mli
OC wind.mli
OC airprox.mli
OC kml.mli
OC intruder.mli
OC rotorcraft_server.mli
OC fw_server.mli
OL server
OL messages
OL settings
OL ivy_tcp_aircraft
OL ivy_tcp_controller
OL broadcaster
OL ivy2udp
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/pi/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_flight_plan.out
OL gen_srtm.out
make -C sw/simulator
DEPEND .depend
OL gaia
CC fg.c
OC stdlib.mli
OC data.mli
OC flightModel.mli
OC flightModel.ml
OC gps.mli
OC sim.mli
OC sitl.mli
OL sitl.cma
make -C sw/ground_segment/joystick
DEPEND .depend
CC test_sdl_stick.o
BUILD test_stick
CC sdl_stick.o
CC ml_sdl_stick.o
OL input2ivy
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


pi@raspberrypi:~/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
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
OOC saveSettings.ml
OOC editFP.ml
OOC gcs.ml
OOL gcs.opt
make -C sw/ground_segment/tmtc opt
OOC kml.ml
OOL server.opt


pi@raspberrypi:~/paparazzi $ make
------------------------------------------------------------
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
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/lpc21iap
LD lpc21iap


Thanks for your attention!

On Tue, May 3, 2016 at 2:04 PM, Felix Ruess <[hidden email]> wrote:
The output of clean is not interesting/important...

The output of make ground_segment or make all is (if you are still having troubles)

Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/Linux
We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).

On Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
Yes. I still get this error when building the sim target of an aircraft.

I always ran that from paparazzi center.

Yes. I have this file in that directory. The full content of it is:

pi@raspberrypi:~/paparazzi/var/lib/ocaml/pprzlink $ ls
debugPL.cmi          myocamlbuild.cmx       pprz_transport.cmx
debugPL.cmo          pprzLink.cmi           pprz_transport.mli
debugPL.cmx          pprzLink.cmo           protocol.cmi
debugPL.mli          pprzLink.cmx           protocol.cmo
dllpprzlink_stub.so  pprzLink.mli           protocol.cmx
lib-pprzlink.a       pprzlog_transport.cmi  protocol.mli
lib-pprzlink.cma     pprzlog_transport.cmo  xbee_transport.cmi
lib-pprzlink.cmxa    pprzlog_transport.cmx  xbee_transport.cmo
libpprzlink_stub.a   pprzlog_transport.mli  xbee_transport.cmx
META                 pprz_transport.cmi     xbee_transport.mli
myocamlbuild.cmi     pprz_transport.cmo

The content of lib-pprlink.cma is:    Caml1999A008

On Tue, May 3, 2016 at 2:36 PM, Felix Ruess <[hidden email]> wrote:
That looks all good, no errors as far as I could see...
You still get the
Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):
Reference to undefined global `PprzLink'
when building the sim target of anaircraft? Did you run that from paparazzi center or the commandline? If you built that on the commandline, what is your PAPARAZZI_HOME env variable?
What are the contents of var/lib/ocaml/pprzlink? Especially do you have lib-pprzlink.cma in that directory?

On Tue, May 3, 2016 at 7:24 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m still having problems after make clean. The outputs are:

pi@raspberrypi:~/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
OCY expr_parser.mly
OCL expr_lexer.mll
40 states, 423 transitions, table size 1932 bytes
DEPEND .depend
OC fig.mli
OC debug.mli
OC base64.mli
OC serial.mli
OC ocaml_tools.mli
OC expr_syntax.mli
OC expr_parser.mli
OC extXml.mli
OC extXml.ml
OC env.mli
OC xml2h.mli
OC latlong.mli
OC egm96.mli
OC srtm.mli
OC http.mli
OC maps_support.mli
OC gm.mli
OC iGN.mli
OC iGN.ml
OC geometry_2d.mli
OC cserial.c
OC ubx.mli
OC xmlCom.mli
OC xmlCom.ml
OC os_calls.mli
OC editAirframe.mli
OC editAirframe.ml
OC defivybus.mli
OC fp_proc.mli
OC gen_common.mli
OL lib-pprz.cma
OC gtk_tools.mli
OC platform.mli
OC contrastLabel.mli
OC contrastLabel.ml
OC acIcon.mli
OC acIcon.ml
OC wind_sock.mli
OC papget_common.mli
OC papget_renderer.mli
OC papget.mli
OC mapCanvas.mli
OC mapCanvas.ml
OC mapWaypoints.mli
OC mapWaypoints.ml
OC mapTrack.mli
OC mapTrack.ml
OC mapGoogle.mli
OC mapGoogle.ml
OC mapIGN.mli
OC mapIGN.ml
OC ml_gtk_drag.c
OC xmlEdit.mli
OC xmlEdit.ml
OC mapFP.mli
OC mapFP.ml
OL xlib-pprz.cma
OC xml_get.cmo
OL xml_get.out
COPY META.pprz.template
OOC fig.ml
OOC extXml.ml
OOC env.ml
OOC gm.ml
OOC iGN.ml
OOC ubx.ml
OOC xmlCom.ml
OOC editAirframe.ml
OOL dlllib-pprz.so
OOL lib-pprz.cmxa
OOC contrastLabel.ml
OOC acIcon.ml
OOC mapCanvas.ml
OOC mapWaypoints.ml
OOC mapTrack.ml
OOC mapGoogle.ml
OOC mapIGN.ml
OOC xmlEdit.ml
OOC mapFP.ml
OOL dllxlib-pprz.so
OOL xlib-pprz.cmxa
make -C sw/supervision
DEPEND .depend
GLADE gtk_pc.ml
OL paparazzicenter
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
  CP      libopencm3_stm32f1.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      ethernet.c
  CC      flash.c
  CC      gpio.c
  CC      rcc.c
  CC      rtc.c
  CC      timer.c
  CC      mac.c
  CC      mac_stm32fxx7.c
  CC      phy.c
  CC      phy_ksz8051mll.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_l1f013.c
  CC      gpio_common_all.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      rcc_common_all.c
  CC      exti_common_all.c
  CC      flash_common_f01.c
  CC      usb.c
  CC      usb_control.c
  CC      usb_standard.c
  CC      usb_f103.c
  CC      usb_f107.c
  CC      usb_fx07_common.c
  CC      usb_msc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f1.a
  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
  CP      libopencm3_stm32f4.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      gpio.c
  CC      pwr.c
  CC      rcc.c
  CC      rtc.c
  CC      crypto.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_f24.c
  CC      gpio_common_all.c
  CC      gpio_common_f0234.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      rtc_common_l1f024.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      timer_common_f234.c
  CC      timer_common_f24.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      flash_common_f234.c
  CC      flash_common_f24.c
  CC      hash_common_f24.c
  CC      crypto_common_f24.c
  CC      exti_common_all.c
  CC      rcc_common_all.c
  CC      usb.c
  CC      usb_standard.c
  CC      usb_control.c
  CC      usb_fx07_common.c
  CC      usb_f107.c
  CC      usb_f207.c
  CC      usb_msc.c
  CC      mac.c
  CC      phy.c
  CC      mac_stm32fxx7.c
  CC      phy_ksz8051mll.c
  CC      fmc.c
  CC      ltdc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f4.a
  CC      luftboot.c
luftboot.c: In function 'main':
luftboot.c:481:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.
 #pragma message "Luftboot using 12MHz external clock to PLL it to 72MHz."
         ^
  CC      luftboot.elf
  create  luftboot.bin
  create  luftboot.hex
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
Building target: bluegiga_usb_driver
Finished building target: bluegiga_usb_driver
make -C sw/ground_segment/misc
CC davis2ivy
CC kestrel2ivy
natnet2ivy.c: In function ‘timeout_transmit_callback’:
natnet2ivy.c:608:9: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
         gettimeofday(&cur_time, NULL);
         ^
CC natnet2ivy
CC sbp2ivy
CC video_synchronizer
CC sbs2ivy
make -C sw/logalizer
DEPEND .depend
OL play
OL plotter
OCI export.mli
OL logplotter
OL sd2log
CC plotprofile
CC openlog2tlm
CC sdlogger_download
cat src/paparazzi | sed s#OCAMLRUN#/usr/bin/ocamlrun# | sed s#OCAML#/usr/bin/ocaml# > paparazzi
chmod a+x paparazzi
make -C sw/ground_segment/cockpit
DEPEND .depend
OCI horizon.mli
OCI strip.mli
OCI saveSettings.mli
OC saveSettings.ml
OCI page_settings.mli
OCI pages.mli
OCI speech.mli
OCI plugin.mli
OCI sectors.mli
OCI map2d.mli
OCI editFP.mli
OC editFP.ml
OCI live.mli
OCI papgets.mli
OL gcs
make -C sw/ground_segment/tmtc
DEPEND .depend
OL link
OC aircraft.mli
OC wind.mli
OC airprox.mli
OC kml.mli
OC intruder.mli
OC rotorcraft_server.mli
OC fw_server.mli
OL server
OL messages
OL settings
OL ivy_tcp_aircraft
OL ivy_tcp_controller
OL broadcaster
OL ivy2udp
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/pi/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_flight_plan.out
OL gen_srtm.out
make -C sw/simulator
DEPEND .depend
OL gaia
CC fg.c
OC stdlib.mli
OC data.mli
OC flightModel.mli
OC flightModel.ml
OC gps.mli
OC sim.mli
OC sitl.mli
OL sitl.cma
make -C sw/ground_segment/joystick
DEPEND .depend
CC test_sdl_stick.o
BUILD test_stick
CC sdl_stick.o
CC ml_sdl_stick.o
OL input2ivy
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


pi@raspberrypi:~/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
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
OOC saveSettings.ml
OOC editFP.ml
OOC gcs.ml
OOL gcs.opt
make -C sw/ground_segment/tmtc opt
OOC kml.ml
OOL server.opt


pi@raspberrypi:~/paparazzi $ make
------------------------------------------------------------
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
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/lpc21iap
LD lpc21iap


Thanks for your attention!

On Tue, May 3, 2016 at 2:04 PM, Felix Ruess <[hidden email]> wrote:
The output of clean is not interesting/important...

The output of make ground_segment or make all is (if you are still having troubles)

Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/Linux
We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).

On Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



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



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

flixr
Administrator
Hm... not sure where the issue is then.
Hopefully Gautier Hattenberger can help out here as he knows OCaml much better...

On Wed, May 4, 2016 at 3:24 PM, Douglas Aparecido Soares <[hidden email]> wrote:
Yes. I still get this error when building the sim target of an aircraft.

I always ran that from paparazzi center.

Yes. I have this file in that directory. The full content of it is:

pi@raspberrypi:~/paparazzi/var/lib/ocaml/pprzlink $ ls
debugPL.cmi          myocamlbuild.cmx       pprz_transport.cmx
debugPL.cmo          pprzLink.cmi           pprz_transport.mli
debugPL.cmx          pprzLink.cmo           protocol.cmi
debugPL.mli          pprzLink.cmx           protocol.cmo
dllpprzlink_stub.so  pprzLink.mli           protocol.cmx
lib-pprzlink.a       pprzlog_transport.cmi  protocol.mli
lib-pprzlink.cma     pprzlog_transport.cmo  xbee_transport.cmi
lib-pprzlink.cmxa    pprzlog_transport.cmx  xbee_transport.cmo
libpprzlink_stub.a   pprzlog_transport.mli  xbee_transport.cmx
META                 pprz_transport.cmi     xbee_transport.mli
myocamlbuild.cmi     pprz_transport.cmo

The content of lib-pprlink.cma is:    Caml1999A008

On Tue, May 3, 2016 at 2:36 PM, Felix Ruess <[hidden email]> wrote:
That looks all good, no errors as far as I could see...
You still get the
Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):
Reference to undefined global `PprzLink'
when building the sim target of anaircraft? Did you run that from paparazzi center or the commandline? If you built that on the commandline, what is your PAPARAZZI_HOME env variable?
What are the contents of var/lib/ocaml/pprzlink? Especially do you have lib-pprzlink.cma in that directory?

On Tue, May 3, 2016 at 7:24 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m still having problems after make clean. The outputs are:

pi@raspberrypi:~/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
OCY expr_parser.mly
OCL expr_lexer.mll
40 states, 423 transitions, table size 1932 bytes
DEPEND .depend
OC fig.mli
OC debug.mli
OC base64.mli
OC serial.mli
OC ocaml_tools.mli
OC expr_syntax.mli
OC expr_parser.mli
OC extXml.mli
OC extXml.ml
OC env.mli
OC xml2h.mli
OC latlong.mli
OC egm96.mli
OC srtm.mli
OC http.mli
OC maps_support.mli
OC gm.mli
OC iGN.mli
OC iGN.ml
OC geometry_2d.mli
OC cserial.c
OC ubx.mli
OC xmlCom.mli
OC xmlCom.ml
OC os_calls.mli
OC editAirframe.mli
OC editAirframe.ml
OC defivybus.mli
OC fp_proc.mli
OC gen_common.mli
OL lib-pprz.cma
OC gtk_tools.mli
OC platform.mli
OC contrastLabel.mli
OC contrastLabel.ml
OC acIcon.mli
OC acIcon.ml
OC wind_sock.mli
OC papget_common.mli
OC papget_renderer.mli
OC papget.mli
OC mapCanvas.mli
OC mapCanvas.ml
OC mapWaypoints.mli
OC mapWaypoints.ml
OC mapTrack.mli
OC mapTrack.ml
OC mapGoogle.mli
OC mapGoogle.ml
OC mapIGN.mli
OC mapIGN.ml
OC ml_gtk_drag.c
OC xmlEdit.mli
OC xmlEdit.ml
OC mapFP.mli
OC mapFP.ml
OL xlib-pprz.cma
OC xml_get.cmo
OL xml_get.out
COPY META.pprz.template
OOC fig.ml
OOC extXml.ml
OOC env.ml
OOC gm.ml
OOC iGN.ml
OOC ubx.ml
OOC xmlCom.ml
OOC editAirframe.ml
OOL dlllib-pprz.so
OOL lib-pprz.cmxa
OOC contrastLabel.ml
OOC acIcon.ml
OOC mapCanvas.ml
OOC mapWaypoints.ml
OOC mapTrack.ml
OOC mapGoogle.ml
OOC mapIGN.ml
OOC xmlEdit.ml
OOC mapFP.ml
OOL dllxlib-pprz.so
OOL xlib-pprz.cmxa
make -C sw/supervision
DEPEND .depend
GLADE gtk_pc.ml
OL paparazzicenter
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
  CP      libopencm3_stm32f1.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      ethernet.c
  CC      flash.c
  CC      gpio.c
  CC      rcc.c
  CC      rtc.c
  CC      timer.c
  CC      mac.c
  CC      mac_stm32fxx7.c
  CC      phy.c
  CC      phy_ksz8051mll.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_l1f013.c
  CC      gpio_common_all.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      rcc_common_all.c
  CC      exti_common_all.c
  CC      flash_common_f01.c
  CC      usb.c
  CC      usb_control.c
  CC      usb_standard.c
  CC      usb_f103.c
  CC      usb_f107.c
  CC      usb_fx07_common.c
  CC      usb_msc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f1.a
  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
  CP      libopencm3_stm32f4.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      gpio.c
  CC      pwr.c
  CC      rcc.c
  CC      rtc.c
  CC      crypto.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_f24.c
  CC      gpio_common_all.c
  CC      gpio_common_f0234.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      rtc_common_l1f024.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      timer_common_f234.c
  CC      timer_common_f24.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      flash_common_f234.c
  CC      flash_common_f24.c
  CC      hash_common_f24.c
  CC      crypto_common_f24.c
  CC      exti_common_all.c
  CC      rcc_common_all.c
  CC      usb.c
  CC      usb_standard.c
  CC      usb_control.c
  CC      usb_fx07_common.c
  CC      usb_f107.c
  CC      usb_f207.c
  CC      usb_msc.c
  CC      mac.c
  CC      phy.c
  CC      mac_stm32fxx7.c
  CC      phy_ksz8051mll.c
  CC      fmc.c
  CC      ltdc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f4.a
  CC      luftboot.c
luftboot.c: In function 'main':
luftboot.c:481:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.
 #pragma message "Luftboot using 12MHz external clock to PLL it to 72MHz."
         ^
  CC      luftboot.elf
  create  luftboot.bin
  create  luftboot.hex
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
Building target: bluegiga_usb_driver
Finished building target: bluegiga_usb_driver
make -C sw/ground_segment/misc
CC davis2ivy
CC kestrel2ivy
natnet2ivy.c: In function ‘timeout_transmit_callback’:
natnet2ivy.c:608:9: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
         gettimeofday(&cur_time, NULL);
         ^
CC natnet2ivy
CC sbp2ivy
CC video_synchronizer
CC sbs2ivy
make -C sw/logalizer
DEPEND .depend
OL play
OL plotter
OCI export.mli
OL logplotter
OL sd2log
CC plotprofile
CC openlog2tlm
CC sdlogger_download
cat src/paparazzi | sed s#OCAMLRUN#/usr/bin/ocamlrun# | sed s#OCAML#/usr/bin/ocaml# > paparazzi
chmod a+x paparazzi
make -C sw/ground_segment/cockpit
DEPEND .depend
OCI horizon.mli
OCI strip.mli
OCI saveSettings.mli
OC saveSettings.ml
OCI page_settings.mli
OCI pages.mli
OCI speech.mli
OCI plugin.mli
OCI sectors.mli
OCI map2d.mli
OCI editFP.mli
OC editFP.ml
OCI live.mli
OCI papgets.mli
OL gcs
make -C sw/ground_segment/tmtc
DEPEND .depend
OL link
OC aircraft.mli
OC wind.mli
OC airprox.mli
OC kml.mli
OC intruder.mli
OC rotorcraft_server.mli
OC fw_server.mli
OL server
OL messages
OL settings
OL ivy_tcp_aircraft
OL ivy_tcp_controller
OL broadcaster
OL ivy2udp
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/pi/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_flight_plan.out
OL gen_srtm.out
make -C sw/simulator
DEPEND .depend
OL gaia
CC fg.c
OC stdlib.mli
OC data.mli
OC flightModel.mli
OC flightModel.ml
OC gps.mli
OC sim.mli
OC sitl.mli
OL sitl.cma
make -C sw/ground_segment/joystick
DEPEND .depend
CC test_sdl_stick.o
BUILD test_stick
CC sdl_stick.o
CC ml_sdl_stick.o
OL input2ivy
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


pi@raspberrypi:~/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
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
OOC saveSettings.ml
OOC editFP.ml
OOC gcs.ml
OOL gcs.opt
make -C sw/ground_segment/tmtc opt
OOC kml.ml
OOL server.opt


pi@raspberrypi:~/paparazzi $ make
------------------------------------------------------------
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
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/lpc21iap
LD lpc21iap


Thanks for your attention!

On Tue, May 3, 2016 at 2:04 PM, Felix Ruess <[hidden email]> wrote:
The output of clean is not interesting/important...

The output of make ground_segment or make all is (if you are still having troubles)

Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/Linux
We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).

On Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



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



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



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



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



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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: App Server in a Raspberry Pi

Douglas Aparecido Soares
Ok. Thanks a lot, Felix!

Gautier, do you have any idea on how to solve this issue?

In advance, thank you!

On Wed, May 4, 2016 at 3:16 PM, Felix Ruess <[hidden email]> wrote:
Hm... not sure where the issue is then.
Hopefully Gautier Hattenberger can help out here as he knows OCaml much better...

On Wed, May 4, 2016 at 3:24 PM, Douglas Aparecido Soares <[hidden email]> wrote:
Yes. I still get this error when building the sim target of an aircraft.

I always ran that from paparazzi center.

Yes. I have this file in that directory. The full content of it is:

pi@raspberrypi:~/paparazzi/var/lib/ocaml/pprzlink $ ls
debugPL.cmi          myocamlbuild.cmx       pprz_transport.cmx
debugPL.cmo          pprzLink.cmi           pprz_transport.mli
debugPL.cmx          pprzLink.cmo           protocol.cmi
debugPL.mli          pprzLink.cmx           protocol.cmo
dllpprzlink_stub.so  pprzLink.mli           protocol.cmx
lib-pprzlink.a       pprzlog_transport.cmi  protocol.mli
lib-pprzlink.cma     pprzlog_transport.cmo  xbee_transport.cmi
lib-pprzlink.cmxa    pprzlog_transport.cmx  xbee_transport.cmo
libpprzlink_stub.a   pprzlog_transport.mli  xbee_transport.cmx
META                 pprz_transport.cmi     xbee_transport.mli
myocamlbuild.cmi     pprz_transport.cmo

The content of lib-pprlink.cma is:    Caml1999A008

On Tue, May 3, 2016 at 2:36 PM, Felix Ruess <[hidden email]> wrote:
That looks all good, no errors as far as I could see...
You still get the
Error: Error while linking /home/pi/paparazzi/sw/simulator/sitl.cma(FlightModel):
Reference to undefined global `PprzLink'
when building the sim target of anaircraft? Did you run that from paparazzi center or the commandline? If you built that on the commandline, what is your PAPARAZZI_HOME env variable?
What are the contents of var/lib/ocaml/pprzlink? Especially do you have lib-pprzlink.cma in that directory?

On Tue, May 3, 2016 at 7:24 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m still having problems after make clean. The outputs are:

pi@raspberrypi:~/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
OCY expr_parser.mly
OCL expr_lexer.mll
40 states, 423 transitions, table size 1932 bytes
DEPEND .depend
OC fig.mli
OC debug.mli
OC base64.mli
OC serial.mli
OC ocaml_tools.mli
OC expr_syntax.mli
OC expr_parser.mli
OC extXml.mli
OC extXml.ml
OC env.mli
OC xml2h.mli
OC latlong.mli
OC egm96.mli
OC srtm.mli
OC http.mli
OC maps_support.mli
OC gm.mli
OC iGN.mli
OC iGN.ml
OC geometry_2d.mli
OC cserial.c
OC ubx.mli
OC xmlCom.mli
OC xmlCom.ml
OC os_calls.mli
OC editAirframe.mli
OC editAirframe.ml
OC defivybus.mli
OC fp_proc.mli
OC gen_common.mli
OL lib-pprz.cma
OC gtk_tools.mli
OC platform.mli
OC contrastLabel.mli
OC contrastLabel.ml
OC acIcon.mli
OC acIcon.ml
OC wind_sock.mli
OC papget_common.mli
OC papget_renderer.mli
OC papget.mli
OC mapCanvas.mli
OC mapCanvas.ml
OC mapWaypoints.mli
OC mapWaypoints.ml
OC mapTrack.mli
OC mapTrack.ml
OC mapGoogle.mli
OC mapGoogle.ml
OC mapIGN.mli
OC mapIGN.ml
OC ml_gtk_drag.c
OC xmlEdit.mli
OC xmlEdit.ml
OC mapFP.mli
OC mapFP.ml
OL xlib-pprz.cma
OC xml_get.cmo
OL xml_get.out
COPY META.pprz.template
OOC fig.ml
OOC extXml.ml
OOC env.ml
OOC gm.ml
OOC iGN.ml
OOC ubx.ml
OOC xmlCom.ml
OOC editAirframe.ml
OOL dlllib-pprz.so
OOL lib-pprz.cmxa
OOC contrastLabel.ml
OOC acIcon.ml
OOC mapCanvas.ml
OOC mapWaypoints.ml
OOC mapTrack.ml
OOC mapGoogle.ml
OOC mapIGN.ml
OOC xmlEdit.ml
OOC mapFP.ml
OOL dllxlib-pprz.so
OOL xlib-pprz.cmxa
make -C sw/supervision
DEPEND .depend
GLADE gtk_pc.ml
OL paparazzicenter
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
  CP      libopencm3_stm32f1.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      ethernet.c
  CC      flash.c
  CC      gpio.c
  CC      rcc.c
  CC      rtc.c
  CC      timer.c
  CC      mac.c
  CC      mac_stm32fxx7.c
  CC      phy.c
  CC      phy_ksz8051mll.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_l1f013.c
  CC      gpio_common_all.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      rcc_common_all.c
  CC      exti_common_all.c
  CC      flash_common_f01.c
  CC      usb.c
  CC      usb_control.c
  CC      usb_standard.c
  CC      usb_f103.c
  CC      usb_f107.c
  CC      usb_fx07_common.c
  CC      usb_msc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f1.a
  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
  CP      libopencm3_stm32f4.ld
  CC      adc.c
  CC      adc_common_v1.c
  CC      can.c
  CC      desig.c
  CC      gpio.c
  CC      pwr.c
  CC      rcc.c
  CC      rtc.c
  CC      crypto.c
  CC      crc_common_all.c
  CC      dac_common_all.c
  CC      dma_common_f24.c
  CC      gpio_common_all.c
  CC      gpio_common_f0234.c
  CC      i2c_common_all.c
  CC      iwdg_common_all.c
  CC      pwr_common_all.c
  CC      rtc_common_l1f024.c
  CC      spi_common_all.c
  CC      spi_common_l1f124.c
  CC      timer_common_all.c
  CC      timer_common_f234.c
  CC      timer_common_f24.c
  CC      usart_common_all.c
  CC      usart_common_f124.c
  CC      flash_common_f234.c
  CC      flash_common_f24.c
  CC      hash_common_f24.c
  CC      crypto_common_f24.c
  CC      exti_common_all.c
  CC      rcc_common_all.c
  CC      usb.c
  CC      usb_standard.c
  CC      usb_control.c
  CC      usb_fx07_common.c
  CC      usb_f107.c
  CC      usb_f207.c
  CC      usb_msc.c
  CC      mac.c
  CC      phy.c
  CC      mac_stm32fxx7.c
  CC      phy_ksz8051mll.c
  CC      fmc.c
  CC      ltdc.c
  CC      vector.c
  CC      systick.c
  CC      scb.c
  CC      nvic.c
  CC      assert.c
  CC      sync.c
  CC      dwt.c
  AR      libopencm3_stm32f4.a
  CC      luftboot.c
luftboot.c: In function 'main':
luftboot.c:481:9: note: #pragma message: Luftboot using 12MHz external clock to PLL it to 72MHz.
 #pragma message "Luftboot using 12MHz external clock to PLL it to 72MHz."
         ^
  CC      luftboot.elf
  create  luftboot.bin
  create  luftboot.hex
GENERATE ../../var/include/mavlink
make -C sw/tools/bluegiga_usb_dongle
Building target: bluegiga_usb_driver
Finished building target: bluegiga_usb_driver
make -C sw/ground_segment/misc
CC davis2ivy
CC kestrel2ivy
natnet2ivy.c: In function ‘timeout_transmit_callback’:
natnet2ivy.c:608:9: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
         gettimeofday(&cur_time, NULL);
         ^
CC natnet2ivy
CC sbp2ivy
CC video_synchronizer
CC sbs2ivy
make -C sw/logalizer
DEPEND .depend
OL play
OL plotter
OCI export.mli
OL logplotter
OL sd2log
CC plotprofile
CC openlog2tlm
CC sdlogger_download
cat src/paparazzi | sed s#OCAMLRUN#/usr/bin/ocamlrun# | sed s#OCAML#/usr/bin/ocaml# > paparazzi
chmod a+x paparazzi
make -C sw/ground_segment/cockpit
DEPEND .depend
OCI horizon.mli
OCI strip.mli
OCI saveSettings.mli
OC saveSettings.ml
OCI page_settings.mli
OCI pages.mli
OCI speech.mli
OCI plugin.mli
OCI sectors.mli
OCI map2d.mli
OCI editFP.mli
OC editFP.ml
OCI live.mli
OCI papgets.mli
OL gcs
make -C sw/ground_segment/tmtc
DEPEND .depend
OL link
OC aircraft.mli
OC wind.mli
OC airprox.mli
OC kml.mli
OC intruder.mli
OC rotorcraft_server.mli
OC fw_server.mli
OL server
OL messages
OL settings
OL ivy_tcp_aircraft
OL ivy_tcp_controller
OL broadcaster
OL ivy2udp
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/pi/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_flight_plan.out
OL gen_srtm.out
make -C sw/simulator
DEPEND .depend
OL gaia
CC fg.c
OC stdlib.mli
OC data.mli
OC flightModel.mli
OC flightModel.ml
OC gps.mli
OC sim.mli
OC sitl.mli
OL sitl.cma
make -C sw/ground_segment/joystick
DEPEND .depend
CC test_sdl_stick.o
BUILD test_stick
CC sdl_stick.o
CC ml_sdl_stick.o
OL input2ivy
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


pi@raspberrypi:~/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
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
OOC saveSettings.ml
OOC editFP.ml
OOC gcs.ml
OOL gcs.opt
make -C sw/ground_segment/tmtc opt
OOC kml.ml
OOL server.opt


pi@raspberrypi:~/paparazzi $ make
------------------------------------------------------------
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
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/lpc21iap
LD lpc21iap


Thanks for your attention!

On Tue, May 3, 2016 at 2:04 PM, Felix Ruess <[hidden email]> wrote:
The output of clean is not interesting/important...

The output of make ground_segment or make all is (if you are still having troubles)

Unless you require Raspbian for something else, the easiest way to get Paparazzi running on RPi 2 is to install Ubuntu and then follow the normal installation procedure: https://wiki.paparazziuav.org/wiki/Installation/Linux
We don't have prebuild binary packages for Debian on ARM (or Raspbian), as I don't think there is a publicly available build service for it out there. We use build.opensuse.org to build Debian packages, but it seems like building for ARM is currently not supported there (so we only have x86 and amd64).

On Tue, May 3, 2016 at 6:51 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I`m using a Raspberry Pi 2 Model B V1.1. I`m using Raspbian Jessie. The complete information about the OS is:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian

I did a make clean and the output is:

pi@raspberrypi:~/paparazzi $ make clean
Cleaning ./data/maps/Makefile
Cleaning ./tests/Makefile
Cleaning ./tests/math/Makefile
Cleaning ./doc/ccc07/Makefile
Cleaning ./doc/pprz_geodetic/Makefile
Cleaning ./doc/pprz_algebra/Makefile
Cleaning ./docker/Makefile
make[1]: *** No rule to make target 'clean'.  Stop.
Cleaning ./sw/logalizer/matlab/Makefile
Cleaning ./sw/logalizer/Makefile
Cleaning ./sw/simulator/scilab/q3d/povray/Makefile
Cleaning ./sw/simulator/scilab/q3d/Makefile
Cleaning ./sw/simulator/scilab/q3d/fonts/Makefile
Cleaning ./sw/simulator/scilab/q6d/povray/Makefile
Cleaning ./sw/simulator/Makefile
Cleaning ./sw/misc/satcom/Makefile
Cleaning ./sw/misc/turbine/Makefile
Cleaning ./sw/misc/attitude_reference/Makefile
make -C c_att_refs clean
rm -rf build *.so *.c
Cleaning ./sw/misc/attitude_reference/c_att_refs/Makefile
rm -rf build *.so *.c
Cleaning ./sw/misc/log_parser/Makefile
Cleaning ./sw/misc/button/Makefile
Cleaning ./sw/misc/inertial/C/Makefile
Cleaning ./sw/lib/ocaml/Makefile
Cleaning ./sw/lib/python/pprz_math/Makefile
rm -rf build *.so *.c *.pyc geodetic.py algebra.py
Cleaning ./sw/ground_segment/joystick/Makefile
Cleaning ./sw/ground_segment/misc/Makefile
Cleaning ./sw/ground_segment/cockpit/Makefile
Cleaning ./sw/ground_segment/tmtc/Makefile
Cleaning ./sw/ground_segment/lpc21iap/Makefile
Cleaning ./sw/tools/bluegiga_usb_dongle/Makefile
rm -f stubs.o uart.o cmd_def.o main.o stubs.d uart.d cmd_def.d main.d bluegiga_usb_driver
Cleaning ./sw/tools/Makefile
Cleaning ./sw/tools/wiki_gen/Makefile
Cleaning ./sw/tools/gps_ublox_conf/Makefile
Cleaning ./sw/tools/generators/Makefile
Cleaning ./sw/airborne/test/Makefile
Cleaning ./sw/airborne/test/stabilization/Makefile
rm -rf build *.so *.c
Cleaning ./sw/airborne/test/ahrs/Makefile
cleaning ...
Cleaning ./sw/airborne/subsystems/datalink/Makefile
Cleaning ./sw/airborne/firmwares/non_ap/led_flasher/Makefile
Cleaning ./sw/airborne/modules/digital_cam/catia/Makefile
rm -rf ./catia
Cleaning ./sw/airborne/Makefile
make[1]: Nothing to be done for 'clean'.
Cleaning ./sw/airborne/arch/lpc21/lpcusb/Makefile
CLEAN libusbstack
Cleaning ./sw/airborne/arch/lpc21/lpcusb/examples/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/bootloader/Makefile
Cleaning ./sw/airborne/arch/lpc21/test/Makefile

-------- begin --------

Cleaning project:
rm -f ledswitch.hex
rm -f ledswitch.obj
rm -f ledswitch.elf
rm -f ledswitch.map
rm -f ledswitch.obj
rm -f ledswitch.a90
rm -f ledswitch.sym
rm -f ledswitch.lnk
rm -f ledswitch.lss
rm -f ledswitch.o
rm -f 
rm -f 
rm -f 
rm -f 
rm -f crt0.o
rm -f  crt0.lst ledswitch.lst   
rm -f ledswitch.s
rm -f ledswitch.d
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f 
rm -f -r .dep
rm -f *~
Errors: none
-------- end --------

Cleaning ./sw/airborne/math/Makefile
Cleaning ./sw/supervision/Makefile
  CLNHDR  include/libopencm3/lm3s/irq.json
  CLNHDR  include/libopencm3/lpc13xx/irq.json
  CLNHDR  include/libopencm3/vf6xx/irq.json
  CLNHDR  include/libopencm3/stm32/l0/irq.json
  CLNHDR  include/libopencm3/stm32/f2/irq.json
  CLNHDR  include/libopencm3/stm32/f3/irq.json
  CLNHDR  include/libopencm3/stm32/l1/irq.json
  CLNHDR  include/libopencm3/stm32/f1/irq.json
  CLNHDR  include/libopencm3/stm32/f4/irq.json
  CLNHDR  include/libopencm3/stm32/f0/irq.json
  CLNHDR  include/libopencm3/efm32/efm32tg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32g/irq.json
  CLNHDR  include/libopencm3/efm32/efm32lg/irq.json
  CLNHDR  include/libopencm3/efm32/efm32gg/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m0/irq.json
  CLNHDR  include/libopencm3/lpc43xx/m4/irq.json
  CLNHDR  include/libopencm3/lpc17xx/irq.json
  CLNHDR  include/libopencm3/sam/3a/irq.json
  CLNHDR  include/libopencm3/sam/3u/irq.json
  CLNHDR  include/libopencm3/sam/3s/irq.json
  CLNHDR  include/libopencm3/sam/3x/irq.json
  CLNHDR  include/libopencm3/sam/3n/irq.json
  CLEAN   lib/stm32/f0
  CLEAN   lib/stm32/f1
  CLEAN   lib/stm32/f2
  CLEAN   lib/stm32/f3
  CLEAN   lib/stm32/f4
  CLEAN   lib/stm32/l0
  CLEAN   lib/stm32/l1
  CLEAN   lib/lpc13xx
  CLEAN   lib/lpc17xx
  CLEAN   lib/lpc43xx/m4
  CLEAN   lib/lpc43xx/m0
  CLEAN   lib/lm3s
  CLEAN   lib/lm4f
  CLEAN   lib/efm32/efm32tg
  CLEAN   lib/efm32/efm32g
  CLEAN   lib/efm32/efm32lg
  CLEAN   lib/efm32/efm32gg
  CLEAN   lib/sam/3a
  CLEAN   lib/sam/3n
  CLEAN   lib/sam/3s
  CLEAN   lib/sam/3u
  CLEAN   lib/sam/3x
  CLEAN   lib/vf6xx
  CLEAN   doc
  CLEAN   luftboot



On Tue, May 3, 2016 at 1:36 PM, Felix Ruess <[hidden email]> wrote:
Ah, right... you are using a Raspberry Pi 1? What OS?
We have no Debian packages for Raspberry Pi 1... for the Pi 2 you should be able to just do a normal (Ubuntu) install as on any other machine.

In any case: paparazzi-dev is just a convenience package that installs all dependencies, so you don't really need it.

If you still have problems, can you please do a make clean and then post the output of make?

On Tue, May 3, 2016 at 6:26 PM, Douglas Aparecido Soares <[hidden email]> wrote:
I installed the bc. I have installed the version 1.06.95.

But when I used the command that you asked, the output is:

pi@raspberrypi:~/paparazzi $ apt-cache policy paparazzi-dev
N: Unable to locate package paparazzi-dev

On Tue, May 3, 2016 at 12:58 PM, Felix Ruess <[hidden email]> wrote:
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 <[hidden email]> wrote:
Just run make (or make ext) in the paparazzi directory.

On Tue, May 3, 2016 at 5:37 PM, Douglas Aparecido Soares <[hidden email]> 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:


pi@raspberrypi:~/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

pi@raspberrypi:~/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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



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



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



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



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




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



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



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



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



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



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



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



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



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



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