18 #ifndef GAZEBO_PLUGINS_KEYSTOCMDVELPLUGIN_HH_ 19 #define GAZEBO_PLUGINS_KEYSTOCMDVELPLUGIN_HH_ 24 #include <ignition/transport/Node.hh> 31 class CmdVelKeyboardControls;
32 class KeysToCmdVelPluginPrivate;
81 public:
void Init()
override;
84 public:
void Reset()
override;
88 protected:
virtual void OnKeyPress(ConstAnyPtr &_msg);
92 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:69
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:94
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:303