Skip to content

Carlo1109/Soft-Touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Soft Touch

Project Description

This project was developed for the Medical Robotics exam at Sapienza University of Rome, Master Degree in Control Engineering. The main goal was to interact and to grasp deformable objects with a virtual hand in order to enhance simulations for surgeries, using the Oculus Rift S and WeArt TouchDIVER G1. In "COPPELIA" directory, the hand is fixed in the space and, in front of it, there is a soft cube which can be slightly deformed. In the virtual environment created in "MUJOCO" directory, it is possible to interact with some simple geometries (e.g. cubes, cylinder, sphere) in order to try the haptic feedback through the glove. Moreover, it is implemented a 3D abdomen's phantom: it is possible to touch the left kidney of the abdomen and experience the feeling of a deformable object. As said above, WeArt glove is used to track real hand's closure and to give haptic feedback, from simple force feedback to temperature feedback. Oculus is used to visualize the virtual environment in which objects are rendered and through its controller it is possible to track real hand's position.

Installation

Once you have downloaded the code in this repositories, please be sure to have the following dependences in Python:

  • WEART Python SDK
    • for the TouchDIVER
    • pip install weartsdk-sky
  • CoppeliaSim ZMQ API
    • for the simulation
    • pip install coppeliasim_zmqremoteapi_client
  • MuJoCo
    • for the simulation
    • pip install mujoco
  • pyopenxr
    • for the VR headset and the controllers
    • pip install pyopenxr
  • pynput
    • to listen to keyboard press
    • pip install pynput
  • matplotlib
    • for real-time performance plots
    • pip install matplotlib

Finally, you need the WeArt MiddleWare (only available on Windows) and the Meta Quest Link to use the Oculus.

Usage

CoppeliaSim simulation

  1. Open the scene in CoppeliaSim.
  2. Open the WEART Middleware and connect the TouchDIVER.
  3. Launch the simulator.py file.

MuJoCo simulation

  1. Open the WEART Middleware and connect the TouchDIVERs
  2. Connect your VR device and launch the Meta Quest Link.
  3. Change the options in simulator.py according to the scene you want, if you want to use WEART or/and the Oculus and general during simulation set-up.
  4. Launch the simulator.py python file.

Authors

  • b0jck
  • Carlo1109
  • Milly37
  • PiNo010

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages