Functions | Variables
single_robot_basic Namespace Reference

Functions

def _ros_listToFloat64MultiArray (list_src)
 
def SET_ROBOT (id, model)
 
def shutdown ()
 

Variables

 acc
 
list accx = [100, 100]
 
list amp = [10,0,0,0,30,0]
 
float angle1 = 0.0
 
 angle2
 
float atime = 0.2
 
 blendType
 
list bx11 = [21.0]
 
list bx21 = [22.0]
 
list bx31 = [23.0]
 
list c1 = [559,434.5,651.5,0,180,0]
 
list c2 = [559,434.5,251.5,0,180,0]
 
 CirclePos = _ros_listToFloat64MultiArray([c1, c2])
 
 dont_write_bytecode
 
float maxLength = 50.0
 
float maxRadius = 20.0
 
 mb_seg = _ros_listToFloat64MultiArray([seg1, seg2, seg3])
 
 mode
 
 move_blending = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_blending', MoveBlending)
 
 move_circle = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_circle', MoveCircle)
 
 move_joint = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_joint', MoveJoint)
 
 move_jointx = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_jointx', MoveJointx)
 
 move_line = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_line', MoveLine)
 
 move_periodic = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_periodic', MovePeriodic)
 
 move_spiral = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_spiral', MoveSpiral)
 
 move_spline_joint = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_spline_joint', MoveSplineJoint)
 
 move_spline_task = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_spline_task', MoveSplineTask)
 
string my_robot_id = "dsr01"
 
string my_robot_model = "m1013"
 
int opt = 0
 
list p1 = [0,0,0,0,0,0]
 
list p2 = [0.0, 0.0, 90.0, 0.0, 90.0, 0.0]
 
list period = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
 
 posCnt = len(mb_seg)
 
 pub_stop = rospy.Publisher('/'+ROBOT_ID +ROBOT_MODEL+'/stop', RobotStop, queue_size=10)
 
list q0 = [0,0,0,0,0,0]
 
list q1 = [10, -10, 20, -30, 10, 20]
 
list q2 = [25, 0, 10, -50, 20, 40]
 
list q3 = [50, 50, 50, 50, 50, 50]
 
list q4 = [30, 10, 30, -20, 10, 60]
 
list q5 = [20, 20, 40, 20, 0, 90]
 
 radius
 
 ref
 
int repeat = 5
 
int revolution = 9
 
string ROBOT_ID = "dsr01"
 
string ROBOT_MODEL = "m1013"
 
 seg1 = bx11+bx12+bx_type1+bx_radius1
 
 seg2 = bx21+bx22+bx_type2+bx_radius2
 
 seg3 = bx31+bx32+bx_type3+bx_radius3
 
 sol
 
 SplinePosj = _ros_listToFloat64MultiArray([q0,q1,q2,q3,q4,q5])
 
 SplinePosx = _ros_listToFloat64MultiArray([x1, x2, x3, x4, x5, x6])
 
 syncType
 
int taskAxis = 0
 
float time = 0.0
 
int vel = 30
 
list velx = [50, 50]
 
list x1 = [400, 500, 800.0, 0.0, 180.0, 0.0]
 
list x2 = [400, 500, 500.0, 0.0, 180.0, 0.0]
 
list x3 = [150, 600, 450, 0, 175, 0]
 
list x4 = [-300, 300, 300, 0, 175, 0]
 
list x5 = [-200, 700, 500, 0, 175, 0]
 
list x6 = [600, 600, 400, 0, 175, 0]
 

Function Documentation

def single_robot_basic._ros_listToFloat64MultiArray (   list_src)
private

Definition at line 33 of file single_robot_basic.py.

def single_robot_basic.SET_ROBOT (   id,
  model 
)

Definition at line 21 of file single_robot_basic.py.

def single_robot_basic.shutdown ( )

Definition at line 24 of file single_robot_basic.py.

Variable Documentation

single_robot_basic.acc

Definition at line 71 of file single_robot_basic.py.

list single_robot_basic.accx = [100, 100]

Definition at line 80 of file single_robot_basic.py.

list single_robot_basic.amp = [10,0,0,0,30,0]

Definition at line 108 of file single_robot_basic.py.

float single_robot_basic.angle1 = 0.0

Definition at line 72 of file single_robot_basic.py.

single_robot_basic.angle2

Definition at line 72 of file single_robot_basic.py.

float single_robot_basic.atime = 0.2

Definition at line 110 of file single_robot_basic.py.

single_robot_basic.blendType

Definition at line 70 of file single_robot_basic.py.

list single_robot_basic.bx11 = [21.0]

Definition at line 114 of file single_robot_basic.py.

list single_robot_basic.bx21 = [22.0]

Definition at line 115 of file single_robot_basic.py.

list single_robot_basic.bx31 = [23.0]

Definition at line 116 of file single_robot_basic.py.

list single_robot_basic.c1 = [559,434.5,651.5,0,180,0]

Definition at line 82 of file single_robot_basic.py.

list single_robot_basic.c2 = [559,434.5,251.5,0,180,0]

Definition at line 83 of file single_robot_basic.py.

single_robot_basic.CirclePos = _ros_listToFloat64MultiArray([c1, c2])

Definition at line 84 of file single_robot_basic.py.

single_robot_basic.dont_write_bytecode

Definition at line 12 of file single_robot_basic.py.

float single_robot_basic.maxLength = 50.0

Definition at line 106 of file single_robot_basic.py.

float single_robot_basic.maxRadius = 20.0

Definition at line 105 of file single_robot_basic.py.

single_robot_basic.mb_seg = _ros_listToFloat64MultiArray([seg1, seg2, seg3])

