Go to the documentation of this file.
30 if (sp_from_px4.axes.size() != 4 && sp_from_px4.axes.size() != 8) {
41 if (sp_from_px4.axes.size() == 8) {
46 }
else if (sp_from_px4.axes.size() == 4) {
@ VTOL_MOTOR_0_FRONT_RIGHT
[ 0.0; +1.0]
@ VTOL_AILERONS
[-1.0; +1.0]
ros::Subscriber motorsSub
@ INPUT_ELEVATORS
[1.0; +1.0]
@ VTOL_MOTOR_2_FRONT_LEFT
[ 0.0; +1.0]
@ VTOL_THROTLE
[ 0.0; +1.0]
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]
@ INPUT_RUDDERS
[1.0; +1.0]
void motorsCallback(sensor_msgs::Joy sp_from_px4) override
sensor_msgs::Joy sp_to_dynamics
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]
static constexpr char MAPPED_ACTUATOR_TOPIC[]
@ INPUT_AILERONS
[1.0; +1.0]
@ INPUT_THROTLE
[0.0; +1.0]
inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Mon Dec 9 2024 03:13:35