APM:Copter
ArduCopter
UserCode.cpp
Go to the documentation of this file.
1
#include "
Copter.h
"
2
3
#ifdef USERHOOK_INIT
4
void
Copter::userhook_init
()
5
{
6
// put your initialisation code here
7
// this will be called once at start-up
8
}
9
#endif
10
11
#ifdef USERHOOK_FASTLOOP
12
void
Copter::userhook_FastLoop
()
13
{
14
// put your 100Hz code here
15
}
16
#endif
17
18
#ifdef USERHOOK_50HZLOOP
19
void
Copter::userhook_50Hz
()
20
{
21
// put your 50Hz code here
22
}
23
#endif
24
25
#ifdef USERHOOK_MEDIUMLOOP
26
void
Copter::userhook_MediumLoop
()
27
{
28
// put your 10Hz code here
29
}
30
#endif
31
32
#ifdef USERHOOK_SLOWLOOP
33
void
Copter::userhook_SlowLoop
()
34
{
35
// put your 3.3Hz code here
36
}
37
#endif
38
39
#ifdef USERHOOK_SUPERSLOWLOOP
40
void
Copter::userhook_SuperSlowLoop
()
41
{
42
// put your 1Hz code here
43
}
44
#endif
Copter::userhook_50Hz
void userhook_50Hz()
Copter::userhook_SuperSlowLoop
void userhook_SuperSlowLoop()
Copter::userhook_init
void userhook_init()
Copter::userhook_SlowLoop
void userhook_SlowLoop()
Copter::userhook_FastLoop
void userhook_FastLoop()
Copter.h
Copter::userhook_MediumLoop
void userhook_MediumLoop()
Generated on Sun Jun 17 2018 14:37:57 for APM:Copter by
1.8.13