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++
- Host: GitHub
- URL: https://github.com/tutla53/angle-measurement
- Owner: tutla53
- License: mit
- Created: 2022-03-31T15:26:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-07T16:33:19.000Z (about 4 years ago)
- Last Synced: 2025-06-18T08:50:38.239Z (12 months ago)
- Topics: angle-measurement, bending, opencv, opencv-cpp, soft-robotics
- Language: C++
- Homepage:
- Size: 12.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).
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
(a)
(b)
Fig. 2. Measurement setup with GoPro Hero 5: (a) concept design and (b) prototype.
---
## Result
Fig. 3. Measurement result of bending angle (θ).
(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.