Public Member Functions | Public Attributes
pr2_pick_and_place_demos.pick_and_place_demo.PickAndPlaceDemo Class Reference

class for running the pick and place demo, inherits from PickAndPlaceManager More...

Inheritance diagram for pr2_pick_and_place_demos.pick_and_place_demo.PickAndPlaceDemo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def call_tabletop_detection
 overridden temporarily to get rid of the single table object when there's nothing on the table
def check_preempted
 check if we want to preempt, and if so, stop and notify the user that we've done so
def count_objects
 filter/count how many objects in detected_objects are on whichside
def exit_autonomous_thread
 exit from within the autonomous thread, if running
def keyboard_extensions
 extensions to the keyboard interface specific to the demo
def move_objects_to_other_side
 move objects from one side of the table to the other
def pause_autonomous_thread
 pause the autonomous thread as soon as possible
def pick_sides
 choose the side of the table with more objects to be the side to pick them up from
def print_keyboard_extensions
 instructions for extensions to the keyboard interface specific to the demo
def reset_preempted
 reset the preempt notification
def run_demo
 demo to run continuously in the autonomous thread
def set_table_place_rectangle
 set the place rectangle to one side of the table
def start_autonomous_thread
 tell the autonomous thread to start running the demo continuously
def stop_autonomous_thread
 stop the autonomous thread by telling it to stop as soon as possible
def switch_sides
 switch pick-up and put-down sides
def throw_exception
 overridden to exit from the autonomous thread
def update_head_point_locs
 update where to point the head based on the table centers
def update_table_info
 extended to update the table side regions

Public Attributes

 arms_to_use
 autonomous_thread_running
 constrained
 detected_objects
 head_point_locs
 lock
 middle_line
 pick_up_side
 preempting
 put_down_side
 table_center_offsets
 table_centers
 table_side_dims
 thread

Detailed Description

class for running the pick and place demo, inherits from PickAndPlaceManager

Definition at line 47 of file pick_and_place_demo.py.


Constructor & Destructor Documentation

def pr2_pick_and_place_demos.pick_and_place_demo.PickAndPlaceDemo.__init__ (   self,
  use_slip_controller = 0,
  use_slip_detection = 0 
)

Member Function Documentation

def pr2_pick_and_place_demos.pick_and_place_demo.PickAndPlaceDemo.call_tabletop_detection (   self,
  update_table = 0,
  clear_attached_objects = 1,
  replace_table_in_collision_map = 1,
  update_place_rectangle = 0,
  num_models = 0 
)

overridden temporarily to get rid of the single table object when there's nothing on the table

Reimplemented from pr2_pick_and_place_demos.pick_and_place_manager.PickAndPlaceManager.

Definition at line 212 of file pick_and_place_demo.py.

check if we want to preempt, and if so, stop and notify the user that we've done so

Definition at line 311 of file pick_and_place_demo.py.

filter/count how many objects in detected_objects are on whichside

Definition at line 186 of file pick_and_place_demo.py.

exit from within the autonomous thread, if running

Definition at line 400 of file pick_and_place_demo.py.

extensions to the keyboard interface specific to the demo

Reimplemented from pr2_pick_and_place_demos.pick_and_place_manager.PickAndPlaceManager.

Definition at line 417 of file pick_and_place_demo.py.

move objects from one side of the table to the other

Definition at line 127 of file pick_and_place_demo.py.

pause the autonomous thread as soon as possible

Definition at line 381 of file pick_and_place_demo.py.

choose the side of the table with more objects to be the side to pick them up from

Definition at line 230 of file pick_and_place_demo.py.

instructions for extensions to the keyboard interface specific to the demo

Reimplemented from pr2_pick_and_place_demos.pick_and_place_manager.PickAndPlaceManager.

Definition at line 410 of file pick_and_place_demo.py.

reset the preempt notification

Definition at line 344 of file pick_and_place_demo.py.

demo to run continuously in the autonomous thread

Definition at line 284 of file pick_and_place_demo.py.

set the place rectangle to one side of the table

Definition at line 275 of file pick_and_place_demo.py.

tell the autonomous thread to start running the demo continuously

Definition at line 352 of file pick_and_place_demo.py.

stop the autonomous thread by telling it to stop as soon as possible

Definition at line 364 of file pick_and_place_demo.py.

switch pick-up and put-down sides

Definition at line 262 of file pick_and_place_demo.py.

overridden to exit from the autonomous thread

Reimplemented from pr2_pick_and_place_demos.pick_and_place_manager.PickAndPlaceManager.

Definition at line 122 of file pick_and_place_demo.py.

update where to point the head based on the table centers

Definition at line 94 of file pick_and_place_demo.py.

extended to update the table side regions

Reimplemented from pr2_pick_and_place_demos.pick_and_place_manager.PickAndPlaceManager.

Definition at line 106 of file pick_and_place_demo.py.


Member Data Documentation

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 94 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 50 of file pick_and_place_demo.py.

Definition at line 352 of file pick_and_place_demo.py.


The documentation for this class was generated from the following file:


pr2_pick_and_place_demos
Author(s): Matei Ciocarlie and Kaijen Hsiao
autogenerated on Fri Jan 3 2014 11:57:16