robot_patrol_area_2.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 __author__ = 'Minglong Li'
00004 
00005 from robot_patrol import RobotPatrol
00006 
00007 class RobotPatrolArea2(RobotPatrol):
00008     def __init__(self, topic = None, node_name = None):
00009         self.pose_0 = [7.36, 6.0, 0.0, 1.0]
00010         self.pose_1 = [9.20, 6.05, 0.706, 0.709]
00011         self.pose_2 = [9.20, 8.81, 1.0, 0.0]
00012         self.pose_3 = [7.36, 8.88, -0.707, 0.707]
00013         if node_name is None:
00014             node_name = 'robot_patrol_area_2'
00015         if topic is None:
00016             topic = 'robot_2/move_base' 
00017         self._node_name = node_name 
00018         self._topic = topic
00019         RobotPatrol.__init__(self, node_name = self._node_name, pose_0 = self.pose_0, pose_1 = self.pose_1, pose_2 = self.pose_2, pose_3 = self.pose_3, topic = self._topic, wait_time = 6.0)
00020 
00021     def run(self):
00022         RobotPatrol.start_patrol(self)


micros_mars_task_alloc
Author(s): Minglong Li , Xiaodong Yi , Yanzhen Wang , Zhongxuan Cai
autogenerated on Mon Jul 1 2019 19:55:03