mikelitu / Elfin_TouchX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elfin Touch X teleoperation

This repository contains code to teleoperate the Elfin using Touch X haptic device commands.

Testing environment

This repository was tested in Ubuntu20.04 LTS (Focal Fossa) 64-bit. This repository was specifically tested using the following elements:

Requirements

You need CXX 11 compiler to compile the project binary. This repository depends on different external libraries that need to be installed in your local pc.

Eigen

You can download the latest version of Eigen here. In our CMakeLists.txt we look for Eigen in 3rdparty folder inside the project folder. Just create the folder and put Eigen on that folder.

OpenHaptics

To download and setup OpenHaptics follow the instructions on their webpage. If you followed the instructions properly OpenHaptics shoudl be at /opt/OpenHaptics.

Realsense 2.0

To use the libraries make sure to follow the instructions for librealsense in their github. In our case, we have built from source, but both installation methods worked for me.

OpenCV

To install OpenCV use the following commands on the terminal.

$ sudo apt update
$ sudo apt install libopencv-dev python3-opencv

STB

We use stb to save the images into the disk following the tutorial from librealsense here. You can find STB in their github repository. Clone their repository in your home directory with the following command.

$ git clone https://github.com/nothings/stb.git

Change line 43 in the CMakeLists.txt file to match with your directory to the STB library.

About


Languages

Language:C++ 97.0%Language:CMake 3.0%