17 #ifndef GAZEBO_PLUGINS_CESSNAGUIPLUGIN_HH_ 18 #define GAZEBO_PLUGINS_CESSNAGUIPLUGIN_HH_ 22 #include <ignition/math/Angle.hh> 28 #include <gazebo/transport/transport.hh> 62 private:
void OnState(ConstCessnaPtr &_msg);
65 private slots:
void OnIncreaseThrust();
68 private slots:
void OnDecreaseThrust();
71 private slots:
void OnIncreaseFlaps();
74 private slots:
void OnDecreaseFlaps();
77 private slots:
void OnIncreaseRoll();
80 private slots:
void OnDecreaseRoll();
83 private slots:
void OnIncreaseElevators();
86 private slots:
void OnDecreaseElevators();
89 private slots:
void OnIncreaseRudder();
92 private slots:
void OnDecreaseRudder();
95 private slots:
void OnPresetTakeOff();
98 private slots:
void OnPresetCruise();
101 private slots:
void OnPresetLanding();
104 private: sdf::ElementPtr sdf;
116 private: ignition::math::Angle angleStep;
119 private: msgs::Cessna state;
122 private: std::mutex mutex;
A GUI plugin that controls the Cessna model using the keyboard.
Definition: CessnaGUIPlugin.hh:49
Forward declarations for the common classes.
Definition: Animation.hh:26
A plugin loaded within the gzclient on startup.
Definition: GuiPlugin.hh:26
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57