Kinematics file Configuration
- Ahmed.emara
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
19 Sep 2024 11:01 #310439
by Ahmed.emara
Kinematics file Configuration was created 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
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 or Create an account to join the conversation.
19 Sep 2024 11:20 #310441
by Aciera
Replied by Aciera on topic Kinematics file Configuration
One solution that comes to mind is to use a python remap and write the value directly to the kinematic component:
import hal
hal.set_p("yourkinematic.yourpin",str(yourvalue))
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds