## For instruction on writing tutorials ## http://www.ros.org/wiki/WritingTutorials #################################### ##FILL ME IN #################################### ## for a custom note with links: ## note = ## for the canned note of "This tutorial assumes that you have completed the previous tutorials:" just add the links ## note.0= [[turtlebot_gazebo/Tutorials/indigo/Gazebo Bringup Guide|Gazebo Bringup Guide]] ## descriptive title for the tutorial ## title = Explore the Gazebo world ## multi-line description to be displayed in search ## description = Cruise around in the Gazebo world and use RViz to "see" what's in it. ## the next tutorial description (optional) ## next = ## links to next tutorial (optional) ## next.0.link=[[turtlebot_gazebo/Tutorials/indigo/Make a map and navigate with it|Make a map and navigate with it]] ## next.1.link= ## what level user is this tutorial for ## level= BeginnerCategory ## keywords = keyop, rviz #################################### <> ||Bringup Turtlebot, see what the robot senses, teleoperate in Gazebo simulation.|| <> == Overview == In this tutorial we will use the keyboard teleop tool from the [[turtlebot_teleop]] package to drive the TurtleBot around and use RViz to visualise the sensor data. == Preparations == First we need to install the [[turtlebot_teleop]] package. Since we will use other apps in the later tutorials, we will install all [[turtlebot_apps|TurtleBot apps]] already. For convenience we will additionally install a set of RViz launchers, which will bring up RViz already configured for our use case. {{{ $ sudo apt-get install ros-indigo-turtlebot-apps ros-indigo-turtlebot-rviz-launchers }}} == Make the TurtleBot move == First, bring up the TurtleBot simulation as described in the [[turtlebot_gazebo/Tutorials/indigo/Gazebo Bringup Guide|Gazebo Bringup Guide]]. Next, in a second terminal* run the keyboard teleop tool. {{{ $ roslaunch turtlebot_teleop keyboard_teleop.launch }}} For TurtleBot 2 you can also use the [[kobuki_keyop]] tool: {{{ $ roslaunch kobuki_keyop keyop.launch }}} If you prefer other methods to move the robot, be sure to use [[http://docs.ros.org/api/geometry_msgs/html/msg/Twist.html|geometry_msgs/Twist]] topic by the name `/mobile_base/commands/velocity`. == See what the robot sees == Use RViz to visualise various sensory information. In a new terminal* execute: {{{ $ roslaunch turtlebot_rviz_launchers view_robot.launch }}} RViz won't show much at first, since the Gazebo world is empty. So, let's add some objects to it! {{attachment:turtlebot_gazebo_rviz.png||width=100%}} == Notes == * If your terminals are not already pre-configured with the ROS environment variables, you need to set them in each new terminal you open. Just execute the below command *before* you execute any other ROS commands. {{{ $ source /opt/ros/indigo/setup.bash }}} == What Next? == * [[turtlebot_gazebo/Tutorials/indigo/Make a map and navigate with it|Make a map and navigate with it]] or return to [[Robots/TurtleBot|TurtleBot main page|&distro=indigo]]. ## AUTOGENERATED DO NOT DELETE ## TutorialCategory ## FILL IN THE STACK TUTORIAL CATEGORY HERE