17 #ifndef _GAZEBO_GUI_CESSNA_PLUGIN_HH_
18 #define _GAZEBO_GUI_CESSNA_PLUGIN_HH_
23 #ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829
24 # include <gazebo/transport/transport.hh>
25 # include <gazebo/gui/gui.hh>
59 private:
void OnState(ConstCessnaPtr &_msg);
62 private slots:
void OnIncreaseThrust();
65 private slots:
void OnDecreaseThrust();
68 private slots:
void OnIncreaseFlaps();
71 private slots:
void OnDecreaseFlaps();
74 private slots:
void OnIncreaseRoll();
77 private slots:
void OnDecreaseRoll();
80 private slots:
void OnIncreaseElevators();
83 private slots:
void OnDecreaseElevators();
86 private slots:
void OnIncreaseRudder();
89 private slots:
void OnDecreaseRudder();
92 private slots:
void OnPresetTakeOff();
95 private slots:
void OnPresetCruise();
98 private slots:
void OnPresetLanding();
101 private: sdf::ElementPtr sdf;
116 private: msgs::Cessna state;
119 private: std::mutex mutex;
A GUI plugin that controls the Cessna model using the keyboard.
Definition: CessnaGUIPlugin.hh:46
A plugin loaded within the gzclient on startup.
Definition: GuiPlugin.hh:26
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
An angle and related functions.
Definition: Angle.hh:53
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:66