Randy Mackay
87cada1d54
Scheduler: remove INS start style from example sketch
10 years ago
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.
10 years ago
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).
10 years ago
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.
10 years ago
Daniel Frenzel
b9c0f34897
AP_Scheduler example
...
Fixed build problem with "make linux"
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
10 years ago
rentt
ad32a98e29
Scheduler: fix compiler warning in example sketch
...
printf except a unsigned long value, but the hal.scheduler->millis() return a uint32_t
10 years ago
Lucas De Marchi
d8b70dc0c5
AP_Scheduler: use ARRAY_SIZE macro
10 years ago
Lucas De Marchi
98a1a05933
AP_Scheduler: stop using alias FUNCTOR_BIND_VOID
10 years ago
Andrew Tridgell
b2a5de8a63
AP_Scheduler: fixed example sketch
10 years ago
Andrew Tridgell
ae4cfe3f2f
AP_Scheduler: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
96b921d4cc
AP_Scheduler: fixed example build
10 years ago
Andrew Tridgell
1237772479
AP_Scheduler: support member functions for rover
10 years ago
Andrew Tridgell
a4e8d960d2
AP_Scheduler: fix for HAL_SITL rename
10 years ago
Randy Mackay
75e2498da2
Scheduler: fix example sketch
10 years ago
Randy Mackay
857c3ef0e9
Scheduler: fix example sketch
10 years ago
Andrew Tridgell
48abfcede7
AP_Scheduler: added example sketch
10 years ago