Name | Description |
---|---|
![]() | Joystick input implementation for interactive simulations |
![]() | Keyboard input implementation for interactive simulations |
![]() | SpaceMouse input implementation for interactive simulations |
![]() | Keyboard input implementation for interactive simulations |
![]() |
Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices).
Name | Description |
---|---|
sampleTime | sample time for input update |
gain[6] | gain of axis output |
ID | ID number of the joystick (0 = first joystick attached to the system) |
Name | Description |
---|---|
axes[6] | |
pOV | |
buttons[8] |
Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices).
Name | Description |
---|---|
sampleTime | sample time for input update |
keyCode | Monitored Key |
Name | Description |
---|---|
keyState |
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. Via the parameter sampleTime the input sampling rate is chosen.
Using the SpaceMouse in Linux is possible, but requires that the Linux drivers offered by 3Dconnexion are installed and active (http://www.3dconnexion.com/).
Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices).
Name | Description |
---|---|
sampleTime | sample time for input update |
gain[6] | gain of axis output |
Name | Description |
---|---|
axes[6] | |
buttons[16] |
Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices).
Name | Description |
---|---|
sampleTime | sample time for input update |
Name | Description |
---|---|
keyUp | |
keyDown | |
keyRight | |
keyLeft | |
keyReturn | |
keySpace |