I’m new to python and I’m trying to find a way to change the value of (DOF) A1 to A6 from a generated or handwritten TXT file.
Any suggestions on how to do that?
Those are the values I want to change:
It works the way I’ve written it (it depends on what type of robot is used), but thanks. My question is, how to read from a TXT file and change those values?
For example:
I have a txt file with Axis1 = 90, Axis2 = 45, Axis3 = 55, Axis4 = 13, Axis5 = -90, Axis6 = -27 values
What do I need to add to my code so I can replace the values from the txt file with the existing ones in the script?