APM:Libraries
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
y
+
Functions
a
b
c
d
f
g
i
m
o
p
r
s
u
y
+
Variables
_
b
c
e
f
h
i
m
n
r
s
t
Typedefs
Enumerations
+
Enumerator
b
m
r
s
u
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
c
d
f
i
m
p
s
v
+
Enumerations
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
+
Related Functions
a
c
d
f
g
h
i
n
o
p
r
s
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
p
r
s
t
u
+
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
libraries
AP_HAL_Linux
RCInput_Navio2.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RCInput.h
"
4
5
6
namespace
Linux
{
7
8
class
RCInput_Navio2
:
public
RCInput
{
9
public
:
10
void
init
()
override
;
11
void
_timer_tick
(
void
)
override
;
12
RCInput_Navio2
();
13
~RCInput_Navio2
();
14
15
private
:
16
int
open_channel
(
int
ch);
17
18
uint64_t
_last_timestamp
= 0l;
19
static
const
size_t
CHANNEL_COUNT
= 16;
20
int
channels
[
CHANNEL_COUNT
];
21
uint16_t
periods
[
ARRAY_SIZE
(channels)] = {0};
22
};
23
24
}
Linux::RCInput_Navio2
Definition:
RCInput_Navio2.h:8
Linux::RCInput
Definition:
RCInput.h:11
Linux::RCInput_Navio2::RCInput_Navio2
RCInput_Navio2()
Definition:
RCInput_Navio2.cpp:54
Linux::RCInput_Navio2::_last_timestamp
uint64_t _last_timestamp
Definition:
RCInput_Navio2.h:18
Linux::RCInput_Navio2::channels
int channels[CHANNEL_COUNT]
Definition:
RCInput_Navio2.h:20
Linux::RCInput_Navio2::_timer_tick
void _timer_tick(void) override
Definition:
RCInput_Navio2.cpp:31
Linux::RCInput_Navio2::open_channel
int open_channel(int ch)
Definition:
RCInput_Navio2.cpp:63
RCInput.h
Linux::RCInput_Navio2::~RCInput_Navio2
~RCInput_Navio2()
Definition:
RCInput_Navio2.cpp:59
ARRAY_SIZE
#define ARRAY_SIZE(_arr)
Definition:
AP_Common.h:80
Linux::RCInput_Navio2::periods
uint16_t periods[ARRAY_SIZE(channels)]
Definition:
RCInput_Navio2.h:21
Linux::RCInput_Navio2::CHANNEL_COUNT
static const size_t CHANNEL_COUNT
Definition:
RCInput_Navio2.h:19
Linux
Definition:
CameraSensor.h:19
Linux::RCInput_Navio2::init
void init() override
Definition:
RCInput_Navio2.cpp:21
Generated on Sun Jun 17 2018 14:18:49 for APM:Libraries by
1.8.13