Example #1
0
 def at_site(self):
   '''
   True if the robot is in the area designated as the construction site 
   (on the ground)
   '''
   return helpers.within(construction.construction_location, 
     construction.construction_size, self.location)
Example #2
0
 def __feasable_point(self,p):
   '''
   Checks whether or not a point lies within the defined limits of the 
   structure
   '''
   return helpers.within(self.origin,self.size,p)
Example #3
0
 def at_home(self):
   '''
   True if the robot is in the area designated as home (on the ground)
   '''
   return helpers.within(construction.home, construction.home_size,
     self.location)