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

mexomagno's profile - activity

2016-03-19 19:19:14 -0500 answered a question pr2 Keeps Dropping Objects

A little late to the party. Here is a gazebo plugin that fixes this problem! I'm currently using it and works perfectly :)

2016-03-18 09:50:11 -0500 answered a question PR2 + Hydro - Easiest way to close a gripper?

I do it like this: From terminal, I use an alias for each gripper, defined like this:

alias lgripper_close='rostopic pub -1 /l_gripper_controller/gripper_action/goal pr2_controllers_msgs/Pr2GripperCommandActionGoal '\''{header:{}, goal_id:{}, goal:{command : {position : 0.00, max_effort : 1000}}}'\'''
alias lgripper_close='rostopic pub -1 /l_gripper_controller/gripper_action/goal pr2_controllers_msgs/Pr2GripperCommandActionGoal '\''{header:{}, goal_id:{}, goal:{command : {position : 0.00, max_effort : 1000}}}'\'''

From C++ I just publish a proper pr2_controller_msgs/Pr2GripperCommandActionGoal message directly to the /?_gripper_controller/gripper_action/goal topic.

For feedback, I subscribe and check the messages from /?_gripper_controller/gripper_action/result. Specifically, I check the value of the reached_goal field. Hope that now on 2016 this still helps someone.

2015-10-20 22:30:53 -0500 commented question Gripper closing but not opening (Pr2/gazebo)

Nice! I was going to do the same! and seems like i have no other choice left. However, i'd like to suggest that you publish appropriate messages to the "/r_gripper_controller/gripper_action/goal" topic so you can get feedback from "/r_gripper_controller/gripper_action/[result | feedback]" topics