Definition at line 122 of file single_robot_basic.py.

single_robot_basic.mode

Definition at line 70 of file single_robot_basic.py.

single_robot_basic.move_blending = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_blending', MoveBlending)

Definition at line 66 of file single_robot_basic.py.

single_robot_basic.move_circle = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_circle', MoveCircle)

Definition at line 62 of file single_robot_basic.py.

single_robot_basic.move_joint = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_joint', MoveJoint)

Definition at line 58 of file single_robot_basic.py.

single_robot_basic.move_jointx = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_jointx', MoveJointx)

Definition at line 59 of file single_robot_basic.py.

single_robot_basic.move_line = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_line', MoveLine)

Definition at line 61 of file single_robot_basic.py.

single_robot_basic.move_periodic = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_periodic', MovePeriodic)

Definition at line 68 of file single_robot_basic.py.

single_robot_basic.move_spiral = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_spiral', MoveSpiral)

Definition at line 67 of file single_robot_basic.py.

single_robot_basic.move_spline_joint = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_spline_joint', MoveSplineJoint)

Definition at line 63 of file single_robot_basic.py.

single_robot_basic.move_spline_task = rospy.ServiceProxy('/'+ROBOT_ID +ROBOT_MODEL+'/motion/move_spline_task', MoveSplineTask)

Definition at line 64 of file single_robot_basic.py.

string single_robot_basic.my_robot_id = "dsr01"

Definition at line 45 of file single_robot_basic.py.

string single_robot_basic.my_robot_model = "m1013"

Definition at line 46 of file single_robot_basic.py.

int single_robot_basic.opt = 0

Definition at line 73 of file single_robot_basic.py.

list single_robot_basic.p1 = [0,0,0,0,0,0]

Definition at line 75 of file single_robot_basic.py.

list single_robot_basic.p2 = [0.0, 0.0, 90.0, 0.0, 90.0, 0.0]

Definition at line 76 of file single_robot_basic.py.

list single_robot_basic.period = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]

Definition at line 109 of file single_robot_basic.py.

single_robot_basic.posCnt = len(mb_seg)

Definition at line 123 of file single_robot_basic.py.

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

Definition at line 53 of file single_robot_basic.py.

list single_robot_basic.q0 = [0,0,0,0,0,0]

Definition at line 86 of file single_robot_basic.py.

list single_robot_basic.q1 = [10, -10, 20, -30, 10, 20]

Definition at line 87 of file single_robot_basic.py.

list single_robot_basic.q2 = [25, 0, 10, -50, 20, 40]

Definition at line 88 of file single_robot_basic.py.

list single_robot_basic.q3 = [50, 50, 50, 50, 50, 50]

Definition at line 89 of file single_robot_basic.py.

list single_robot_basic.q4 = [30, 10, 30, -20, 10, 60]

Definition at line 90 of file single_robot_basic.py.

list single_robot_basic.q5 = [20, 20, 40, 20, 0, 90]

Definition at line 91 of file single_robot_basic.py.

single_robot_basic.radius

Definition at line 70 of file single_robot_basic.py.

single_robot_basic.ref

Definition at line 70 of file single_robot_basic.py.

int single_robot_basic.repeat = 5

Definition at line 111 of file single_robot_basic.py.

int single_robot_basic.revolution = 9

Definition at line 104 of file single_robot_basic.py.

string single_robot_basic.ROBOT_ID = "dsr01"

Definition at line 19 of file single_robot_basic.py.

string single_robot_basic.ROBOT_MODEL = "m1013"

Definition at line 20 of file single_robot_basic.py.

single_robot_basic.seg1 = bx11+bx12+bx_type1+bx_radius1

Definition at line 118 of file single_robot_basic.py.

single_robot_basic.seg2 = bx21+bx22+bx_type2+bx_radius2

Definition at line 119 of file single_robot_basic.py.

single_robot_basic.seg3 = bx31+bx32+bx_type3+bx_radius3

Definition at line 120 of file single_robot_basic.py.

single_robot_basic.sol

Definition at line 71 of file single_robot_basic.py.

single_robot_basic.SplinePosj = _ros_listToFloat64MultiArray([q0,q1,q2,q3,q4,q5])

Definition at line 92 of file single_robot_basic.py.

single_robot_basic.SplinePosx = _ros_listToFloat64MultiArray([x1, x2, x3, x4, x5, x6])

Definition at line 100 of file single_robot_basic.py.

single_robot_basic.syncType

Definition at line 70 of file single_robot_basic.py.

int single_robot_basic.taskAxis = 0

Definition at line 103 of file single_robot_basic.py.

float single_robot_basic.time = 0.0

Definition at line 70 of file single_robot_basic.py.

int single_robot_basic.vel = 30

Definition at line 71 of file single_robot_basic.py.

list single_robot_basic.velx = [50, 50]

Definition at line 79 of file single_robot_basic.py.

list single_robot_basic.x1 = [400, 500, 800.0, 0.0, 180.0, 0.0]

Definition at line 77 of file single_robot_basic.py.

list single_robot_basic.x2 = [400, 500, 500.0, 0.0, 180.0, 0.0]

Definition at line 78 of file single_robot_basic.py.

list single_robot_basic.x3 = [150, 600, 450, 0, 175, 0]

Definition at line 96 of file single_robot_basic.py.

list single_robot_basic.x4 = [-300, 300, 300, 0, 175, 0]

Definition at line 97 of file single_robot_basic.py.

list single_robot_basic.x5 = [-200, 700, 500, 0, 175, 0]

Definition at line 98 of file single_robot_basic.py.

list single_robot_basic.x6 = [600, 600, 400, 0, 175, 0]

Definition at line 99 of file single_robot_basic.py.



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