|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Common tools for ABI middleware. More...
#include "std.h"#include "math/pprz_algebra_int.h"#include "math/pprz_algebra_float.h"#include "modules/gps/gps.h"#include "modules/radio_control/radio_control.h"#include "modules/actuators/actuators.h"#include "modules/actuators/actuators_t4_uart.h"#include "modules/core/abi_sender_ids.h"
Include dependency graph for abi_common.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | abi_struct |
| Event structure to store callbacks in a linked list. More... | |
Macros | |
| #define | ABI_EXTERN extern |
| #define | ABI_BROADCAST 255 |
| Broadcast address. | |
| #define | ABI_DISABLE 0 |
| Reserved ABI ID to disable callback. | |
| #define | ABI_FOREACH(head, el) for(el=head; el; el=el->next) |
| Macros for linked list. | |
| #define | ABI_PREPEND(head, add) { (add)->next = head; head = add; } |
Typedefs | |
| typedef void(* | abi_callback) (void) |
| Generic callback definition. | |
| typedef struct abi_struct | abi_event |
Common tools for ABI middleware.
Definition in file abi_common.h.
| struct abi_struct |
Event structure to store callbacks in a linked list.
Definition at line 68 of file abi_common.h.
Collaboration diagram for abi_struct:| Data Fields | ||
|---|---|---|
| abi_callback | cb | |
| uint8_t | id | |
| struct abi_struct * | next | |
| #define ABI_BROADCAST 255 |
Broadcast address.
When binding to an ABI message with broadcast address as a sender id, messages from all senders are received.
Definition at line 59 of file abi_common.h.
| #define ABI_DISABLE 0 |
Reserved ABI ID to disable callback.
When binding to an ABI message with 0 as sender id, the callback is disabled.
Definition at line 65 of file abi_common.h.
Definition at line 49 of file abi_common.h.
Macros for linked list.
Definition at line 76 of file abi_common.h.
Definition at line 77 of file abi_common.h.
Generic callback definition.
Definition at line 53 of file abi_common.h.
| typedef struct abi_struct abi_event |
Definition at line 73 of file abi_common.h.