Jazz Simulator

From Control Systems Technology Group
Jump to navigation Jump to search

Getting Started

This tutorial assumes that you have successfully completed the ROS tutorials.


To get the Jazz simulator up and running, do the following:

  1. Download the jazz_simulator and jazz_example packages here.
  2. Extract the packages in your ~/ros folder.
  3. If you set-up your environment correctly, you should be able to roscd to the jazz_simulator and jazz_example packages, e.g.:
    roscd jazz_simulator


Jazz Simulator

  1. Build the jazz_simulator package:
    rosmake jazz_simulator
  2. To start the simulator, start the launch file contained in the package:
    roslaunch jazz_simulator start.launch
    This starts up the Gazebo simulator, loads the robot model and controllers, spawns the robot, and starts the visualization tool RViz.
  3. Play around with the Gazebo interface, and make yourself familiar with RViz. To visualize the sensor data from the laser range finder, in RViz press Add, Choose Laser Scan, and in the left panel select the topic scan.


Jazz Driving Example

  1. Have a look at the file jazz_node.cpp in the src folder of the jazz_example package. You should be able to understand what the program will do.
  2. Build the package:
    rosmake jazz_example
  3. Run the node (make sure the simulator is still running):
    rosrun jazz_example jazz_node
    Check the result in both Gazebo and RViz.
  4. Load the package in Eclipse, or create your own package, and... have fun!