ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How do I start turtlebot_simulator correctly

asked 2012-04-11 01:28:15 -0600

updated 2012-09-14 11:35:54 -0600

tfoote gravatar image

Hi, I installed ROS via:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu oneiric main" > /etc/apt/sources.list.d/ros-latest.list'
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install ros-electric-desktop-full
echo "source /opt/ros/electric/setup.bash" >> ~/.bashrc
. ~/.bashrc

Then turtlebot via

sudo apt-get install ssh ros-electric-turtlebot-robot

However when I run the turtlebot simulator via:

roslaunch turtlebot_gazebo turtlebot_empty_world.launch

I get

[turtlebot_gazebo] is not a package or launch file name

Any ideas?

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
3

answered 2012-04-11 15:11:30 -0600

mmwise gravatar image

The turtlebot-robot debian doesn't include the turtlebot_simulator package to install this package:

sudo apt-get install ros-electric-turtlebot-simulator-desktop
edit flag offensive delete link more
0

answered 2012-04-11 16:49:58 -0600

Awesome. Works now.

edit flag offensive delete link more
0

answered 2012-09-14 10:05:02 -0600

fersarr gravatar image

what changed? how did you make it work?

edit flag offensive delete link more
0

answered 2012-04-11 14:03:00 -0600

That doesn't work either, FYI I created and run the setup.sh:

#!/bin/sh
source /opt/ros/electric/setup.bash
export ROS_ROOT=/opt/ros/electric/ros
export PATH=$ROS_ROOT/bin:$PATH
export PYTHONPATH=$ROS_ROOT/core/roslib/src:$PYTHONPATH
export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/electric/stacks:$ROS_PACKAGE_PATH

Then installed the extra package:

sudo apt-get install ros-electric-turtlebot-desktop

However I still get the same error when I run the turtlebot simulator via:

roslaunch turtlebot_gazebo turtlebot_empty_world.launch
[turtlebot_gazebo] is not a package or launch file name

Any ideas?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-11 01:28:15 -0600

Seen: 1,785 times

Last updated: Sep 14 '12