An open API service indexing awesome lists of open source software.

https://github.com/tutla53/angle-measurement

This repository contains the code to measure the angle of soft robot using OpenCV C++
https://github.com/tutla53/angle-measurement

angle-measurement bending opencv opencv-cpp soft-robotics

Last synced: 14 days ago
JSON representation

This repository contains the code to measure the angle of soft robot using OpenCV C++

Awesome Lists containing this project

README

          

# Soft Robot Angle Measurement Program with OpenCV
***
This repository is associated with the research collaboration program between `Imperial College London` and `Institut Teknologi Bandung` in the field of affordable medical devices based on soft robotics.
***

## Introduction
In this work we present a soft continuum manipulator with two actuated DOFs:

1. Bending on an arbitrary plane (θ).
2. Rotation of the bending plane with respect to a fixed reference frame (γ) (see Fig. 1).


soft robot's angle

Fig. 1. Two DOFs of the soft manipulator prototype.

In the medical application, the bending angle (θ) and the bending plane angle (γ) can be measured by attaching a sensor (e.g. [electromagnetic tracking](https://www.ndigital.com/technology/em-overview/)) to the tip of the robot. It has good capabilities to localize and visualize the instrument as it's navigated through the various anatomical tracts. However, the sensor is relatively expensive in the early stage of development, with estimated costs ranging from $5000 - $150,000 [^1], especially for lower and middle-income countries (LMIC). Therefore, this project will present affordable method to measure the angles of the robot by using the camera and `OpenCV`.

---

## Measurement Method
### 1. Bending Angle (θ)
### 2. Rotation of Bending Plane Angle (γ)

---

## Measurement Setup



Measurement Setup - concept


Measurement Setup




(a)


(b)





Fig. 2. Measurement setup with GoPro Hero 5: (a) concept design and (b) prototype.

---

## Result


Measurement Result

Fig. 3. Measurement result of bending angle (θ).




Original Image


Detected Contour Image




(a)


(b)





Fig. 4. Result from edge detector algorithm: (a) original image and (b) detected edge.

---

## Future Works

### Reference
[^1]: A. Menache, “1 - Motion Capture Primer,” in Understanding Motion Capture for Computer Animation (Second Edition), Second Edition., A. Menache, Ed. Boston: Morgan Kaufmann, 2011, pp. 1–46. doi: https://doi.org/10.1016/B978-0-12-381496-8.00001-9.