Skip to content

Getting the Simulator Up and Running

thegouger edited this page Oct 13, 2012 · 3 revisions

This assumes you've already set up ROS Fuerte on Ubuntu.

Install ROS's PR2 simulator

  • sudo apt-get install ros-fuerte-pr2-simulator

Add local repo folder to ROS's package path (if not already done)

  • echo "export ROS_PACKAGE_PATH=$PATH_TO_REPO:$ROS_PACKAGE_PATH" >> ~/.bashrc
  • . ~/.bashrc

Build the packages

  • roscd simBotTeleop
  • rosmake simBotTeleop
  • roscd simBotAckermann
  • rosmake simBotAckermann

Launching

  • roslaunch simBotAckermann simBotEmptyWorld.launch
  • roslaunch simBotTeleop simBotTeleopKeyboard.launch
  • roslaunch simBotAckermann rviz.launch

Subscriber

  • To get the sample subscriber running:
  • roscd simBotSubscribe
  • rosmake
  • rosrun simBotSubscribe simBotSubscribe
Clone this wiki locally