Class for the reactive grasp actions and services. More...
Public Member Functions | |
def | __init__ |
def | compliant_close_callback |
do a compliant close using the fingertip sensors (stops at the first detected contact and moves the arm so that the contact stays in place) | |
def | grasp_adjustment_callback |
do a grasp adjustment using the fingertip sensors (tries to move the hand to obtain non-tip and non-edge contacts) | |
def | init_reactive_grasp |
pull relevant parts out of the goal for both reactive grasp and approach | |
def | reactive_approach_cb |
do a reactive approach using the fingertip sensors (backs up and moves to the side if a fingertip contacts on the way to the grasp) | |
def | reactive_center_cb |
do a reactive centering using the gripper stereo cameras (approaches until object surface is at finger-tip distance, which is near limit of stereo range) | |
def | reactive_grasp_cb |
do a reactive grasp using the fingertip sensors (backs up and moves to the side if a fingertip contacts on the way to the grasp, closes compliantly, tries approach and grasp again if gripper opening is not within bounds) | |
def | reactive_lift_cb |
do a reactive lift using the fingertip sensors (uses slip-servoing to exert just enough force to grasp and lift) | |
def | reactive_place_cb |
do a reactive place using the fingertip sensors and accelerometer (uses slip controller to stop and open when the object hits the table) if slip controller is not running, just goes past the goal with the Cartesian controller | |
Public Attributes | |
approach_num_tries | |
back_step | |
close_force | |
cm | |
forward_step | |
goal_pos_thres | |
grasp_adjust_num_tries | |
grasp_adjust_x_step | |
grasp_adjust_z_step | |
grasp_num_tries | |
max_gripper_opening | |
min_contact_row | |
min_gripper_opening | |
place_overshoot | |
rg | |
rg_state | |
side_step | |
use_slip_controller | |
which_arm | |
Private Attributes | |
_action_name | |
_approach_action_name | |
_approach_as | |
_as | |
_lift_action_name | |
_lift_as | |
_node_name | |
_place_action_name | |
_place_as | |
Static Private Attributes | |
tuple | _lift_result = ReactiveLiftResult() |
tuple | _place_result = ReactivePlaceResult() |
tuple | _result = ReactiveGraspResult() |
Class for the reactive grasp actions and services.
Definition at line 94 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::__init__ | ( | self, | ||
which_arm | ||||
) |
Definition at line 99 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::compliant_close_callback | ( | self, | ||
req | ||||
) |
do a compliant close using the fingertip sensors (stops at the first detected contact and moves the arm so that the contact stays in place)
Definition at line 397 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::grasp_adjustment_callback | ( | self, | ||
req | ||||
) |
do a grasp adjustment using the fingertip sensors (tries to move the hand to obtain non-tip and non-edge contacts)
Definition at line 411 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::init_reactive_grasp | ( | self, | ||
goal | ||||
) |
pull relevant parts out of the goal for both reactive grasp and approach
Definition at line 204 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::reactive_approach_cb | ( | self, | ||
goal | ||||
) |
do a reactive approach using the fingertip sensors (backs up and moves to the side if a fingertip contacts on the way to the grasp)
Definition at line 294 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::reactive_center_cb | ( | self, | ||
goal | ||||
) |
do a reactive centering using the gripper stereo cameras (approaches until object surface is at finger-tip distance, which is near limit of stereo range)
Definition at line 253 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::reactive_grasp_cb | ( | self, | ||
goal | ||||
) |
do a reactive grasp using the fingertip sensors (backs up and moves to the side if a fingertip contacts on the way to the grasp, closes compliantly, tries approach and grasp again if gripper opening is not within bounds)
Definition at line 163 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::reactive_lift_cb | ( | self, | ||
goal | ||||
) |
do a reactive lift using the fingertip sensors (uses slip-servoing to exert just enough force to grasp and lift)
Definition at line 336 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::reactive_place_cb | ( | self, | ||
goal | ||||
) |
do a reactive place using the fingertip sensors and accelerometer (uses slip controller to stop and open when the object hits the table) if slip controller is not running, just goes past the goal with the Cartesian controller
Definition at line 371 of file reactive_grasp_server.py.
Definition at line 104 of file reactive_grasp_server.py.
Definition at line 106 of file reactive_grasp_server.py.
Definition at line 144 of file reactive_grasp_server.py.
Definition at line 140 of file reactive_grasp_server.py.
Definition at line 105 of file reactive_grasp_server.py.
Definition at line 142 of file reactive_grasp_server.py.
tuple reactive_grasp_server::ReactiveGraspActionServer::_lift_result = ReactiveLiftResult() [static, private] |
Definition at line 96 of file reactive_grasp_server.py.
Definition at line 102 of file reactive_grasp_server.py.
Definition at line 107 of file reactive_grasp_server.py.
Definition at line 146 of file reactive_grasp_server.py.
tuple reactive_grasp_server::ReactiveGraspActionServer::_place_result = ReactivePlaceResult() [static, private] |
Definition at line 97 of file reactive_grasp_server.py.
tuple reactive_grasp_server::ReactiveGraspActionServer::_result = ReactiveGraspResult() [static, private] |
Definition at line 95 of file reactive_grasp_server.py.
Definition at line 117 of file reactive_grasp_server.py.
Definition at line 116 of file reactive_grasp_server.py.
Definition at line 131 of file reactive_grasp_server.py.
Definition at line 156 of file reactive_grasp_server.py.
Definition at line 130 of file reactive_grasp_server.py.
Definition at line 118 of file reactive_grasp_server.py.
Definition at line 126 of file reactive_grasp_server.py.
Definition at line 124 of file reactive_grasp_server.py.
Definition at line 125 of file reactive_grasp_server.py.
Definition at line 129 of file reactive_grasp_server.py.
Definition at line 123 of file reactive_grasp_server.py.
Definition at line 121 of file reactive_grasp_server.py.
Definition at line 122 of file reactive_grasp_server.py.
Definition at line 135 of file reactive_grasp_server.py.
Definition at line 157 of file reactive_grasp_server.py.
Definition at line 167 of file reactive_grasp_server.py.
Definition at line 115 of file reactive_grasp_server.py.
Definition at line 132 of file reactive_grasp_server.py.
Definition at line 100 of file reactive_grasp_server.py.