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

ee_cart_imped doesn't work for real PR2.

asked 2012-09-26 10:59:35 -0500

J gravatar image

updated 2012-09-26 12:06:13 -0500

ahendrix gravatar image

Hi All,

I'm just following the tutorial of ee_cart_imped package. It's working for Gazebo, but not for real PR2. I get the following:

core service [/rosout] found
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[r_arm_stopper-1]: started with pid [8592]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[r_arm_cart_imped_controller_spawner-2]: started with pid [8593]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[r_arm_cart_imped_controller/r_arm_cart_imped_action_node-3]: started with pid [8594]
[ERROR] [WallTime: 1348693065.095550] Failed to load r_arm_cart_imped_controller

Any suggestions?

edit retag flag offensive close merge delete

Comments

1

Which version of ROS are you running? Which version of Ubuntu? Have you built all of the ee_cart_imped_* packages?

ahendrix gravatar image ahendrix  ( 2012-09-26 12:09:04 -0500 )edit

I'm using Fuerte/12.04. I think I've built them because I can see the controller is running in Gazebo... Could you let me know any suggestions or step-by-step instruction which I can follow? Thanks!

J gravatar image J  ( 2012-09-27 08:21:43 -0500 )edit

You're running Ubuntu 12.04 on a PR2, or on your desktop?

ahendrix gravatar image ahendrix  ( 2012-09-28 10:07:10 -0500 )edit

I'm running it on my desktop.

J gravatar image J  ( 2012-09-28 14:22:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-10-01 11:48:46 -0500

ahendrix gravatar image

Since PR2 controllers are dynamic libraries that are loaded from the file system, you need to have them built on your PR2 if you want to run them there, and you should run the relevant launch files on the PR2 rather than on your desktop.

edit flag offensive delete link more

Comments

Also, as far as I know, you need to restart the pr2 after building the ee_cart_imped library. Something about the real-time loop I guess.

Felix Endres gravatar image Felix Endres  ( 2013-01-17 22:57:20 -0500 )edit

Question Tools

Stats

Asked: 2012-09-26 10:59:35 -0500

Seen: 154 times

Last updated: Oct 01 '12

Related questions