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