Questions About Programmatically Controlling Robot Motion

Hello everyone,
I am a beginner with this software. I want to rotate the robot’s joints by specified angles to complete a predefined path. Simple jogging controls are insufficient for my needs, and I haven’t found a suitable control method. This issue has troubled me for a long time, and my previous attempts seem to have been misguided. I would like to ask for advice on the correct approach to resolve this problem.
Thank you very much!

You have few different options, including:

  • Write a Python script which controls the robot directly during simulation. Using e.g. the vcHelpers.Robot2 module
  • Write a Python script which generates a robot program using joint motion statements.
  • Use some existing script to generate a robot program, such as Robot Program Pre Processor (uploader)

In all of these cases you probably need some data source. In the first two you could of course generate the data with some custom logic, but might want to e.g. read it from a CSV or Excel file instead. In the last option you need to use an existing robot programming language of your choice.

1 Like

Thank you very much for resolving the issue, it is a valuable experience for me. It seems that I have taken many detours before, and your advice makes my learning process much smoother.
Thank you again!!!