maviola 0.3.0

High-level MAVLink communication library with support for essential micro-services.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::time::Duration;

pub(crate) const CONN_BROADCAST_CHAN_CAPACITY: usize = 1024 * 32;

pub(crate) const NETWORK_CLOSED_CHAN_CAPACITY: usize = 1024 * 32;
pub(crate) const NETWORK_RETRY_EVENTS_CHAN_CAPACITY: usize = 1024 * 32;

pub(crate) const CHANNEL_STOP_POOLING_INTERVAL: Duration = Duration::from_micros(100);
pub(crate) const CHANNEL_STOP_JOIN_POOLING_INTERVAL: Duration = Duration::from_millis(100);
pub(crate) const CHANNEL_STOP_JOIN_ATTEMPTS: usize = 30;

pub(crate) const EVENTS_RECV_POOLING_INTERVAL: Duration = Duration::from_millis(1);

pub(crate) const CONN_STOP_POOLING_INTERVAL: Duration = Duration::from_millis(10);