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

Simulation pr2_controller_manager

asked 2012-11-05 03:15:44 -0500

monidiaz gravatar image

updated 2014-11-22 17:05:07 -0500

ngrennan gravatar image

I'm trying thia pr2s tutorial : Teleop PR2 arm in simulation (http://www.ros.org/wiki/pr2_simulator/Tutorials/Teleop%20PR2%20arm%20in%20simulation)

when i put the line: roslaunch jtteleop.launch the error is :

 Failed to load r_cart

in the .launch is here ....

<node name="spawn_cart"
       pkg="pr2_controller_manager" type="spawner"
       args="r_cart" />

I suppose that the pr2_controller_manager was missing in my deps ... but i tried

sudo apt-get install ros-fuerte-pr2-mechanism

http://ros.org/wiki/pr2_controller_manager but the error always is the same

Tried change the type in the .launch and doesn't work

<rosparam ns="r_cart">

    type: robot_mechanism_controllers/JTCartesianControll
    root_name: torso_lift_link

Next Error is

 Could not load controller 'r_cart' because controller type 'robot_mechanism_controllers/JTCartesianControll' does not exist

i don't know what i'm doing wrong ... i'm just keep few weeks Workin On Ros ..

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-11-06 03:41:32 -0500

Lorenz gravatar image

You have a typo in the controller name. It should be robot_mechanism_controllers/JTCartesianController, not robot_mechanism_controllers/JTCartesianControll.

edit flag offensive delete link more
0

answered 2012-11-05 03:26:39 -0500

Lorenz gravatar image

The debian package is called ros-fuerte-pr2-mechanism. But I guess it is installed already because pr2_gazebo_plugins which is needed by pr2_gazebo depends on it.

The problem probably is that your controller configuration is wrong. I guess the tutorial you are relying on is outdated. Try changing the controller type to robot_mechanism_controllers/JTCartesianController.

Btw. please have a look at the support page and follow the guidelines. It would have been good if you pasted the complete launch file and the complete error output.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-11-05 03:15:44 -0500

Seen: 476 times

Last updated: Nov 06 '12