Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sys_id_wave.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 */
34#ifndef SYS_ID_WAVE_H
35#define SYS_ID_WAVE_H
36
37
38#include "paparazzi.h"
39
40
41extern uint8_t wave_active;
42extern uint8_t wave_axis;
44extern float frequency_hz_;
45extern float lag_rad_;
46
48
49extern void sys_id_wave_init(void);
50extern void sys_id_wave_run(void);
51
53extern uint8_t sys_id_wave_running(void);
54
56extern void sys_id_wave_lag_rad_set(float lag_rad_set);
57
58// handlers for changing in GCS variables
60extern void sys_id_wave_add_values(bool motors_on, bool override_on, pprz_t in_cmd[]);
61
62#endif // SYS_ID_WAVE_H
uint16_t foo
Definition main_demo5.c:58
int16_t pprz_t
Definition paparazzi.h:6
float frequency_hz_
Definition sys_id_wave.c:60
void sys_id_wave_init(void)
void sys_id_wave_run(void)
void sys_id_wave_add_values(bool motors_on, bool override_on, pprz_t in_cmd[])
void sys_id_wave_lag_rad_set(float lag_rad_set)
uint8_t wave_active
Definition sys_id_wave.c:57
uint8_t wave_axis
Definition sys_id_wave.h:47
pprz_t wave_amplitude
Definition sys_id_wave.c:59
void sys_id_wave_frequency_hz_set(float frequency_hz_set)
float lag_rad_
Definition sys_id_wave.c:61
void sys_id_wave_axis_handler(uint8_t axis)
uint8_t sys_id_wave_running(void)
void sys_id_wave_activate_handler(uint8_t activate)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.