So I am dealing with a maintenance issue where I have to regularly adjust the pickup points and loading points into the machines that the robot is loading, because the parts that are coming from production and need to be loaded onto the machines are sometimes of different heights, so it is common that I have to readjust many of the points.
Right now I am rewriting everything from scratch, because I want to add more functionality into my programs and this is one of the features that I want to add, but what is the best way to go about it?
Should I make a program that will recalculate all points and work only with PRs (so that I can easily update all points used in different programs)?
Should I add a parasite variable to offset all of the points? Parasite, because it will be everywhere.
Any other ways or functionalities of the TP language that I am not aware of?