18 #ifndef GAZEBO_PLUGINS_KEYSTOCMDVELPLUGIN_HH_ 19 #define GAZEBO_PLUGINS_KEYSTOCMDVELPLUGIN_HH_ 24 #include <ignition/transport/Node.hh> 31 class CmdVelKeyboardControls;
32 class KeysToCmdVelPluginPrivate;
76 public:
void Init()
override;
79 public:
void Reset()
override;
83 protected:
virtual void OnKeyPress(ConstAnyPtr &_msg);
87 private: std::unique_ptr<KeysToCmdVelPluginPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
Send velocity commands to a model based on keypress messages received.
Definition: KeysToCmdVelPlugin.hh:64
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:93
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
A plugin with access to physics::Model.
Definition: Plugin.hh:305
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59