Skip to content

Haptic devices

Working with force feedback haptic devices

XR Twin supports force feedback haptic devices of the Virtuose series, which are compatible with the VirtuoseAPI. These devices, such as Virtuose 6D, TAO, Scale 1, and Desktop 6D, enable users to experience realistic haptic feedback within their virtual reality simulations.

Import

Here's how you can set up and configure a Virtuose manipulator in XRTwin:

1. Create a Virtuose Manipulator

In th Working Tree, select the User for whom you want to create the Virtuose manipulator. Click on Add Device button (bottom of inspector), choose Virtuose from the options provided and click Add manipulator to user button.

Import

2. Set the manipulated object

In the Inspector, below Manipulation Properties sub-section, set suitable properties.

Import

  • If you want to automatically set the manipulated object according to the current scenario task, set the Target according to scenario checkbox.

  • Set the object that the Virtuose will manipulate by drag and dropping the corresponding rigid body from the Working Tree to the Manipulate object slot.

  • Click on the button at the right of Observator frame and select an option in the popup.

    Import

    The Observator frame defines the forward and upward axis of the manipulator.

    • When set to User viewpoint (Head), the manipulator's forward and upward axis align with the user's perspective. This means that the manipulator's orientation will correspond to the direction the user is facing and the upward direction from their point of view.

    • When set to User viewpoint on a horizontal plan,

    • When set to User standpoint (World), the manipulator's forward and upward axis align with the global coordinate system of the virtual environment. This setting can be useful in certain scenarios where consistent and predefined manipulator orientations are required.

Recommended observator frame

When using a Virtuose device, we recommend using the User Standpoint mode, in order to keep the motion of the object independent from the viewpoint of the user.

3. Configure the manipulator

In the Inspector, below Configuration sub-section, click on Import configuration settings and browse to either load an existing XML configuration file, or you can set a new configuration from scratch.

Import

4. Advanced Manipulation Settings

In the Inspector, at botom of Manipulator section, click on Advanced Manipulation Settings to open the corresponding popup.

Import

In the popup, settings are displayed in 3 tabs: Hardware, Simulation and Buttons.

Hardware tab

Import

Set the IP address and Port to connect to the Virtuose controller. Test the connection by clicking on Test Connection button to ensure successful communication.

Additional settings are:

  • Open angle and Close angle: devices equipped with a trigger (e.g. Virtuose™ 6D TAO) expose the associated closure value that usually ranges from 0 (open gripper) to 1 (close gripper). The range and the source of this value can be checked in simulation mode.
  • Trigger source and Trigger input : 3 sources are proposed.
    • Analogic and ADC_Input provide raw values sent by the virtuose
    • Additional Axis: the associated value differs from the raw value for Virtuoses equipped with a button to lock the trigger : an additional offset can be added when locking and unlock the claw. For example, if the user closes the gripper so that the output value equals 0.2, then presses the claw lock button, releases the gripper and presses the claw lock button again, the additional_axis value will now evolve between 0.2 and 1.2 (while the raw value will still evolve between 0 and 1).
  • Base frame orientation and Vertical rotation: it represents the configuration (Upright or Upside down and the vertical rotation) of the physical device with respect to the user (cannot be changed during the simulation).

Simulation tab

Import

For Translation and Rotation, set the Stiffness and Damping parameters to adjust the haptic feedback response. You can also specify the Force and Translation amplification factors to fine-tune the haptic sensations.

Additionally, determine whether you want to use Speed control mode for the Virtuose manipulator. The speed control is such that inside a sphere placed at the center of the workspace, the control mode is identical to position/force. However, outside the sphere, the position moves proportionally to the distance to the sphere surface, in the same direction. The result is an amplification of the device workspace, so that it is not necessary to use the indexing function anymore.

Buttons tab

Import

Set the button assignments for the Virtuose gripper. This allows you to define the functions or actions associated with specific buttons on the device.

5. Configure the physics settings for haptic

In the Preferences panel (Project>Preferences), set the physics Preset = Haptic mode. This will switch the physics engine to voxel mode, ensuring better performances.

Import


By following these steps and configuring the Virtuose manipulator settings, you can enable realistic haptic feedback within your XR Twin simulations.

Please note that the specific configuration options and settings may vary depending on the version and capabilities of the Virtuose device you are using. Contact xrtwin-support@ls-group.fr for support in configurating your device.