Public Member Functions | List of all members
routine_behaviours.marathon_routine.MarathonRoutine Class Reference
Inheritance diagram for routine_behaviours.marathon_routine.MarathonRoutine:
Inheritance graph
[legend]

Public Member Functions

def __init__
 
def create_3d_scan_routine
 
def create_rgbd_record_routine
 
def create_simple_follow_routine
 
def create_tweet_routine
 
def message_store_entries_to_replicate
 
def on_idle (self)
 
- Public Member Functions inherited from routine_behaviours.patrol_routine.PatrolRoutine
def __init__
 
def all_waypoints (self)
 
def all_waypoints_except
 
def create_patrol_routine
 
def create_routine (self)
 
def get_nodes (self)
 
def map_callback (self, msg)
 
def max_single_trip_time (self, waypoints)
 
def on_idle (self)
 
- Public Member Functions inherited from routine_behaviours.robot_routine.RobotRoutine
def __init__
 
def add_night_task (self, task)
 
def battery_ok (self)
 
def clear_then_charge (self, charge_duration)
 
def create_task_routine
 
def demand_charge (self, charge_duration)
 
def dynamic_reconfigure_cb (self, config, level)
 
def is_after_day_end (self, time)
 
def is_before_day_start (self, time)
 
def is_during_day (self, time)
 
def on_day_end (self)
 
def on_day_start (self)
 
def on_idle (self)
 
def start_routine (self)
 
def task_allowed_now (self, task)
 

Additional Inherited Members

- Public Attributes inherited from routine_behaviours.patrol_routine.PatrolRoutine
 node_names
 
 random_nodes
 
 tour_duration_estimate
 
- Public Attributes inherited from routine_behaviours.robot_routine.RobotRoutine
 add_tasks
 
 addition
 
 battery_count
 
 battery_count_thres
 
 battery_state
 
 charge_window
 
 charging_point
 
 clear_schedule
 
 daily_end
 
 daily_start
 
 demand_task
 
 force_charge_duration
 
 idle_charge_duration
 
 idle_count
 
 idle_thres
 
 maps_msg_store
 
 night_duration
 
 night_tasks
 
 recfg_sever
 
 routine
 
 runner
 
 sent_night_tasks
 
 sent_to_charge
 
 set_execution_status
 
 threshold
 

Detailed Description

Creates a routine that mixes specific tasks with patrolling nodes.

Definition at line 72 of file marathon_routine.py.

Constructor & Destructor Documentation

def routine_behaviours.marathon_routine.MarathonRoutine.__init__ (   self,
  daily_start,
  daily_end,
  tour_duration_estimate = None,
  idle_duration = rospy.Duration(5),
  charging_point = 'ChargingPoint' 
)

Definition at line 75 of file marathon_routine.py.

Member Function Documentation

def routine_behaviours.marathon_routine.MarathonRoutine.create_3d_scan_routine (   self,
  waypoints = None,
  daily_start = None,
  daily_end = None,
  repeat_delta = None 
)
    If waypoints now supplied, use all waypoints.

Definition at line 78 of file marathon_routine.py.

def routine_behaviours.marathon_routine.MarathonRoutine.create_rgbd_record_routine (   self,
  waypoints = None,
  duration = rospy.Duration(30),
  camera = 'head_xtion',
  with_depth = True,
  with_rgb = True,
  daily_start = None,
  daily_end = None,
  repeat_delta = None 
)

Definition at line 95 of file marathon_routine.py.

def routine_behaviours.marathon_routine.MarathonRoutine.create_simple_follow_routine (   self,
  waypoints = None,
  duration = rospy.Duration(300),
  daily_start = None,
  daily_end = None,
  repeat_delta = None 
)

Definition at line 89 of file marathon_routine.py.

def routine_behaviours.marathon_routine.MarathonRoutine.create_tweet_routine (   self,
  twitter_waypoints,
  img_topic = '/head_xtion/rgb/image_color',
  daily_start = None,
  daily_end = None,
  repeat_delta = None 
)
    [[waypoint, tweet][waypoint, tweet]]

Definition at line 102 of file marathon_routine.py.

def routine_behaviours.marathon_routine.MarathonRoutine.message_store_entries_to_replicate (   self,
  collections,
  db = 'message_store',
  delete_after_move = True 
)

Definition at line 109 of file marathon_routine.py.

def routine_behaviours.marathon_routine.MarathonRoutine.on_idle (   self)

Definition at line 115 of file marathon_routine.py.


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


routine_behaviours
Author(s): Nick Hawes
autogenerated on Tue Mar 17 2015 21:43:31