Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Merging the code of subprogram in the main program

#3
The program created with the Quine post is not working for me because it contains fixed positions.

........
#MoveL Pose(222.853, 195.145, 199.228, -11.892, -5.093, -135.023)
AutoTarget0 = RDK.AddTarget('AutoTarget 0',robotFrame,robot)
AutoTarget0.setPose(Pose(222.853,195.145,199.228, -11.892, -5.093, -135.023))
srm1.MoveL(AutoTarget0,True)
SbSRCH1
#MoveL Pose(222.853, 195.145, 199.228, 5.204, 11.844, -136.048)
AutoTarget1 = RDK.AddTarget('AutoTarget 1',robotFrame,robot)
AutoTarget1.setPose(Pose(222.853,195.145,199.228,5.204,11.844, -136.048))
srm1.MoveL(AutoTarget1,True)
........

The idea is to make incremental movements according to every point of the point follow project.


Attached Files
.rdk PS13srch_test_v3.rdk(尺寸:7.18 MB /下载:2022世界杯国家队名单178)


Messages In This Thread
RE: Merging the code of subprogram in the main program - byMareli- 12-14-2021, 03:01 PM



Users browsing this thread:
1 Guest(s)