You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to *send messages* you will also need to declare a variable `mavlink_system` in the **global scope**, specifying the system id and component ID of your component:
56
+
```cpp
57
+
mavlink_system_t mavlink_system = {
58
+
1, // System ID (1-255)
59
+
1 // Component ID (a MAV_COMPONENT value)
60
+
};
61
+
```
62
+
63
+
55
64
## Multiple Streams ("channels") {#channels}
56
65
57
66
The C MAVLink library utilizes a "channel" metaphor to allow for simultaneous processing of multiple, independent MAVLink streams in the same program.
@@ -286,4 +295,4 @@ The following examples show the use of the API.
286
295
In addition, the C library is used in numerous open source systems:
0 commit comments