Paparazzi UAS
v6.1.0_stable
Paparazzi is a free software Unmanned Aircraft System.
pprz_doublet.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Alessandro Collicelli
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, see
18
* <http://www.gnu.org/licenses/>.
19
*/
45
#ifndef PPRZ_DOUBLET_H
46
#define PPRZ_DOUBLET_H
47
48
49
50
#include "
std.h
"
51
56
struct
doublet_t
{
57
float
t0
;
58
float
t1
;
59
float
t2
;
60
float
t3
;
61
float
t4
;
62
float
t5
;
63
float
tf
;
64
float
total_length_s
;
65
float
current_value
;
66
float
current_time_s
;
67
68
bool
mod3211
;
69
};
70
71
extern
void
doublet_init
(
struct
doublet_t
*
doublet
,
float
length_s,
72
float
extra_waiting_time_s,
float
current_time_s,
bool
mod3211);
73
74
extern
void
doublet_reset
(
struct
doublet_t
*
doublet
,
float
current_time_s);
75
76
extern
bool
doublet_is_running
(
struct
doublet_t
*
doublet
,
float
current_time_s);
77
78
extern
float
doublet_update
(
struct
doublet_t
*
doublet
,
float
current_time_s);
79
80
#endif //PPRZ_DOUBLET_H
doublet_reset
void doublet_reset(struct doublet_t *doublet, float current_time_s)
Definition:
pprz_doublet.c:57
doublet_t::t5
float t5
Definition:
pprz_doublet.h:62
doublet_t::total_length_s
float total_length_s
Definition:
pprz_doublet.h:64
doublet_t::t3
float t3
Definition:
pprz_doublet.h:60
doublet_t::mod3211
bool mod3211
Definition:
pprz_doublet.h:68
doublet_t::tf
float tf
Definition:
pprz_doublet.h:63
doublet_t::current_time_s
float current_time_s
Definition:
pprz_doublet.h:66
std.h
doublet_t
Initialize with doublet_init.
Definition:
pprz_doublet.h:56
doublet_t::t1
float t1
Definition:
pprz_doublet.h:58
doublet_init
void doublet_init(struct doublet_t *doublet, float length_s, float extra_waiting_time_s, float current_time_s, bool mod3211)
Definition:
pprz_doublet.c:31
doublet_t::t2
float t2
Definition:
pprz_doublet.h:59
doublet_update
float doublet_update(struct doublet_t *doublet, float current_time_s)
Definition:
pprz_doublet.c:68
doublet
static struct doublet_t doublet
Definition:
sys_id_doublet.c:53
doublet_t::current_value
float current_value
Definition:
pprz_doublet.h:65
doublet_is_running
bool doublet_is_running(struct doublet_t *doublet, float current_time_s)
Definition:
pprz_doublet.c:63
doublet_t::t0
float t0
Definition:
pprz_doublet.h:57
doublet_t::t4
float t4
Definition:
pprz_doublet.h:61
sw
airborne
modules
system_identification
pprz_doublet.h
Generated on Tue Feb 1 2022 13:08:46 for Paparazzi UAS by
1.8.17