Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
pump_control.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2026 Gautier Hattenberger <gautier.hattenberger@enac.fr>
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 */
20
26#ifndef PUMP_CONTROL_H
27#define PUMP_CONTROL_H
28
29#include "std.h"
30
31extern void pump_control_init(void);
32extern void pump_activate(void);
33extern void pump_purge(void);
34extern void pump_stop(void);
35extern bool pump_done(float duration, float timeout);
36extern bool pump_pumping(void);
37void pump_control_report(void);
38
39void pump_control_handler(float value);
40extern float pump_ctrl_state;
41
42#endif // PUMP_CONTROL_H
static float timeout
void pump_control_init(void)
void pump_stop(void)
void pump_control_report(void)
void pump_purge(void)
bool pump_pumping(void)
float pump_ctrl_state
bool pump_done(float duration, float timeout)
void pump_control_handler(float value)
void pump_activate(void)