Batteries included !
in the UClients and Helpers you find a Joystick to UDP python script ready to run out of this folder
the python Axis- Clients are also included.
I have added an example1.blend to the same folder.
change the original the space.node.py node editor to the one supplied in this folder
this exposes 3 operators SFX_MN_Register, SFX_MN_Start and SFX_Stop to the user
invoke the Start Operator —>
The clock Node, The Demuxers, the Cue Node and The adder should change their color to green, their Start Button should switch to Started, 2 check boxes should become checked, (the first is checked when the Operator associated with the node is started the second gets checked when the operator is running modal) and the text-property to the right of those check boxes should start to ‘flicker’ ( this text-prop is updated by the associated Operator (cycle time).
— Confirm IP-Adress and Port Numbers of joystick and LinRail Node when correct either push the register Button of the node editor or the respective buttons in each node.
Register opens the UnixSockets the checkbox to the right starts the communication and the next checkbox gets set by the operator once the connection is started.
Once you have started the communication you see the Values of the joystik in the jopystick node.
Some experimenting with witch button has to be pressed when should get you to move the axis in its Python process (also included in the folder (Client at 15021)) and the linrail-Connector in the 3DView follows the ‘real - simulated’ axis.
I will try to assemble all that information in an Overview a tutorial will take a little bit longer as in such a tutorial some safety approaches and procedures have to be included (not as long as we play with simulated axis but the real motors I’m using have ~30kW.
THX
Martin