Vismach - The easist example
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1730
21 Mar 2023 16:59 #267239
by Aciera
Replied by Aciera on topic Vismach - The easist example
Oh, I meant that the effects of 'tooltip' and 'work' only become visible if you have a connection from linuxcnc to the vismach model by connection the halpins you created in the vismach code like:
#create the HAL component and pins
comp = hal.component("vismach-example")
comp.newpin("joint0", hal.HAL_FLOAT, hal.HAL_IN)
comp.ready()
And use them to translate/rotate the body to which the 'tooltip' has been attached by the Collection() function. ie it will then draw the line that 'records' the movement.
#create the HAL component and pins
comp = hal.component("vismach-example")
comp.newpin("joint0", hal.HAL_FLOAT, hal.HAL_IN)
comp.ready()
And use them to translate/rotate the body to which the 'tooltip' has been attached by the Collection() function. ie it will then draw the line that 'records' the movement.
Please Log in or Create an account to join the conversation.
- zz912
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 509
- Thank you received: 81
21 Mar 2023 17:20 #267241
by zz912
Replied by zz912 on topic Vismach - The easist example
Ah, now I understand. Thank you for the explanation.
Please Log in or Create an account to join the conversation.
Time to create page: 0.046 seconds