src
mixers
px4_v1.14.0_13000_vtol_8_motors.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Dmitry Ponomarev <ponomarevda96@gmail.com>
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, version 3.
7
*
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Author: Dmitry Ponomarev <ponomarevda96@gmail.com>
17
*/
18
19
#ifndef SRC_MIXERS_MIXER_PX4_V_1_14_0_13000_VTOL_8_MOTORS_HPP
20
#define SRC_MIXERS_MIXER_PX4_V_1_14_0_13000_VTOL_8_MOTORS_HPP
21
22
#include "
base_mixer.hpp
"
23
24
class
PX4_V_1_14_0_Airframe_13000_8_motors
:
public
BaseReverseMixer
{
25
public
:
26
using
BaseReverseMixer::BaseReverseMixer
;
27
~PX4_V_1_14_0_Airframe_13000_8_motors
()
final
=
default
;
28
int8_t
init
()
override
;
29
ros::Subscriber
servosSub
;
30
protected
:
31
enum
InputAirframe
: uint8_t {
32
INPUT_AILERON_1
= 9,
33
INPUT_AILERON_2
= 10,
34
INPUT_ELEVATORS
= 11,
35
INPUT_RUDDERS
= 12,
36
};
37
38
void
motorsCallback
(sensor_msgs::Joy msg)
override
;
39
void
servosCallback
(sensor_msgs::Joy msg);
40
sensor_msgs::Joy
actuatorsMsg
;
41
};
42
43
#endif // SRC_MIXERS_MIXER_PX4_V_1_14_0_13000_VTOL_8_MOTORS_HPP
BaseReverseMixer
Definition:
base_mixer.hpp:50
PX4_V_1_14_0_Airframe_13000_8_motors::actuatorsMsg
sensor_msgs::Joy actuatorsMsg
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:40
PX4_V_1_14_0_Airframe_13000_8_motors::~PX4_V_1_14_0_Airframe_13000_8_motors
~PX4_V_1_14_0_Airframe_13000_8_motors() final=default
base_mixer.hpp
PX4_V_1_14_0_Airframe_13000_8_motors::INPUT_ELEVATORS
@ INPUT_ELEVATORS
[-1.0; +1.0]
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:34
PX4_V_1_14_0_Airframe_13000_8_motors::INPUT_RUDDERS
@ INPUT_RUDDERS
[-1.0; +1.0]
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:35
PX4_V_1_14_0_Airframe_13000_8_motors::INPUT_AILERON_2
@ INPUT_AILERON_2
[-1.0; +1.0]
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:33
PX4_V_1_14_0_Airframe_13000_8_motors::motorsCallback
void motorsCallback(sensor_msgs::Joy msg) override
Definition:
px4_v1.14.0_13000_vtol_8_motors.cpp:34
PX4_V_1_14_0_Airframe_13000_8_motors::INPUT_AILERON_1
@ INPUT_AILERON_1
[-1.0; +1.0]
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:32
PX4_V_1_14_0_Airframe_13000_8_motors::InputAirframe
InputAirframe
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:31
PX4_V_1_14_0_Airframe_13000_8_motors::servosSub
ros::Subscriber servosSub
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:29
PX4_V_1_14_0_Airframe_13000_8_motors::init
int8_t init() override
Definition:
px4_v1.14.0_13000_vtol_8_motors.cpp:24
PX4_V_1_14_0_Airframe_13000_8_motors::servosCallback
void servosCallback(sensor_msgs::Joy msg)
Definition:
px4_v1.14.0_13000_vtol_8_motors.cpp:53
BaseReverseMixer::BaseReverseMixer
BaseReverseMixer(const ros::NodeHandle &nh)
Definition:
base_mixer.hpp:52
ros::Subscriber
PX4_V_1_14_0_Airframe_13000_8_motors
Definition:
px4_v1.14.0_13000_vtol_8_motors.hpp:24
inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Mon Dec 9 2024 03:13:35