MAGIKS  1.1
Manipulator General Inverse Kinematic Solver
 All Classes Namespaces Files Functions Variables Pages
general_magiks.py
Go to the documentation of this file.
1 
2 # HEADER
3 
4 ## @file general.py
5 # @brief Contains some general kinematic functions regarding chain-link manipulators
6 # @author Nima Ramezani Taghiabadi
7 #
8 # PhD Researcher
9 # Faculty of Engineering and Information Technology
10 # University of Technology Sydney (UTS)
11 # Broadway, Ultimo, NSW 2007, Australia
12 # Phone No. : 04 5027 4611
13 # Email(1) : nima.ramezani@gmail.com
14 # Email(2) : Nima.RamezaniTaghiabadi@uts.edu.au
15 # @version 1.0
16 #
17 # Last Revision: 03 January 2015
18 
19 # BODY
20 
21 import numpy, math
22 
23 def transfer_DH_standard(theta, alpha, a, d, q):
24  s = math.sin(theta + q)
25  c = math.cos(theta + q)
26  sa = math.sin(alpha)
27  ca = math.cos(alpha)
28 
29  return numpy.array([[ c, -ca*s, sa*s, a*c ],
30  [ s, ca*c, -sa*c, a*s ],
31  [ 0, sa , ca , d ],
32  [ 0, 0 , 0 , 1 ]])
33