Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
commands.c
Go to the documentation of this file.
1/*
2 * Copyright (c) 2006 Pascal Brisset, Antoine Drouin
3 * Copyright (C) 2021 Gautier Hattenberger <gautier.hattenberger@enac.fr>
4 *
5 * This file is part of paparazzi.
6 *
7 * paparazzi is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * paparazzi is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with paparazzi; see the file COPYING. If not, see
19 * <http://www.gnu.org/licenses/>.
20 *
21 */
22
29
32
36
37#if PERIODIC_TELEMETRY
39
40static void send_commands(struct transport_tx *trans, struct link_device *dev)
41{
43}
44#endif
45
46void commands_init(void)
47{
49
50
51#ifdef COMMAND_ROLL_TRIM
53#endif
54#ifdef COMMAND_PITCH_TRIM
56#endif
57#ifdef COMMAND_YAW_TRIM
59#endif
60
61#if PERIODIC_TELEMETRY
63#endif
64}
65
66
pprz_t command_pitch_trim
Definition commands.c:34
void commands_init(void)
Definition commands.c:46
static void send_commands(struct transport_tx *trans, struct link_device *dev)
Definition commands.c:40
const pprz_t commands_failsafe[COMMANDS_NB]
Definition commands.c:31
pprz_t commands[COMMANDS_NB]
Definition commands.c:30
pprz_t command_roll_trim
Definition commands.c:33
pprz_t command_yaw_trim
Definition commands.c:35
Hardware independent code for commands handling.
uint16_t foo
Definition main_demo5.c:58
int16_t pprz_t
Definition paparazzi.h:6
static const struct usb_device_descriptor dev
Definition usb_ser_hw.c:74
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.
Definition telemetry.c:51
Periodic telemetry system header (includes downlink utility and generated code).
#define DefaultPeriodic
Set default periodic telemetry.
Definition telemetry.h:66