blockSpaceMouseInput

SpaceMouse input implementation for interactive simulations

Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices), Modelica_DeviceDrivers.Utilities.Icons.PartialClockedDeviceDriverIcon.

Information

This block reads data from the 3Dconnexion SpaceMouse. It provides the six axis and up to sixteen button inputs. Note, that only the first SpaceMouse attached on the system can be read.The input values ranges between approx. -1 and 1 and can be scaled by the vector gain.

Note for Linux

Using the SpaceMouse in Linux is possible, but requires that the Linux drivers offered by 3Dconnexion are installed and active (http://www.3dconnexion.com/).

Parameters

TypeNameDefaultDescription
Real[6]gainones(6)gain of axis output

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutput[6]axes
Modelica.Blocks.Interfaces.IntegerOutput[16]buttons