17 #ifndef GAZEBO_PLUGINS_CESSNAGUIPLUGIN_HH_ 18 #define GAZEBO_PLUGINS_CESSNAGUIPLUGIN_HH_ 22 #include <ignition/math/Angle.hh> 26 #include <gazebo/transport/transport.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;
113 private: ignition::math::Angle angleStep;
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
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
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59