Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Keyboard Teleop
Description: Keyboard teleoperation of the Evarobot.Tutorial Level: BEGINNER
Next Tutorial: Slam Map Building with Evarobot
evarobot_gazebo_emptyworld.launch is launched to start ROS and required nodes which enables the robot to move.
> roslaunch evarobot_simulation evarobot_gazebo_emptyworld.launch
Generic keyboard teleop for twist robots. This node converts keyboard inputs to velocity messages and publish them to cmd_vel topic.
> rosrun teleop_twist_keyboard teleop_twist_keyboard.py
See the on-screen instructions:
Reading from the keyboard and Publishing to Twist! --------------------------- Moving around: u i o j k l m , . q/z : increase/decrease max speeds by 10% w/x : increase/decrease only linear speed by 10% e/c : increase/decrease only angular speed by 10% anything else : stop CTRL-C to quit
Press keys to move, rotate, speed up, speed down, stop the Evarobot.