Manipulator model
Содержание
Description
This is the page of a project related to project "Fencing".
Developers
Global Task
The main aim of this project is development of a program which will be useful for recording and calculation of manipulator's movement.
Current task
Current task is development of fencer's hand model. That means to create mathematical model, that finds the position of a hand and comes to this position from any previous position with visualization on C# language, using parameters (changes of angles in joints and coordinates of a shoulder)
Some information about programm
Degrees of freedom
This model has 9 degrees of freedom:
2 — translation movement of a shoulder (front/back; up/down)
3 — shoulder joint as a ball joint
1 — elbow joint
1 — rotation of wrist round it’s axis
2 — wrist (2 perpendicular cylindrical joints)
Hand rotation
In order to rotate any 3D object we should rotate related vector.
But how to rotate vector?
This programm uses quaternions for vector rotation.
Quaternions
Usually quaternions are defined as a number system that extends the complex numbers to 4D space. In a simplier way we can define quaternions as 4 numbers with specific operations and properties.
, where i,j,k satisfies
Useful formulas
We are going to use quaternion written as
- where - scalar and - vector
In these terms we have rotation quaternion
This is the quaternion that rotates round vector on angle
- conjugated quaternion
- norm of quaternion
- reverse quaternion
- quaternion multiplication
Vector rotation
In order to rotate the vector
1) Cast vector to quaternion It's easy to make quaternion of vector. Just add zero to the scalar part and your vector to the vector part of quaternion
2) Multiply
3)