I'm new in Gazebo and I want to control a robot with the keyboard writing my own plugin.
I have found how to move the model, following this tutorial: http://gazebosim.org/tutorials?tut=plugins_model&cat=write_plugin
I think is using this code:
this->model->SetLinearVel(ignition::math::Vector3d(.3, 0, 0));
But I don't know how when a key has been pressed and released.
How can I get those events in a plugin?
↧