Lucas De Marchi
e11d268818
AP_HAL_Linux: Thread: allow loose running thread
7 years ago
Lucas De Marchi
992abd170d
AP_HAL_Linux: allow to join threads
8 years ago
Lucas De Marchi
3b2de6de46
AP_HAL_Linux: allow PeriodicThread to stop
...
This takes the simplest approach of just waiting for the next time we
will process events.
8 years ago
Lucas De Marchi
20650e14b7
AP_HAL_Linux: allow PollerThread to stop
8 years ago
Lucas De Marchi
da821e69eb
AP_HAL_Linux: Thread: allow to use Thread from stack
...
Up until now we rely on Thread objects and variants thereof to be allocated
on heap or embedded in another object that's zero'ed on initialization.
However sometimes it's convenient to be able to use them on stack as
will be the case when writting unit tests.
Initialize all relevant fields to allow them to be used on stack. While
at it, prefer C++11 initialization on Poller since it's only setting the
default (invalid) value.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
7d451ac876
AP_HAL_Linux: allow to check if thread is running
9 years ago
Lucas De Marchi
f36e8d9c05
AP_HAL_Linux: remove AP_HAL_Linux_Namespace header
...
This centralized namespace header encourages centralizing things on
umbrella headers that are a pain to maintain. Force each part of
AP_HAL_Linux to include what is used.
While at it, do some whitespace cleanups and minor changes to adhere to
coding style.
9 years ago
Lucas De Marchi
b2d4da4b0a
AP_HAL_Linux: Thread: allow to set stack size
...
This allows the code that is creating the thread to set the size of the
stack.
9 years ago
Lucas De Marchi
f5f4aa7c21
AP_HAL_Linux: Thread: allow to debug stack usage
9 years ago
Lucas De Marchi
48e81c8589
AP_HAL_Linux: Thread: add PeriodicThread helper
...
This is a helper class to run a single periodic function like the ones
used in the scheduler.
9 years ago
Lucas De Marchi
0282ebb8ff
AP_HAL_Linux: add method to check caller same as thread
9 years ago
Lucas De Marchi
66e6cd60d8
AP_HAL_Linux: Thread: allow to override run method
9 years ago
Lucas De Marchi
3e0a83ede9
AP_HAL_Linux: add Thread abstraction class
9 years ago
uncrustify
9ccb38260d
uncrustify libraries/AP_Math/polygon.h
13 years ago
Andrew Tridgell
42522baf9f
geofence: store fence points as int32_t
...
this keeps maximum precision in fence boundaries
13 years ago
Andrew Tridgell
9b6bab8904
AP_Math: better polygon algorithm
...
this one seems to do better with single precision floating point
13 years ago
Andrew Tridgell
85e295332f
AP_Math: added Polygon_complete() function
...
used to veryify user supplied boundaries
13 years ago
Andrew Tridgell
117a98f9a2
AP_Math: added a Polygon_outside() function
...
this tests if a point is outside of a polygon. This will be used as
part of our geo-fencing support, and also for a new 'fenced mode'
13 years ago
Wenyao Xie
2432ae130d
Fixed baro.
13 years ago
Amilcar Lucas
69de071281
Spellcheck apo library
14 years ago
James Goppert
d887a28b91
Added ArduBoat/ ArduRover/ and APO library.
14 years ago
James Goppert
71fbdf721a
Added APO branch.
14 years ago
james.goppert
01dea496c8
Removed APO lib.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1957 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
aa598b575a
APO merge.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1935 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago