MAGIKS
1.1
Manipulator General Inverse Kinematic Solver
|
Public Member Functions | |
def | __init__ |
def | find_coefficients |
def | interpolated_position |
Public Attributes | |
a | |
b | |
c | |
A polynomial of degree three in the form: f(t) = a * t^2 + b * t + c the coefficients are: a, b, c each coefficient can be n-element vector or matrix (or a multi-dimensional numpy array)
Definition at line 226 of file polynomials.py.
def __init__ | ( | self | ) |
Definition at line 238 of file polynomials.py.
def find_coefficients | ( | self, | |
total_time, | |||
start_position, | |||
end_position, | |||
start_velocity, | |||
end_velocity | |||
) |
returns two coefficients of a linear polynomial which generates position as a function of time according to the given boundary conditions as the coefficients are: a, b, c property "total_time" indicates the total time of motion each coefficient is a n-element vector (numpy array) f(t) = a * t^2 + b * t + c the output of the polynomial has the same structure of the coefficients
Definition at line 243 of file polynomials.py.
def interpolated_position | ( | self, | |
t | |||
) |
return "f(t)" at time: "t" where: f(t) = a * t^2 + b * t + c coefficients a, b can be any vector or multi-dimensional numpy array the output has the same structure of the coefficients
Definition at line 266 of file polynomials.py.
a |
Definition at line 239 of file polynomials.py.
b |
Definition at line 240 of file polynomials.py.
c |
Definition at line 241 of file polynomials.py.