Gustavo Jose de Sousa
b59154103f
AP_Scheduler: use function name for AP_Scheduler task name
...
That makes it easier to identify tasks when debug is enabled in AP_Scheduler.
2015-09-01 20:22:19 +10:00
Gustavo Jose de Sousa
2e6074c108
AP_Scheduler: use designated initializers for tasks structs
...
Makes code less prone to break build and semantics (e.g., when a new field is
added).
2015-09-01 20:22:18 +10:00
Gustavo Jose de Sousa
c04b984e6c
AP_Scheduler: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:38:23 +10:00
Daniel Frenzel
b9c0f34897
AP_Scheduler example
...
Fixed build problem with "make linux"
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2015-08-10 19:49:38 +10:00
rentt
ad32a98e29
Scheduler: fix compiler warning in example sketch
...
printf except a unsigned long value, but the hal.scheduler->millis() return a uint32_t
2015-07-28 12:06:46 +09:00
Lucas De Marchi
d8b70dc0c5
AP_Scheduler: use ARRAY_SIZE macro
2015-07-21 14:25:13 +09:00
Lucas De Marchi
98a1a05933
AP_Scheduler: stop using alias FUNCTOR_BIND_VOID
2015-06-04 13:37:40 +09:00
Andrew Tridgell
b2a5de8a63
AP_Scheduler: fixed example sketch
2015-06-01 17:42:32 +10:00
Andrew Tridgell
ae4cfe3f2f
AP_Scheduler: convert example from .pde to .cpp
2015-06-01 17:07:06 +10:00
Andrew Tridgell
96b921d4cc
AP_Scheduler: fixed example build
2015-05-26 14:37:14 +10:00
Andrew Tridgell
1237772479
AP_Scheduler: support member functions for rover
2015-05-21 07:48:46 +10:00
Andrew Tridgell
a4e8d960d2
AP_Scheduler: fix for HAL_SITL rename
2015-05-05 09:45:56 +10:00
Randy Mackay
75e2498da2
Scheduler: fix example sketch
2015-05-02 11:55:50 +09:00
Randy Mackay
857c3ef0e9
Scheduler: fix example sketch
2015-01-28 17:15:51 +09:00
Andrew Tridgell
48abfcede7
AP_Scheduler: added example sketch
2014-11-28 12:59:47 +11:00