Go to the documentation of this file.
27 for (uint_fast8_t idx = 0; idx < 8; idx++) {
35 if (msg.axes.size() >= 4) {
41 if (msg.axes.size() >= 5) {
44 if (msg.axes.size() >= 9) {
56 }
else if (msg.axes.size() >= 8) {
@ VTOL_MOTOR_0_FRONT_RIGHT
[ 0.0; +1.0]
@ VTOL_AILERONS
[-1.0; +1.0]
ros::Subscriber motorsSub
@ VTOL_MOTOR_2_FRONT_LEFT
[ 0.0; +1.0]
@ VTOL_THROTLE
[ 0.0; +1.0]
@ INPUT_ELEVATORS
[-1.0; +1.0]
@ INPUT_AILERON_2
[-1.0; +1.0]
void servosCallback(sensor_msgs::Joy msg)
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(AdvertiseOptions &ops)
float clamp_float(float value, float min, float max)
@ VTOL_ELEVATORS
[-1.0; +1.0]
Subscriber subscribe(const std::string &topic, uint32_t queue_size, const boost::function< void(C)> &callback, const VoidConstPtr &tracked_object=VoidConstPtr(), const TransportHints &transport_hints=TransportHints())
ros::Publisher actuatorsPub
@ VTOL_MOTOR_3_REAR_RIGHT
[ 0.0; +1.0]
static constexpr char MOTORS_TOPIC[]
@ VTOL_MOTOR_1_REAR_LEFT
[ 0.0; +1.0]
@ VTOL_RUDDERS
[-1.0; +1.0]
@ INPUT_THROTLE
[ 0.0; +1.0]
ros::Subscriber servosSub
static constexpr char MAPPED_ACTUATOR_TOPIC[]
@ INPUT_RUDDERS
[-1.0; +1.0]
static constexpr char SERVOS_TOPIC[]
void motorsCallback(sensor_msgs::Joy msg) override
sensor_msgs::Joy actuatorsMsg
inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Mon Dec 9 2024 03:13:35