Functions | |
def | _ros_listToFloat64MultiArray (list_src) |
def | SET_ROBOT (id, model) |
def | shutdown () |
def | thread_mobile () |
Variables | |
__dsr__id | |
__dsr__model | |
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 | |
mThread = threading.Thread(target = thread_mobile) | |
string | my_robot_id = "dsr01" |
string | my_robot_model = "m1013" |
p1 = posj(0,0,0,0,0,0) | |
p2 = posj(0.0, 0.0, 90.0, 0.0, 90.0, 0.0) | |
period | |
pub_stop = rospy.Publisher('/'+ROBOT_ID +ROBOT_MODEL+'/stop', RobotStop, queue_size=10) | |
pubMobile = rospy.Publisher('/'+ROBOT_ID + '/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] |
int | RAND_MAX = 2147483647 |
ref | |
repeat | |
rev | |
rmax | |
string | ROBOT_ID = "dsr01" |
string | ROBOT_MODEL = "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] |
|
private |
Definition at line 48 of file single_robot_mobile.py.
def single_robot_mobile.SET_ROBOT | ( | id, | |
model | |||
) |
Definition at line 36 of file single_robot_mobile.py.
def single_robot_mobile.shutdown | ( | ) |
Definition at line 39 of file single_robot_mobile.py.
def single_robot_mobile.thread_mobile | ( | ) |
Definition at line 29 of file single_robot_mobile.py.
|
private |
Definition at line 24 of file single_robot_mobile.py.
|
private |
Definition at line 25 of file single_robot_mobile.py.
single_robot_mobile.acc |
Definition at line 128 of file single_robot_mobile.py.
list single_robot_mobile.accx = [100, 100] |
Definition at line 78 of file single_robot_mobile.py.
single_robot_mobile.amp |
Definition at line 135 of file single_robot_mobile.py.
single_robot_mobile.atime |
Definition at line 135 of file single_robot_mobile.py.
single_robot_mobile.axis |
Definition at line 134 of file single_robot_mobile.py.
Definition at line 123 of file single_robot_mobile.py.
single_robot_mobile.c1 = posx(559,434.5,651.5,0,180,0) |
Definition at line 86 of file single_robot_mobile.py.
single_robot_mobile.c2 = posx(559,434.5,251.5,0,180,0) |
Definition at line 87 of file single_robot_mobile.py.
single_robot_mobile.daemon |
Definition at line 71 of file single_robot_mobile.py.
single_robot_mobile.dont_write_bytecode |
Definition at line 14 of file single_robot_mobile.py.
single_robot_mobile.DR_AXIS_Z |
Definition at line 134 of file single_robot_mobile.py.
single_robot_mobile.DR_BASE |
Definition at line 136 of file single_robot_mobile.py.
single_robot_mobile.lmax |
Definition at line 134 of file single_robot_mobile.py.
single_robot_mobile.mod |
Definition at line 136 of file single_robot_mobile.py.
single_robot_mobile.mThread = threading.Thread(target = thread_mobile) |
Definition at line 70 of file single_robot_mobile.py.
string single_robot_mobile.my_robot_id = "dsr01" |
Definition at line 60 of file single_robot_mobile.py.
string single_robot_mobile.my_robot_model = "m1013" |
Definition at line 61 of file single_robot_mobile.py.
single_robot_mobile.p1 = posj(0,0,0,0,0,0) |
Definition at line 80 of file single_robot_mobile.py.
single_robot_mobile.p2 = posj(0.0, 0.0, 90.0, 0.0, 90.0, 0.0) |
Definition at line 81 of file single_robot_mobile.py.
single_robot_mobile.period |
Definition at line 135 of file single_robot_mobile.py.
single_robot_mobile.pub_stop = rospy.Publisher('/'+ROBOT_ID +ROBOT_MODEL+'/stop', RobotStop, queue_size=10) |
Definition at line 67 of file single_robot_mobile.py.
single_robot_mobile.pubMobile = rospy.Publisher('/'+ROBOT_ID + '/twist_marker_server/cmd_vel', Twist, queue_size=10) |
Definition at line 68 of file single_robot_mobile.py.
single_robot_mobile.q0 = posj(0,0,0,0,0,0) |
Definition at line 90 of file single_robot_mobile.py.
single_robot_mobile.q1 = posj(10, -10, 20, -30, 10, 20) |
Definition at line 91 of file single_robot_mobile.py.
single_robot_mobile.q2 = posj(25, 0, 10, -50, 20, 40) |
Definition at line 92 of file single_robot_mobile.py.
single_robot_mobile.q3 = posj(50, 50, 50, 50, 50, 50) |
Definition at line 93 of file single_robot_mobile.py.
single_robot_mobile.q4 = posj(30, 10, 30, -20, 10, 60) |
Definition at line 94 of file single_robot_mobile.py.
single_robot_mobile.q5 = posj(20, 20, 40, 20, 0, 90) |
Definition at line 95 of file single_robot_mobile.py.
Definition at line 96 of file single_robot_mobile.py.
int single_robot_mobile.RAND_MAX = 2147483647 |
Definition at line 21 of file single_robot_mobile.py.
single_robot_mobile.ref |
Definition at line 134 of file single_robot_mobile.py.
single_robot_mobile.repeat |
Definition at line 135 of file single_robot_mobile.py.
single_robot_mobile.rev |
Definition at line 134 of file single_robot_mobile.py.
single_robot_mobile.rmax |
Definition at line 134 of file single_robot_mobile.py.
string single_robot_mobile.ROBOT_ID = "dsr01" |
Definition at line 18 of file single_robot_mobile.py.
string single_robot_mobile.ROBOT_MODEL = "m1013" |
Definition at line 19 of file single_robot_mobile.py.
single_robot_mobile.seg11 = posb(DR_LINE, X1, radius=20) |
Definition at line 118 of file single_robot_mobile.py.
Definition at line 119 of file single_robot_mobile.py.
single_robot_mobile.seg14 = posb(DR_LINE, X1b2, radius=20) |
Definition at line 120 of file single_robot_mobile.py.
Definition at line 121 of file single_robot_mobile.py.
Definition at line 122 of file single_robot_mobile.py.
single_robot_mobile.time |
Definition at line 134 of file single_robot_mobile.py.
single_robot_mobile.vel |
Definition at line 128 of file single_robot_mobile.py.
list single_robot_mobile.velx = [50, 50] |
Definition at line 77 of file single_robot_mobile.py.
single_robot_mobile.x1 = posx(400, 500, 800.0, 0.0, 180.0, 0.0) |
Definition at line 83 of file single_robot_mobile.py.
single_robot_mobile.X1 = posx(370, 670, 650, 0, 180, 0) |
Definition at line 107 of file single_robot_mobile.py.
single_robot_mobile.X1a = posx(370, 670, 400, 0, 180, 0) |
Definition at line 108 of file single_robot_mobile.py.
single_robot_mobile.X1a2 = posx(370, 545, 400, 0, 180, 0) |
Definition at line 109 of file single_robot_mobile.py.
single_robot_mobile.X1b = posx(370, 595, 400, 0, 180, 0) |
Definition at line 110 of file single_robot_mobile.py.
single_robot_mobile.X1b2 = posx(370, 670, 400, 0, 180, 0) |
Definition at line 111 of file single_robot_mobile.py.
single_robot_mobile.X1c = posx(370, 420, 150, 0, 180, 0) |
Definition at line 112 of file single_robot_mobile.py.
single_robot_mobile.X1c2 = posx(370, 545, 150, 0, 180, 0) |
Definition at line 113 of file single_robot_mobile.py.
single_robot_mobile.X1d = posx(370, 670, 275, 0, 180, 0) |
Definition at line 114 of file single_robot_mobile.py.
single_robot_mobile.X1d2 = posx(370, 795, 150, 0, 180, 0) |
Definition at line 115 of file single_robot_mobile.py.
single_robot_mobile.x2 = posx(400, 500, 500.0, 0.0, 180.0, 0.0) |
Definition at line 84 of file single_robot_mobile.py.
single_robot_mobile.x3 = posx(150, 600, 450, 0, 175, 0) |
Definition at line 100 of file single_robot_mobile.py.
single_robot_mobile.x4 = posx(-300, 300, 300, 0, 175, 0) |
Definition at line 101 of file single_robot_mobile.py.
single_robot_mobile.x5 = posx(-200, 700, 500, 0, 175, 0) |
Definition at line 102 of file single_robot_mobile.py.
single_robot_mobile.x6 = posx(600, 600, 400, 0, 175, 0) |
Definition at line 103 of file single_robot_mobile.py.