Classes | |
class | CRobotSync |
Functions | |
def | msgRobotState_cb_r1 (msg) |
def | msgRobotState_cb_r2 (msg) |
def | shutdown () |
def | thread_robot1 (robot_id, robot_model) |
def | thread_robot2 (robot_id, robot_model) |
def | thread_subscriber_r1 (robot_id, robot_model) |
def | thread_subscriber_r2 (robot_id, robot_model) |
Variables | |
list | acc_spi = [150, 150] |
list | accx = [0, 0] |
list | amp = [0, 0, 0, 30, 30, 0] |
daemon | |
dont_write_bytecode | |
dREL1 = posx(0, 0, 350, 0, 0, 0) | |
dREL2 = posx(0, 0, -350, 0, 0, 0) | |
J00 = posj(-180, 0, -145, 0, -35, 0) | |
J01r = posj(-180.0, 71.4, -145.0, 0.0, -9.7, 0.0) | |
J02r = posj(-180.0, 67.7, -144.0, 0.0, 76.3, 0.0) | |
J03r = posj(-180.0, 0.0, 0.0, 0.0, 0.0, 0.0) | |
J04r = posj(-90.0, 0.0, 0.0, 0.0, 0.0, 0.0) | |
J04r1 = posj(-90.0, 30.0, -60.0, 0.0, 30.0, -0.0) | |
J04r2 = posj(-90.0, -45.0, 90.0, 0.0, -45.0, -0.0) | |
J04r3 = posj(-90.0, 60.0, -120.0, 0.0, 60.0, -0.0) | |
J04r4 = posj(-90.0, 0.0, -0.0, 0.0, 0.0, -0.0) | |
J05r = posj(-144.0, -4.0, -84.8, -90.9, 54.0, -1.1) | |
J07r = posj(-152.4, 12.4, -78.6, 18.7, -68.3, -37.7) | |
J08r = posj(-90.0, 30.0, -120.0, -90.0, -90.0, 0.0) | |
J1 = posj(81.2, 20.8, 127.8, 162.5, 56.1, -37.1) | |
JEnd = posj(0.0, -12.6, 101.1, 0.0, 91.5, -0.0) | |
JReady = posj(0, -20, 110, 0, 60, 0) | |
int | NUM_ROBOT = 2 |
list | period = [0, 0, 0, 3, 6, 0] |
pub_stop_r1 = rospy.Publisher('/'+ robot_id1 + robot_model1 +'/stop', RobotStop, queue_size=10) | |
pub_stop_r2 = rospy.Publisher('/'+ robot_id2 + robot_model2 +'/stop', RobotStop, queue_size=10) | |
string | robot_id1 = "dsr01" |
string | robot_id2 = "dsr02" |
robot_model1 | |
robot_model2 | |
RobotSync = CRobotSync(NUM_ROBOT) | |
t1 = threading.Thread(target=thread_robot1, args=(robot_id1, robot_model1)) | |
t2 = threading.Thread(target=thread_robot2, args=(robot_id2, robot_model2)) | |
list | vel_spi = [400, 400] |
list | velx = [0, 0] |
X0 = posx(-88.7, 799.0, 182.3, 95.7, 93.7, 133.9) | |
list | x01 = [423.6, 334.5, 651.2, 84.7, -180.0, 84.7] |
list | x02 = [423.6, 34.5, 951.2, 68.2, -180.0, 68.2] |
list | x03 = [423.6, -265.5, 651.2, 76.1, -180.0, 76.1] |
list | x04 = [423.6, 34.5, 351.2, 81.3, -180.0, 81.3] |
X1 = posx(304.2, 871.8, 141.5, 99.5, 84.9, 133.4) | |
X2 = posx(437.1, 876.9, 362.1, 99.6, 84.0, 132.1) | |
X3 = posx(-57.9, 782.4, 478.4, 99.6, 84.0, 132.1) | |
def m1013x2_sync.msgRobotState_cb_r1 | ( | msg | ) |
Definition at line 93 of file m1013x2_sync.py.
def m1013x2_sync.msgRobotState_cb_r2 | ( | msg | ) |
Definition at line 114 of file m1013x2_sync.py.
def m1013x2_sync.shutdown | ( | ) |
Definition at line 82 of file m1013x2_sync.py.
def m1013x2_sync.thread_robot1 | ( | robot_id, | |
robot_model | |||
) |
Definition at line 180 of file m1013x2_sync.py.
def m1013x2_sync.thread_robot2 | ( | robot_id, | |
robot_model | |||
) |
Definition at line 207 of file m1013x2_sync.py.
def m1013x2_sync.thread_subscriber_r1 | ( | robot_id, | |
robot_model | |||
) |
Definition at line 135 of file m1013x2_sync.py.
def m1013x2_sync.thread_subscriber_r2 | ( | robot_id, | |
robot_model | |||
) |
Definition at line 140 of file m1013x2_sync.py.
list m1013x2_sync.acc_spi = [150, 150] |
Definition at line 166 of file m1013x2_sync.py.
list m1013x2_sync.accx = [0, 0] |
Definition at line 164 of file m1013x2_sync.py.
list m1013x2_sync.amp = [0, 0, 0, 30, 30, 0] |
Definition at line 172 of file m1013x2_sync.py.
m1013x2_sync.daemon |
Definition at line 256 of file m1013x2_sync.py.
m1013x2_sync.dont_write_bytecode |
Definition at line 11 of file m1013x2_sync.py.
m1013x2_sync.dREL1 = posx(0, 0, 350, 0, 0, 0) |
Definition at line 161 of file m1013x2_sync.py.
m1013x2_sync.dREL2 = posx(0, 0, -350, 0, 0, 0) |
Definition at line 162 of file m1013x2_sync.py.
m1013x2_sync.J00 = posj(-180, 0, -145, 0, -35, 0) |
Definition at line 148 of file m1013x2_sync.py.
m1013x2_sync.J01r = posj(-180.0, 71.4, -145.0, 0.0, -9.7, 0.0) |
Definition at line 149 of file m1013x2_sync.py.
m1013x2_sync.J02r = posj(-180.0, 67.7, -144.0, 0.0, 76.3, 0.0) |
Definition at line 150 of file m1013x2_sync.py.
m1013x2_sync.J03r = posj(-180.0, 0.0, 0.0, 0.0, 0.0, 0.0) |
Definition at line 151 of file m1013x2_sync.py.
m1013x2_sync.J04r = posj(-90.0, 0.0, 0.0, 0.0, 0.0, 0.0) |
Definition at line 152 of file m1013x2_sync.py.
m1013x2_sync.J04r1 = posj(-90.0, 30.0, -60.0, 0.0, 30.0, -0.0) |
Definition at line 153 of file m1013x2_sync.py.
m1013x2_sync.J04r2 = posj(-90.0, -45.0, 90.0, 0.0, -45.0, -0.0) |
Definition at line 154 of file m1013x2_sync.py.
m1013x2_sync.J04r3 = posj(-90.0, 60.0, -120.0, 0.0, 60.0, -0.0) |
Definition at line 155 of file m1013x2_sync.py.
m1013x2_sync.J04r4 = posj(-90.0, 0.0, -0.0, 0.0, 0.0, -0.0) |
Definition at line 156 of file m1013x2_sync.py.
m1013x2_sync.J05r = posj(-144.0, -4.0, -84.8, -90.9, 54.0, -1.1) |
Definition at line 157 of file m1013x2_sync.py.
m1013x2_sync.J07r = posj(-152.4, 12.4, -78.6, 18.7, -68.3, -37.7) |
Definition at line 158 of file m1013x2_sync.py.
m1013x2_sync.J08r = posj(-90.0, 30.0, -120.0, -90.0, -90.0, 0.0) |
Definition at line 159 of file m1013x2_sync.py.
m1013x2_sync.J1 = posj(81.2, 20.8, 127.8, 162.5, 56.1, -37.1) |
Definition at line 167 of file m1013x2_sync.py.
m1013x2_sync.JEnd = posj(0.0, -12.6, 101.1, 0.0, 91.5, -0.0) |
Definition at line 160 of file m1013x2_sync.py.
m1013x2_sync.JReady = posj(0, -20, 110, 0, 60, 0) |
Definition at line 147 of file m1013x2_sync.py.
int m1013x2_sync.NUM_ROBOT = 2 |
Definition at line 25 of file m1013x2_sync.py.
list m1013x2_sync.period = [0, 0, 0, 3, 6, 0] |
Definition at line 173 of file m1013x2_sync.py.
m1013x2_sync.pub_stop_r1 = rospy.Publisher('/'+ robot_id1 + robot_model1 +'/stop', RobotStop, queue_size=10) |
Definition at line 241 of file m1013x2_sync.py.
m1013x2_sync.pub_stop_r2 = rospy.Publisher('/'+ robot_id2 + robot_model2 +'/stop', RobotStop, queue_size=10) |
Definition at line 242 of file m1013x2_sync.py.
string m1013x2_sync.robot_id1 = "dsr01" |
Definition at line 238 of file m1013x2_sync.py.
string m1013x2_sync.robot_id2 = "dsr02" |
Definition at line 239 of file m1013x2_sync.py.
m1013x2_sync.robot_model1 |
Definition at line 238 of file m1013x2_sync.py.
m1013x2_sync.robot_model2 |
Definition at line 239 of file m1013x2_sync.py.
m1013x2_sync.RobotSync = CRobotSync(NUM_ROBOT) |
Definition at line 78 of file m1013x2_sync.py.
m1013x2_sync.t1 = threading.Thread(target=thread_robot1, args=(robot_id1, robot_model1)) |
Definition at line 255 of file m1013x2_sync.py.
m1013x2_sync.t2 = threading.Thread(target=thread_robot2, args=(robot_id2, robot_model2)) |
Definition at line 259 of file m1013x2_sync.py.
list m1013x2_sync.vel_spi = [400, 400] |
Definition at line 165 of file m1013x2_sync.py.
list m1013x2_sync.velx = [0, 0] |
Definition at line 163 of file m1013x2_sync.py.
m1013x2_sync.X0 = posx(-88.7, 799.0, 182.3, 95.7, 93.7, 133.9) |
Definition at line 168 of file m1013x2_sync.py.
list m1013x2_sync.x01 = [423.6, 334.5, 651.2, 84.7, -180.0, 84.7] |
Definition at line 174 of file m1013x2_sync.py.
list m1013x2_sync.x02 = [423.6, 34.5, 951.2, 68.2, -180.0, 68.2] |
Definition at line 175 of file m1013x2_sync.py.
list m1013x2_sync.x03 = [423.6, -265.5, 651.2, 76.1, -180.0, 76.1] |
Definition at line 176 of file m1013x2_sync.py.
list m1013x2_sync.x04 = [423.6, 34.5, 351.2, 81.3, -180.0, 81.3] |
Definition at line 177 of file m1013x2_sync.py.
m1013x2_sync.X1 = posx(304.2, 871.8, 141.5, 99.5, 84.9, 133.4) |
Definition at line 169 of file m1013x2_sync.py.
m1013x2_sync.X2 = posx(437.1, 876.9, 362.1, 99.6, 84.0, 132.1) |
Definition at line 170 of file m1013x2_sync.py.
m1013x2_sync.X3 = posx(-57.9, 782.4, 478.4, 99.6, 84.0, 132.1) |
Definition at line 171 of file m1013x2_sync.py.