Kinematics file Configuration

More
2 years 1 month ago #310439 by Ahmed.emara
hello guys,
i am working on developing kinematics comp file and i have a question
is there is a way to pass a parameter in the VAR file to kinematics File ( C file ).
the parameter in the VAR file is computed based on remaping  O code i did before and save the value i want as #1001,#1002,#1003, i also looked for a way to save this parameter in a hal pin inside the O code and didnt reach to a solution

Please Log in to join the conversation.

More
2 years 1 month ago #310441 by Aciera
One solution that comes to mind is to use a python remap and write the value directly to the kinematic component:
Code:
import hal hal.set_p("yourkinematic.yourpin",str(yourvalue))

Please Log in to join the conversation.

Time to create page: 0.293 seconds
Powered by Kunena Forum