& lt; code class = & quot; python & quot; & gt; from roboarm import Arm arm = Arm () arm.base.rotate_clock (3) arm.elbow.up (1) arm.grips.open (2) & lt; / code & gt; pre>
The first implementation h4>
![]()
Leap motion can detect hands , fingers and their direction.
So I decided to tie the motion of the fingers:
| Part roboruki th> | My hand th> | Number of fingers th> | Axis th> | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Database | Right | 4 or 5 | X | ||||||||||
| Shoulder | Left | 4 or 5 | Y | ||||||||||
| Elbow | Right | 2 or 3 | Y | ||||||||||
| Wrist | Any | 1 | Y < / | ||||||||||
| Claws | left | 2 or 3 | X It did not work. Leap motion correctly when the arm 1-2 finger, but when more - a random number from 1 to 5. The second implementation h4> |
| Basis clockwise | Leverage up | Elbow up | wrist up | Open claws |
| Basis counterclockwise | Shoulder down | Elbow down | Wrist vvniz | Close claws This realization was working = ) What happened h4> Roboruka owi robotic arm. Leap motion. «Driver». source code implementation. Source: habrahabr.ru/post/214613/
What will the construction of its new Tesla "Gigafabriki"?
Troll-cybersquatters fined 32 thousand dollars
|