mbtest.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 __author__ = 'Minglong Li'
00004 
00005 #import sys
00006 #sys.path.append("~/catkin_ws/src/multi_robot_patrol/scripts/basic_support")
00007 
00008 from robot_patrol_area_0 import RobotPatrolArea0
00009 from robot_patrol_area_1 import RobotPatrolArea1
00010 from robot_patrol_area_2 import RobotPatrolArea2
00011 from motivational_behavior import MotivationalBehavior
00012 from switch import Switch
00013 from std_msgs.msg import Bool
00014 
00015 #ob1 = RobotPatrolArea0()
00016 #ob2 = RobotPatrolArea1()
00017 #ob3 = RobotPatrolArea2()
00018 #ob1.start()
00019 #ob2.start()
00020 #ob3.start()
00021 ob4 = MotivationalBehavior('mb1',0,1,'switch0/activate')#nodename,robotid,behaviorid
00022 ob4.start()
00023 #ob5 = Switch('switch0','topic01',Bool,'topic01s')#nodename,subtopic,type,pubtopic
00024 #ob5.start()


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