APM:Copter
UserCode.cpp
Go to the documentation of this file.
1 #include "Copter.h"
2 
3 #ifdef 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
13 {
14  // put your 100Hz code here
15 }
16 #endif
17 
18 #ifdef USERHOOK_50HZLOOP
20 {
21  // put your 50Hz code here
22 }
23 #endif
24 
25 #ifdef USERHOOK_MEDIUMLOOP
27 {
28  // put your 10Hz code here
29 }
30 #endif
31 
32 #ifdef USERHOOK_SLOWLOOP
34 {
35  // put your 3.3Hz code here
36 }
37 #endif
38 
39 #ifdef USERHOOK_SUPERSLOWLOOP
41 {
42  // put your 1Hz code here
43 }
44 #endif
void userhook_50Hz()
void userhook_SuperSlowLoop()
void userhook_init()
void userhook_SlowLoop()
void userhook_FastLoop()
void userhook_MediumLoop()