Functions | Variables
single_robot_simple Namespace Reference

Functions

def msgRobotState_cb (msg)
 
def shutdown ()
 
def thread_subscriber ()
 

Variables

 __dsr__id
 
 __dsr__model
 
 acc
 
list accx = [100, 100]
 
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
 
 p1 = posj(0,0,0,0,0,0)
 
 p2 = posj(0.0, 0.0, 90.0, 0.0, 90.0, 0.0)
 
 pub_stop = rospy.Publisher('/'+ROBOT_ID +ROBOT_MODEL+'/stop', RobotStop, 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]
 
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)
 
 set_robot_mode = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/system/set_robot_mode', SetRobotMode)
 
 t1 = threading.Thread(target=thread_subscriber)
 
 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 single_robot_simple.msgRobotState_cb (   msg)

Definition at line 30 of file single_robot_simple.py.

def single_robot_simple.shutdown ( )

Definition at line 22 of file single_robot_simple.py.

def single_robot_simple.thread_subscriber ( )

Definition at line 100 of file single_robot_simple.py.

Variable Documentation

single_robot_simple.__dsr__id
private

Definition at line 18 of file single_robot_simple.py.

single_robot_simple.__dsr__model
private

Definition at line 19 of file single_robot_simple.py.

single_robot_simple.acc

Definition at line 169 of file single_robot_simple.py.

list single_robot_simple.accx = [100, 100]

Definition at line 121 of file single_robot_simple.py.

list single_robot_simple.b_list1 = [seg11, seg12, seg14, seg15, seg16]

Definition at line 166 of file single_robot_simple.py.

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

Definition at line 129 of file single_robot_simple.py.

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

Definition at line 130 of file single_robot_simple.py.

single_robot_simple.daemon

Definition at line 110 of file single_robot_simple.py.

single_robot_simple.dont_write_bytecode

Definition at line 11 of file single_robot_simple.py.

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

Definition at line 123 of file single_robot_simple.py.

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

Definition at line 124 of file single_robot_simple.py.

single_robot_simple.pub_stop = rospy.Publisher('/'+ROBOT_ID +ROBOT_MODEL+'/stop', RobotStop, queue_size=10)

Definition at line 113 of file single_robot_simple.py.

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

Definition at line 133 of file single_robot_simple.py.

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

Definition at line 134 of file single_robot_simple.py.

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

Definition at line 135 of file single_robot_simple.py.

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

Definition at line 136 of file single_robot_simple.py.

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

Definition at line 137 of file single_robot_simple.py.

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

Definition at line 138 of file single_robot_simple.py.

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

Definition at line 139 of file single_robot_simple.py.

string single_robot_simple.ROBOT_ID = "dsr01"

Definition at line 15 of file single_robot_simple.py.

string single_robot_simple.ROBOT_MODEL = "m1013"

Definition at line 16 of file single_robot_simple.py.

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

Definition at line 161 of file single_robot_simple.py.

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

Definition at line 162 of file single_robot_simple.py.

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

Definition at line 163 of file single_robot_simple.py.

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

Definition at line 164 of file single_robot_simple.py.

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

Definition at line 165 of file single_robot_simple.py.

single_robot_simple.set_robot_mode = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/system/set_robot_mode', SetRobotMode)

Definition at line 108 of file single_robot_simple.py.

single_robot_simple.t1 = threading.Thread(target=thread_subscriber)

Definition at line 109 of file single_robot_simple.py.

single_robot_simple.vel

Definition at line 169 of file single_robot_simple.py.

list single_robot_simple.velx = [50, 50]

Definition at line 120 of file single_robot_simple.py.

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

Definition at line 126 of file single_robot_simple.py.

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

Definition at line 150 of file single_robot_simple.py.

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

Definition at line 151 of file single_robot_simple.py.

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

Definition at line 152 of file single_robot_simple.py.

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

Definition at line 153 of file single_robot_simple.py.

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

Definition at line 154 of file single_robot_simple.py.

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

Definition at line 155 of file single_robot_simple.py.

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

Definition at line 156 of file single_robot_simple.py.

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

Definition at line 157 of file single_robot_simple.py.

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

Definition at line 158 of file single_robot_simple.py.

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

Definition at line 127 of file single_robot_simple.py.

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

Definition at line 143 of file single_robot_simple.py.

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

Definition at line 144 of file single_robot_simple.py.

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

Definition at line 145 of file single_robot_simple.py.

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

Definition at line 146 of file single_robot_simple.py.

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

Definition at line 147 of file single_robot_simple.py.



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