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_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 | |
pause_for_recording | |
place_overshoot | |
rg | |
rg_state | |
shake_object | |
side_step | |
use_slip_controller | |
use_slip_detection | |
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 | _grasp_result = ReactiveGraspResult() |
tuple | _lift_result = ReactiveLiftResult() |
tuple | _place_result = ReactivePlaceResult() |
Class for the reactive grasp actions and services.
Definition at line 120 of file reactive_grasp_server.py.
def reactive_grasp_server::ReactiveGraspActionServer::__init__ | ( | self, | ||
which_arm | ||||
) |
Definition at line 125 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 435 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 449 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 251 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 301 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 206 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 346 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 404 of file reactive_grasp_server.py.
Definition at line 130 of file reactive_grasp_server.py.
Definition at line 132 of file reactive_grasp_server.py.
Definition at line 182 of file reactive_grasp_server.py.
Definition at line 178 of file reactive_grasp_server.py.
tuple reactive_grasp_server::ReactiveGraspActionServer::_grasp_result = ReactiveGraspResult() [static, private] |
Definition at line 121 of file reactive_grasp_server.py.
Definition at line 131 of file reactive_grasp_server.py.
Definition at line 180 of file reactive_grasp_server.py.
tuple reactive_grasp_server::ReactiveGraspActionServer::_lift_result = ReactiveLiftResult() [static, private] |
Definition at line 122 of file reactive_grasp_server.py.
Definition at line 128 of file reactive_grasp_server.py.
Definition at line 133 of file reactive_grasp_server.py.
Definition at line 184 of file reactive_grasp_server.py.
tuple reactive_grasp_server::ReactiveGraspActionServer::_place_result = ReactivePlaceResult() [static, private] |
Definition at line 123 of file reactive_grasp_server.py.
Definition at line 143 of file reactive_grasp_server.py.
Definition at line 142 of file reactive_grasp_server.py.
Definition at line 157 of file reactive_grasp_server.py.
Definition at line 194 of file reactive_grasp_server.py.
Definition at line 156 of file reactive_grasp_server.py.
Definition at line 144 of file reactive_grasp_server.py.
Definition at line 152 of file reactive_grasp_server.py.
Definition at line 150 of file reactive_grasp_server.py.
Definition at line 151 of file reactive_grasp_server.py.
Definition at line 155 of file reactive_grasp_server.py.
Definition at line 149 of file reactive_grasp_server.py.
Definition at line 147 of file reactive_grasp_server.py.
Definition at line 148 of file reactive_grasp_server.py.
Definition at line 172 of file reactive_grasp_server.py.
Definition at line 162 of file reactive_grasp_server.py.
Definition at line 197 of file reactive_grasp_server.py.
Definition at line 210 of file reactive_grasp_server.py.
Definition at line 166 of file reactive_grasp_server.py.
Definition at line 141 of file reactive_grasp_server.py.
Definition at line 158 of file reactive_grasp_server.py.
Definition at line 159 of file reactive_grasp_server.py.
Definition at line 126 of file reactive_grasp_server.py.