paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Felix Ruess
Subject: Re: [Paparazzi-devel] App Server in a Raspberry Pi
Date: Mon, 2 May 2016 16:48:26 +0200

Seems the pprzlink submodule is not built.
Did you run the toplevel make? Were there any errors?

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

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

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

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

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

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

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

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

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


Does anyone know how to solve these problems?

Once more, thanks a lot!


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

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

Cheers, Felix

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


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


Hi all,

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

Does anyone know how to solve this problem?

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

Thanks a lot!

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



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


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

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

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