Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
infrared.c
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2003-2010 The Paparazzi Team
3
*
4
* This file is part of paparazzi.
5
*
6
* paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, write to
18
* the Free Software Foundation, 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
20
*
21
*/
22
27
#include "
subsystems/sensors/infrared.h
"
28
#include "generated/airframe.h"
29
30
struct
Infrared
infrared
;
31
34
void
infrared_struct_init
(
void
)
35
{
36
infrared
.
roll_neutral
=
IR_ROLL_NEUTRAL_DEFAULT
;
37
infrared
.
pitch_neutral
=
IR_PITCH_NEUTRAL_DEFAULT
;
38
39
infrared
.
correction_left
=
IR_CORRECTION_LEFT
;
40
infrared
.
correction_right
=
IR_CORRECTION_RIGHT
;
41
infrared
.
correction_up
=
IR_CORRECTION_UP
;
42
infrared
.
correction_down
=
IR_CORRECTION_DOWN
;
43
44
infrared
.
lateral_correction
=
IR_LATERAL_CORRECTION
;
45
infrared
.
longitudinal_correction
=
IR_LONGITUDINAL_CORRECTION
;
46
infrared
.
vertical_correction
=
IR_VERTICAL_CORRECTION
;
47
48
}
49
50
IR_CORRECTION_UP
#define IR_CORRECTION_UP
Definition:
infrared.h:90
IR_CORRECTION_RIGHT
#define IR_CORRECTION_RIGHT
Definition:
infrared.h:86
Infrared::longitudinal_correction
float longitudinal_correction
Definition:
infrared.h:136
IR_ROLL_NEUTRAL_DEFAULT
#define IR_ROLL_NEUTRAL_DEFAULT
Definition:
infrared.h:102
Infrared::vertical_correction
float vertical_correction
Definition:
infrared.h:137
Infrared::correction_left
float correction_left
Definition:
infrared.h:141
IR_LATERAL_CORRECTION
#define IR_LATERAL_CORRECTION
Definition:
infrared.h:70
infrared
struct Infrared infrared
Definition:
infrared.c:30
Infrared::correction_up
float correction_up
Definition:
infrared.h:143
infrared_struct_init
void infrared_struct_init(void)
Initialisation of ir structure.
Definition:
infrared.c:34
Infrared::pitch_neutral
float pitch_neutral
Definition:
infrared.h:125
Infrared
Infrared structure.
Definition:
infrared.h:118
IR_VERTICAL_CORRECTION
#define IR_VERTICAL_CORRECTION
Definition:
infrared.h:78
IR_CORRECTION_LEFT
#define IR_CORRECTION_LEFT
Definition:
infrared.h:82
IR_PITCH_NEUTRAL_DEFAULT
#define IR_PITCH_NEUTRAL_DEFAULT
Definition:
infrared.h:106
IR_LONGITUDINAL_CORRECTION
#define IR_LONGITUDINAL_CORRECTION
Definition:
infrared.h:74
Infrared::correction_down
float correction_down
Definition:
infrared.h:144
Infrared::correction_right
float correction_right
Definition:
infrared.h:142
IR_CORRECTION_DOWN
#define IR_CORRECTION_DOWN
Definition:
infrared.h:94
infrared.h
Infrared::roll_neutral
float roll_neutral
Definition:
infrared.h:124
Infrared::lateral_correction
float lateral_correction
Definition:
infrared.h:135
sw
airborne
subsystems
sensors
infrared.c
Generated on Tue Feb 1 2022 13:51:18 for Paparazzi UAS by
1.8.17