A happy and safe quarantine to all :)
I am attempting to make a GUI to model a simulation of a crane moving from an initial position to a final position based on the previous button chosen and the new button selected (Button 0 was selected at startup, user selected Button 3, crane will travel 3 feet). My button group is called 'position' and each button is tagged as 'pos0', 'pos1', and so forth.
What is the easiest way to generate a value from this group so a simple subtraction can be formed such as x=NewValue-OldValue each time a new button is selected, so the distanced needed to be traveled can be imported into the controls functions already coded?
Thank you!
0 Comments
Sign in to comment.