Hi,

On 21/04/15 00:33, [email protected] wrote:
Hi,

I am developing a UAV control system on the Beaglebone Black. I have
tried to use threads (infinate loops, so they run continuously) in my
application to send telemetry data from the plane, receive instructions
from the ground, control the plane and so on. I found that the threads
run fine most of the time, but once in a while there is a snag that
occurs, which can last up to 3 secs. This is very catastrophic for my
orientation algorithm as because it integrates gyro data over the small
time scales it usually takes per iteration.

You might be interested in http://dev.ardupilot.com/wiki/building-the-code/building-for-beaglebone-black-on-linux/

Cheers,
Jan.


I have found that when I run the code serially, the snags disappear
completely, but they return even when I introduce a thread that does
nothing (infinite loop with a sleep). This means that it has nothing to
do with threads accessing the same data simultaneously. It appears to be
a consequence of merely having threads.

I have used boost::threads as well as std::threads but they both have
the snag once every few seconds.
- The board I am using is the beaglebone black rev c
- I am running ubuntu 14.04
- The kernel is 3.8.13-bone68

I would really appreciate any help because I really need to be able to
run threads.

Kind regards,
Lesiba Mahapa

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google
Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to