T-code serial controller plugin & demo VaM scene (Patreon)
Downloads
Content
This is the v1.1 release of my serial controller that allows direct control of an Arduino controlled robot sex toy via a USB serial connection. The Robot Sex Machine (RSM) is also supported.
There are three main parts:
VaM plugin (.cs)
Arduino sketch (.ino)
VaM demo scene (.json)
The plugin communicates with the Arduino using a simple alphanumeric protocol called T-code, which is generic and intended for Arduino toy innovation. The plugin also supports the RSM, ie direct control of two servos via a Pololu Maestro servo controller.
The VaM plugin features:
Serial port & Baud rate selection
T-code/RSM mode selector
3 Axis output (up-down, forward-backward, roll left-right)
Axis limit controls
Axis trim
Axis inverters
Axis overrides
Reference atom (Male) selection
Target atom (Female) selection
Target point (hip, head, hands) selection
Automatic motion range tracking
Range limit controls
Lag inducer control
The Arduino sketch features:
Self-contained T-code decoder
Support for long and short form T-code commands
3 linear channels (L0,L1,L2)
2 vibration channels (V0,V1)
Servo mixing setup for Open Stroker Robot 3-Axis (OSR3)
Comments making it easy to use this sketch as a template for other applications.
Put simply, the above is everything you need to link your own Arduino controlled device to VaM.
The demo scene showcases serial output controlled by a hand animation.
The serial controller plugin is installed in the black sphere on the bed. You’ll have to open it to activate the serial connection. Also check that the target point is set to the right hand.
The scene uses VRAdultFun's incredible E-motion plugin, though this is just to enhance the experience and isn’t strictly needed for the scene to work.