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

When pr2.launch file is launched, gazebo crashes [closed]

asked 2012-07-09 07:41:34 -0600

jyjun2119 gravatar image

updated 2012-07-10 00:48:13 -0600


In the following simple scenario:

1) Launched empty_world.launch file satisfactorily (with the command: roslaunch gazebo_worlds empty_world.launch)

2) When launched pr2.launch file (with the command: roslaunch pr2_gazebo pr2.launch)

I get the following message from the terminal from which I launched empty_world.launch:

sh: 1: prefix: not found

terminate called after throwing an instance of 'pluginlib::LibraryLoadException' what(): rospack could not find the pr2_controller_interface package containing pr2_controller_interface::Controller Aborted (core dumped)

And the PR2 is not shown on the gazebo window.

What does "sh: 1: prefix: not found" mean?
I'd appreciate if anyone could help me solve this problem.

Basic info about my set-up:
- ubuntu 12.04 (precise) 64-bit
- GeForce GT 520
- NVIDIA Driver Version: 302.17
- ROS distribution: fuerte


edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-03-03 01:58:11.654434


When I try: rospack plugins --attrib=plugin pr2_controller_interface

I get the same error message as before, that is:

sh: 1: prefix: not found

Any help will be appreciated.

jyjun2119 gravatar image jyjun2119  ( 2012-07-09 23:04:29 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-10 01:21:24 -0600

jyjun2119 gravatar image

I am still waiting if anyone could help me. Thanks!

edit flag offensive delete link more

Question Tools


Asked: 2012-07-09 07:41:34 -0600

Seen: 272 times

Last updated: Jul 10 '12