How to import variable from scriptcontroller to scriptmeasure
Posted: Mon Jan 22, 2024 11:31 pm
Hi all
I want to use an objective function that minimize an error in scriptmeasure. Actually, I have defined a new variable at script controller, and I want to use the error (difference between the new variable and joint angle) in scriptmeasure. But as far as I know, I can't import a variable defined in script controller in script measure. Is this correct?
Do you have any idea to save this variable in script controller and use it in the script measure?
Best regards
I want to use an objective function that minimize an error in scriptmeasure. Actually, I have defined a new variable at script controller, and I want to use the error (difference between the new variable and joint angle) in scriptmeasure. But as far as I know, I can't import a variable defined in script controller in script measure. Is this correct?
Do you have any idea to save this variable in script controller and use it in the script measure?
Best regards