17 #ifndef GAZEBO_PLUGINS_CESSNAGUIPLUGIN_HH_
18 #define GAZEBO_PLUGINS_CESSNAGUIPLUGIN_HH_
22 #include <ignition/math/Angle.hh>
26 #ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829
27 # include <gazebo/transport/transport.hh>
28 # include <gazebo/gui/gui.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
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
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59