paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Raspi GCS


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Raspi GCS
Date: Fri, 3 May 2013 15:43:55 +0200

Hi Eduardo,

If it is link that is inefficient, it might also be due to the handling of floats, since floats/doubles need to be aligned on ARM, they are copied byte by byte and then read as a float again.
See the fix in commit https://github.com/paparazzi/paparazzi/commit/8f341f01fff69556f6a13dae74d4a5b54b1cbea1
If anyone knows how to handle this more efficiently, improvements would be welcome :-)

Server is also available as a native program, run server.opt instead of server....
It would make sense to also compile link with ocamlopt (to provide a native version), but I don't know exactly how to handle the multimon dll with that.
Gautier, do you know?

Cheers, Felix


On Fri, May 3, 2013 at 2:27 PM, Eduardo lavratti <address@hidden> wrote:
Wow ... the gcs run much faster now.
The big problem not is GCS but DATALINK.
Its kill 50% or more of CPU.




Date: Fri, 3 May 2013 12:22:34 +0200

From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Raspi GCS

Hi Eduardo,

I haven't looked at CPU load... while it is not super fast, and resizing, etc. is slow, it's sort of usable without overclock...
You can also build the native (instead of the bytecode) version of the GCS and server, which should run a bit faster:
make ground_segment.opt
Then run sw/ground_segment/cockpit/gcs.opt instead of sw/ground_segment/cockpit/gcs

But IMHO running the GCS on the Pi doesn't make that much sense anyways... that was more to just see if it works properly.
Since you probably don't have a Display connected to the Pi, you need to ssh into it with X forwarding, and might as well just run the GCS on your laptop.
It's probably more interesting to just run link/server and maybe stuff like antenna tracker, ADSB on the Pi and then connect to the IVY bus on it via wifi/3g/internet from your laptop/home...

Cheers, Felix


On Thu, May 2, 2013 at 7:43 PM, Eduardo lavratti <address@hidden> wrote:
Only to confirm.
Any one can tell me if raspi GCS get 100% processor full time ?

To get e reasonable response i need to use 900mhz overclock.
I think the new beagle board black will run much faster.

tks
Date: Mon, 29 Apr 2013 23:19:38 -0300

Subject: Re: [Paparazzi-devel] Raspi GCS

Hello felix,
do you know what happen with ivy-c SVN repo ?
the site is online but i cannot access svn diretory.




Date: Mon, 29 Apr 2013 14:03:44 +0200
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Raspi GCS

Hi Eduardo,

should be fixed in v4.9_devel-812-g8f341f0.

Running nicely on my Pi with raspian/hardfloat now, please let me know if it works for you as well.

Cheers, Felix


On Thu, Apr 18, 2013 at 5:03 AM, Eduardo lavratti <address@hidden> wrote:
Running sw/ground_segment/tmtc/link e receive the message "Bus error"



Date: Wed, 17 Apr 2013 23:55:28 -0300

Subject: Re: [Paparazzi-devel] Raspi GCS

paparazzy terminal return this after i restart datalink

Run '/home/pi/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -s 57600'

DONE (exec /home/pi/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -s 57600 2>&1)




From: address@hidden
To: address@hidden
Date: Wed, 17 Apr 2013 23:42:42 -0300
Subject: Re: [Paparazzi-devel] Raspi GCS

Well, i installed minicom and configured to ttyUSB0.
terminal are receiving the messages from AP.


From: address@hidden
To: address@hidden
Date: Wed, 17 Apr 2013 23:28:03 -0300
Subject: Re: [Paparazzi-devel] Raspi GCS

What do you mean by RAW terminal ?
is a terminal connected to USB0 ?
if yes, how i do this on linux ?




Date: Wed, 17 Apr 2013 20:24:22 -0600
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Raspi GCS

Hi Eduardo,

What kind of serial to usb converter is it? Also, does it work just running it into a raw terminal (without the Link agent)?

I have never actually run a real aircraft on the RasPi, only simulation...

Thanks,
-Stephen Dwyer


On Wed, Apr 17, 2013 at 8:18 PM, Eduardo lavratti <address@hidden> wrote:
Anyone using GCS with raspbery pi ?

Yesterday i tried to use but DATALINK process stop everytime data comes from autopilot.
If i turnoff autopilot the datalink stay active.

my datalink is serial 57.6k (Serial to USB)

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



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

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

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

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

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



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

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

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



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

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