Public Member Functions | Public Attributes | Static Private Attributes
turtle_pond.TurtlePond Class Reference

Classes. More...

List of all members.

Public Member Functions

def __init__
def cancel_all_requests
def request_turtle
def requester_feedback
def setup_requester

Public Attributes

 allocated_requests
 pending_requests
 requester
 Discovery.

Static Private Attributes

list __slots__

Detailed Description

Classes.

  Requets handling for getting its mittens on some turtle_stroll'ing
  turtles.

Definition at line 32 of file turtle_pond.py.


Constructor & Destructor Documentation

Definition at line 47 of file turtle_pond.py.


Member Function Documentation

  Exactly as it says! Used typically when shutting down or when
  it's lost more allocated resources than the minimum required (in which case it
  cancels everything and starts reissuing new requests).

Definition at line 122 of file turtle_pond.py.

def turtle_pond.TurtlePond.request_turtle (   self,
  x_vel = 0.1,
  z_vel = 0.1,
  scale = 1.0 
)
 Request a turtle.

Definition at line 79 of file turtle_pond.py.

def turtle_pond.TurtlePond.requester_feedback (   self,
  request_set 
)
  Keep an eye on our pending requests and see if they get allocated here.
  Once they do, kick them out of the pending requests list so _ros_capture_teleop_callback
  can process and reply to the interaction.

  @param request_set : the modified requests
  @type dic { uuid.UUID : scheduler_msgs.ResourceRequest }

Definition at line 95 of file turtle_pond.py.

def turtle_pond.TurtlePond.setup_requester (   self,
  uuid 
)

Definition at line 69 of file turtle_pond.py.


Member Data Documentation

list turtle_pond.TurtlePond::__slots__ [static, private]
Initial value:
[
        'service_name',
        'service_description',
        'service_priority',
        'service_id',
        'requester',
        'pending_requests',   # [uuid.UUID] list of request id's pending feedback from the scheduler
        'allocated_requests'  # [uuid.UUID] moved here from pending requests once granted
    ]

Definition at line 37 of file turtle_pond.py.

Definition at line 53 of file turtle_pond.py.

Definition at line 53 of file turtle_pond.py.

Discovery.

Setup

Definition at line 53 of file turtle_pond.py.


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


turtle_concert
Author(s): Daniel Stonier , Jihoon Lee
autogenerated on Fri Feb 12 2016 02:51:42