Functions | Variables
multi_robot_mobile Namespace Reference

Functions

def _ros_listToFloat64MultiArray (list_src)
 
def SET_ROBOT1 (id, model)
 
def SET_ROBOT2 (id, model)
 
def shutdown ()
 
def thread_mobile1 ()
 
def thread_mobile2 ()
 

Variables

 acc
 
list accx = [100, 100]
 
 amp
 
 atime
 
 axis
 
list b_list1 = [seg11, seg12, seg14, seg15, seg16]
 
 c1 = posx(559,434.5,651.5,0,180,0)
 
 c2 = posx(559,434.5,251.5,0,180,0)
 
 daemon
 
 dont_write_bytecode
 
 DR_AXIS_Z
 
 DR_BASE
 
 lmax
 
 mod
 
 mThread1 = threading.Thread(target = thread_mobile1)
 
 mThread2 = threading.Thread(target = thread_mobile2)
 
string my_robot_id1 = "dsr01"
 
string my_robot_id2 = "dsr02"
 
string my_robot_model1 = "m1013"
 
string my_robot_model2 = "m1013"
 
int NUM_ROBOT = 2
 
 p1 = posj(0,0,0,0,0,0)
 
 p2 = posj(0.0, 0.0, 90.0, 0.0, 90.0, 0.0)
 
 period
 
 pub_stop1 = rospy.Publisher('/' + ROBOT_ID1 + ROBOT_MODEL1 + '/stop', RobotStop, queue_size=10)
 
 pub_stop2 = rospy.Publisher('/' + ROBOT_ID2 + ROBOT_MODEL2 + '/stop', RobotStop, queue_size=10)
 
 pubMobile1 = rospy.Publisher('/' + ROBOT_ID1 + '/twist_marker_server/cmd_vel', Twist, queue_size=10)
 
 pubMobile2 = rospy.Publisher('/' + ROBOT_ID2 + '/twist_marker_server/cmd_vel', Twist, queue_size=10)
 
 q0 = posj(0,0,0,0,0,0)
 
 q1 = posj(10, -10, 20, -30, 10, 20)
 
 q2 = posj(25, 0, 10, -50, 20, 40)
 
 q3 = posj(50, 50, 50, 50, 50, 50)
 
 q4 = posj(30, 10, 30, -20, 10, 60)
 
 q5 = posj(20, 20, 40, 20, 0, 90)
 
list qlist = [q0, q1, q2, q3, q4, q5]
 
 r1 = CDsrRobot(my_robot_id1, my_robot_model1)
 
 r2 = CDsrRobot(my_robot_id2, my_robot_model2)
 
int RAND_MAX = 2147483647
 
 ref
 
 repeat
 
 rev
 
 rmax
 
string ROBOT_ID1 = "dsr01"
 
string ROBOT_ID2 = "dsr02"
 
string ROBOT_MODEL1 = "m1013"
 
string ROBOT_MODEL2 = "m1013"
 
 seg11 = posb(DR_LINE, X1, radius=20)
 
 seg12 = posb(DR_CIRCLE, X1a, X1a2, radius=21)
 
 seg14 = posb(DR_LINE, X1b2, radius=20)
 
 seg15 = posb(DR_CIRCLE, X1c, X1c2, radius=22)
 
 seg16 = posb(DR_CIRCLE, X1d, X1d2, radius=23)
 
 time
 
 vel
 
list velx = [50, 50]
 
 x1 = posx(400, 500, 800.0, 0.0, 180.0, 0.0)
 
 X1 = posx(370, 670, 650, 0, 180, 0)
 
 X1a = posx(370, 670, 400, 0, 180, 0)
 
 X1a2 = posx(370, 545, 400, 0, 180, 0)
 
 X1b = posx(370, 595, 400, 0, 180, 0)
 
 X1b2 = posx(370, 670, 400, 0, 180, 0)
 
 X1c = posx(370, 420, 150, 0, 180, 0)
 
 X1c2 = posx(370, 545, 150, 0, 180, 0)
 
 X1d = posx(370, 670, 275, 0, 180, 0)
 
 X1d2 = posx(370, 795, 150, 0, 180, 0)
 
 x2 = posx(400, 500, 500.0, 0.0, 180.0, 0.0)
 
 x3 = posx(150, 600, 450, 0, 175, 0)
 
 x4 = posx(-300, 300, 300, 0, 175, 0)
 
 x5 = posx(-200, 700, 500, 0, 175, 0)
 
 x6 = posx(600, 600, 400, 0, 175, 0)
 
list xlist = [x1, x2, x3, x4, x5, x6]
 

Function Documentation

def multi_robot_mobile._ros_listToFloat64MultiArray (   list_src)
private

Definition at line 63 of file multi_robot_mobile.py.

def multi_robot_mobile.SET_ROBOT1 (   id,
  model 
)

Definition at line 46 of file multi_robot_mobile.py.

def multi_robot_mobile.SET_ROBOT2 (   id,
  model 
)

Definition at line 50 of file multi_robot_mobile.py.

