Public Member Functions | |
def | __init__ (self) |
def | commandCb (self, msg) |
def | getCommand (self, width) |
def | getWidth (self, command) |
def | stateCb (self, msg) |
Public Attributes | |
br | |
calib | |
center | |
commandPub | |
invert | |
max | |
min | |
width | |
A simple controller that operates a single servo parallel jaw gripper.
Definition at line 37 of file parallel_single_servo_controller.py.
def parallel_single_servo_controller.ParallelGripperController.__init__ | ( | self | ) |
Definition at line 39 of file parallel_single_servo_controller.py.
def parallel_single_servo_controller.ParallelGripperController.commandCb | ( | self, | |
msg | |||
) |
Take an input command of width to open gripper.
Definition at line 111 of file parallel_single_servo_controller.py.
def parallel_single_servo_controller.ParallelGripperController.getCommand | ( | self, | |
width | |||
) |
Get servo command for an opening width.
Definition at line 78 of file parallel_single_servo_controller.py.
def parallel_single_servo_controller.ParallelGripperController.getWidth | ( | self, | |
command | |||
) |
Get opening width for a particular servo command.
Definition at line 93 of file parallel_single_servo_controller.py.
def parallel_single_servo_controller.ParallelGripperController.stateCb | ( | self, | |
msg | |||
) |
The callback that listens for joint_states.
Definition at line 120 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.br |
Definition at line 54 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.calib |
Definition at line 43 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.center |
Definition at line 49 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.commandPub |
Definition at line 53 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.invert |
Definition at line 50 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.max |
Definition at line 48 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.min |
Definition at line 47 of file parallel_single_servo_controller.py.
parallel_single_servo_controller.ParallelGripperController.width |
Definition at line 57 of file parallel_single_servo_controller.py.