Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
actuators_t4_arch.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2024 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 */
25#ifndef ACTUATORS_T4_ARCH_H
26#define ACTUATORS_T4_ARCH_H
27
28#include "std.h"
29
30// Servo 1 to 12 plus ESC 1 to 4 is a total of 16
31#ifndef ACTUATORS_T4_NB
32#define ACTUATORS_T4_NB 17 //Not 16 since using 0 as index
33#endif
34
36
37extern void actuators_t4_commit(void);
38
39#define ActuatorT4Set(_i, _v) { actuators_t4_values[_i] = _v; }
40#define ActuatorsT4Commit actuators_t4_commit
41
42#endif /* ACTUATORS_T4_ARCH_H */
int32_t actuators_t4_values[ACTUATORS_T4_NB]
Print the configuration variables from the header.
void actuators_t4_commit(void)
#define ACTUATORS_T4_NB
int int32_t
Typedef defining 32 bit int type.