def multi_robot_mobile.shutdown ( )

Definition at line 53 of file multi_robot_mobile.py.

def multi_robot_mobile.thread_mobile1 ( )

Definition at line 32 of file multi_robot_mobile.py.

def multi_robot_mobile.thread_mobile2 ( )

Definition at line 39 of file multi_robot_mobile.py.

Variable Documentation

multi_robot_mobile.acc

Definition at line 157 of file multi_robot_mobile.py.

list multi_robot_mobile.accx = [100, 100]

Definition at line 107 of file multi_robot_mobile.py.

multi_robot_mobile.amp

Definition at line 178 of file multi_robot_mobile.py.

multi_robot_mobile.atime

Definition at line 178 of file multi_robot_mobile.py.

multi_robot_mobile.axis

Definition at line 175 of file multi_robot_mobile.py.

multi_robot_mobile.b_list1 = [seg11, seg12, seg14, seg15, seg16]

Definition at line 152 of file multi_robot_mobile.py.

multi_robot_mobile.c1 = posx(559,434.5,651.5,0,180,0)

Definition at line 115 of file multi_robot_mobile.py.

multi_robot_mobile.c2 = posx(559,434.5,251.5,0,180,0)

Definition at line 116 of file multi_robot_mobile.py.

multi_robot_mobile.daemon

Definition at line 94 of file multi_robot_mobile.py.

multi_robot_mobile.dont_write_bytecode

Definition at line 14 of file multi_robot_mobile.py.

multi_robot_mobile.DR_AXIS_Z

Definition at line 175 of file multi_robot_mobile.py.

multi_robot_mobile.DR_BASE

Definition at line 181 of file multi_robot_mobile.py.

multi_robot_mobile.lmax

Definition at line 175 of file multi_robot_mobile.py.

multi_robot_mobile.mod

Definition at line 181 of file multi_robot_mobile.py.

multi_robot_mobile.mThread1 = threading.Thread(target = thread_mobile1)

Definition at line 93 of file multi_robot_mobile.py.

multi_robot_mobile.mThread2 = threading.Thread(target = thread_mobile2)

Definition at line 97 of file multi_robot_mobile.py.

string multi_robot_mobile.my_robot_id1 = "dsr01"

Definition at line 75 of file multi_robot_mobile.py.

string multi_robot_mobile.my_robot_id2 = "dsr02"

Definition at line 76 of file multi_robot_mobile.py.

string multi_robot_mobile.my_robot_model1 = "m1013"

Definition at line 77 of file multi_robot_mobile.py.

string multi_robot_mobile.my_robot_model2 = "m1013"

Definition at line 78 of file multi_robot_mobile.py.

int multi_robot_mobile.NUM_ROBOT = 2

Definition at line 30 of file multi_robot_mobile.py.

multi_robot_mobile.p1 = posj(0,0,0,0,0,0)

Definition at line 109 of file multi_robot_mobile.py.

multi_robot_mobile.p2 = posj(0.0, 0.0, 90.0, 0.0, 90.0, 0.0)

Definition at line 110 of file multi_robot_mobile.py.

multi_robot_mobile.period

Definition at line 178 of file multi_robot_mobile.py.

multi_robot_mobile.pub_stop1 = rospy.Publisher('/' + ROBOT_ID1 + ROBOT_MODEL1 + '/stop', RobotStop, queue_size=10)

Definition at line 85 of file multi_robot_mobile.py.

multi_robot_mobile.pub_stop2 = rospy.Publisher('/' + ROBOT_ID2 + ROBOT_MODEL2 + '/stop', RobotStop, queue_size=10)

Definition at line 86 of file multi_robot_mobile.py.

multi_robot_mobile.pubMobile1 = rospy.Publisher('/' + ROBOT_ID1 + '/twist_marker_server/cmd_vel', Twist, queue_size=10)

Definition at line 87 of file multi_robot_mobile.py.

multi_robot_mobile.pubMobile2 = rospy.Publisher('/' + ROBOT_ID2 + '/twist_marker_server/cmd_vel', Twist, queue_size=10)

Definition at line 88 of file multi_robot_mobile.py.

multi_robot_mobile.q0 = posj(0,0,0,0,0,0)

Definition at line 119 of file multi_robot_mobile.py.

multi_robot_mobile.q1 = posj(10, -10, 20, -30, 10, 20)

Definition at line 120 of file multi_robot_mobile.py.

multi_robot_mobile.q2 = posj(25, 0, 10, -50, 20, 40)

Definition at line 121 of file multi_robot_mobile.py.

multi_robot_mobile.q3 = posj(50, 50, 50, 50, 50, 50)

Definition at line 122 of file multi_robot_mobile.py.

multi_robot_mobile.q4 = posj(30, 10, 30, -20, 10, 60)

Definition at line 123 of file multi_robot_mobile.py.

multi_robot_mobile.q5 = posj(20, 20, 40, 20, 0, 90)

Definition at line 124 of file multi_robot_mobile.py.

