Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vi_overo_link.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 The Paparazzi Team
3  *
4  * This is the implementation of the "external interface" to the autopilot.
5  * using overo_spi_link.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */
21 
22 #ifndef VEHICLE_INTERFACE_OVERO_LINK_H
23 #define VEHICLE_INTERFACE_OVERO_LINK_H
24 
25 #include "std.h"
27 #include "math/pprz_algebra_int.h"
28 #include "lisa/lisa_overo_link.h"
29 
30 #define ViOveroLinkEvent() { \
31  OveroLinkEvent(vi_overo_link_on_msg_received, vi_overo_link_on_crc_err); \
32  }
33 
34 extern void vi_overo_link_on_msg_received(void);
35 extern void vi_overo_link_on_crc_err(void);
36 
37 #endif /* VEHICLE_INTERFACE_OVERO_LINK_H */
Paparazzi fixed point algebra.