@@ -330,48 +330,48 @@ def _aging_test(self):
330330 self .stop_test = False
331331 while True and time .time () - start < 60 * 30 and self .stop_test == False :
332332 self .mycobot .set_color (255 , 0 , 0 )
333- self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 , 0 ], 95 )
333+ self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 ], 95 )
334334 self .mycobot .wait (3 ).send_angles ([- 160 , 0 , 0 , 0 ], 95 )
335335 self .mycobot .wait (3 ).send_angles ([160 , 0 , 0 , 0 ], 95 )
336336 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 95 )
337337 self .mycobot .wait (3 ).send_angles ([0 , 80 , 0 , 0 ], 95 )
338338 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 95 )
339- self .mycobot .wait (3 ).send_angles ([0 , 0 , - 90 , 0 ], 95 )
340- self .mycobot .wait (3 ).send_angles ([0 , 0 , - 60 , 0 ], 95 )
339+ self .mycobot .wait (3 ).send_angles ([0 , 0 , 20 , 0 ], 95 )
340+ self .mycobot .wait (3 ).send_angles ([0 , 0 , 40 , 0 ], 95 )
341341 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 95 )
342342 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 180 ], 95 )
343343 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , - 180 ], 95 )
344344 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 95 )
345345
346346 # middle
347347 self .mycobot .set_color (0 , 255 , 0 )
348- self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 , 0 ], 55 )
349- self .mycobot .wait (3 ).send_angles ([- 160 , 0 , 0 , 0 ], 55 )
350- self .mycobot .wait (3 ).send_angles ([160 , 0 , 0 , 0 ], 55 )
348+ self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 ], 55 )
349+ self .mycobot .wait (5 ).send_angles ([- 160 , 0 , 0 , 0 ], 55 )
350+ self .mycobot .wait (5 ).send_angles ([160 , 0 , 0 , 0 ], 55 )
351351 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 55 )
352352 self .mycobot .wait (3 ).send_angles ([0 , 80 , 0 , 0 ], 55 )
353353 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 55 )
354- self .mycobot .wait (3 ).send_angles ([0 , 0 , - 90 , 0 ], 55 )
355- self .mycobot .wait (3 ).send_angles ([0 , 0 , - 60 , 0 ], 55 )
356- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 55 )
357- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 180 ], 55 )
358- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , - 180 ], 55 )
354+ self .mycobot .wait (3 ).send_angles ([0 , 0 , 20 , 0 ], 55 )
355+ self .mycobot .wait (3 ).send_angles ([0 , 0 , 40 , 0 ], 55 )
359356 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 55 )
357+ self .mycobot .wait (6 ).send_angles ([0 , 0 , 0 , 180 ], 55 )
358+ self .mycobot .wait (6 ).send_angles ([0 , 0 , 0 , - 180 ], 55 )
359+ self .mycobot .wait (6 ).send_angles ([0 , 0 , 0 , 0 ], 55 )
360360
361361 # slow
362362 self .mycobot .set_color (0 , 0 , 255 )
363- self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 , 0 ], 15 )
364- self .mycobot .wait (3 ).send_angles ([- 160 , 0 , 0 , 0 ], 15 )
365- self .mycobot .wait (3 ).send_angles ([160 , 0 , 0 , 0 ], 15 )
366- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
363+ self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
364+ self .mycobot .wait (8 ).send_angles ([- 160 , 0 , 0 , 0 ], 15 )
365+ self .mycobot .wait (8 ).send_angles ([160 , 0 , 0 , 0 ], 15 )
366+ self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
367367 self .mycobot .wait (3 ).send_angles ([0 , 80 , 0 , 0 ], 15 )
368368 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
369- self .mycobot .wait (3 ).send_angles ([0 , 0 , - 90 , 0 ], 15 )
370- self .mycobot .wait (3 ).send_angles ([0 , 0 , - 60 , 0 ], 15 )
371- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
372- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 180 ], 15 )
373- self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , - 180 ], 15 )
369+ self .mycobot .wait (3 ).send_angles ([0 , 0 , 20 , 0 ], 15 )
370+ self .mycobot .wait (3 ).send_angles ([0 , 0 , 40 , 0 ], 15 )
374371 self .mycobot .wait (3 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
372+ self .mycobot .wait (8 ).send_angles ([0 , 0 , 0 , 180 ], 15 )
373+ self .mycobot .wait (8 ).send_angles ([0 , 0 , 0 , - 180 ], 15 )
374+ self .mycobot .wait (5 ).send_angles ([0 , 0 , 0 , 0 ], 15 )
375375 self .mycobot .send_angles ([0 , 0 , 0 , 0 ], 35 )
376376 self .write_log_to_Text ("老化测试结束。" )
377377 # aging_test_content_py = textwrap.dedent(
0 commit comments