multi_robot_mobile.qlist = [q0, q1, q2, q3, q4, q5]

Definition at line 125 of file multi_robot_mobile.py.

multi_robot_mobile.r1 = CDsrRobot(my_robot_id1, my_robot_model1)

Definition at line 90 of file multi_robot_mobile.py.

multi_robot_mobile.r2 = CDsrRobot(my_robot_id2, my_robot_model2)

Definition at line 91 of file multi_robot_mobile.py.

int multi_robot_mobile.RAND_MAX = 2147483647

Definition at line 23 of file multi_robot_mobile.py.

multi_robot_mobile.ref

Definition at line 175 of file multi_robot_mobile.py.

multi_robot_mobile.repeat

Definition at line 178 of file multi_robot_mobile.py.

multi_robot_mobile.rev

Definition at line 175 of file multi_robot_mobile.py.

multi_robot_mobile.rmax

Definition at line 175 of file multi_robot_mobile.py.

string multi_robot_mobile.ROBOT_ID1 = "dsr01"

Definition at line 18 of file multi_robot_mobile.py.

string multi_robot_mobile.ROBOT_ID2 = "dsr02"

Definition at line 19 of file multi_robot_mobile.py.

string multi_robot_mobile.ROBOT_MODEL1 = "m1013"

Definition at line 20 of file multi_robot_mobile.py.

string multi_robot_mobile.ROBOT_MODEL2 = "m1013"

Definition at line 21 of file multi_robot_mobile.py.

multi_robot_mobile.seg11 = posb(DR_LINE, X1, radius=20)

Definition at line 147 of file multi_robot_mobile.py.

multi_robot_mobile.seg12 = posb(DR_CIRCLE, X1a, X1a2, radius=21)

Definition at line 148 of file multi_robot_mobile.py.

multi_robot_mobile.seg14 = posb(DR_LINE, X1b2, radius=20)

Definition at line 149 of file multi_robot_mobile.py.

multi_robot_mobile.seg15 = posb(DR_CIRCLE, X1c, X1c2, radius=22)

Definition at line 150 of file multi_robot_mobile.py.

multi_robot_mobile.seg16 = posb(DR_CIRCLE, X1d, X1d2, radius=23)

Definition at line 151 of file multi_robot_mobile.py.

multi_robot_mobile.time

Definition at line 175 of file multi_robot_mobile.py.

multi_robot_mobile.vel

Definition at line 157 of file multi_robot_mobile.py.

list multi_robot_mobile.velx = [50, 50]

Definition at line 106 of file multi_robot_mobile.py.

multi_robot_mobile.x1 = posx(400, 500, 800.0, 0.0, 180.0, 0.0)

Definition at line 112 of file multi_robot_mobile.py.

multi_robot_mobile.X1 = posx(370, 670, 650, 0, 180, 0)

Definition at line 136 of file multi_robot_mobile.py.

multi_robot_mobile.X1a = posx(370, 670, 400, 0, 180, 0)

Definition at line 137 of file multi_robot_mobile.py.

multi_robot_mobile.X1a2 = posx(370, 545, 400, 0, 180, 0)

Definition at line 138 of file multi_robot_mobile.py.

multi_robot_mobile.X1b = posx(370, 595, 400, 0, 180, 0)

Definition at line 139 of file multi_robot_mobile.py.

multi_robot_mobile.X1b2 = posx(370, 670, 400, 0, 180, 0)

Definition at line 140 of file multi_robot_mobile.py.

multi_robot_mobile.X1c = posx(370, 420, 150, 0, 180, 0)

Definition at line 141 of file multi_robot_mobile.py.

multi_robot_mobile.X1c2 = posx(370, 545, 150, 0, 180, 0)

Definition at line 142 of file multi_robot_mobile.py.

multi_robot_mobile.X1d = posx(370, 670, 275, 0, 180, 0)

Definition at line 143 of file multi_robot_mobile.py.

multi_robot_mobile.X1d2 = posx(370, 795, 150, 0, 180, 0)

Definition at line 144 of file multi_robot_mobile.py.

multi_robot_mobile.x2 = posx(400, 500, 500.0, 0.0, 180.0, 0.0)

Definition at line 113 of file multi_robot_mobile.py.

multi_robot_mobile.x3 = posx(150, 600, 450, 0, 175, 0)

Definition at line 129 of file multi_robot_mobile.py.

multi_robot_mobile.x4 = posx(-300, 300, 300, 0, 175, 0)

Definition at line 130 of file multi_robot_mobile.py.

multi_robot_mobile.x5 = posx(-200, 700, 500, 0, 175, 0)

Definition at line 131 of file multi_robot_mobile.py.

multi_robot_mobile.x6 = posx(600, 600, 400, 0, 175, 0)

Definition at line 132 of file multi_robot_mobile.py.

multi_robot_mobile.xlist = [x1, x2, x3, x4, x5, x6]

Definition at line 133 of file multi_robot_mobile.py.



py
Author(s):
autogenerated on Sat May 18 2019 02:32:56