Connecting devices to Gimbl Controllers - winnubstj/Gimbl GitHub Wiki

Controllers receive device inputs from treadmills through the MQTT client. Since the controller is agnostic to the identity of the device the communicated JSON message only has to be within the expected format to be consumed. This format depends on the type of controller.

Linear Treadmills

Topic Variable Type Description
[DeviceName]/Data movement float value Linear movement vector in units of the VR environment
[DeviceName]/Status status bool Turn treadmill messaging of movement data on or off

for example: {'movement':1} move forward by one unit.

Spherical Treadmills

Topic Variable Type Description
[DeviceName]/Data movement JSON string pitch and roll: arc length movement in VR world units, yaw: rotation in degrees.
[DeviceName]/Status status bool Turn treadmill messaging of movement data on or off

for example: {'movement':[1,0,5]} move forward by one unit, rotate 5 degrees.