MAGIKS  1.1
Manipulator General Inverse Kinematic Solver
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Polynomial Class Reference
Inheritance diagram for Polynomial:

Public Member Functions

def __init__
 
def interpolate_smart
 
def interpolate
 
def position
 
def velocity
 
def acceleration
 

Public Attributes

 degree
 
 coeff
 

Detailed Description

 

Definition at line 48 of file polynomials.py.

Constructor & Destructor Documentation

def __init__ (   self,
  degree = 0 
)

Definition at line 51 of file polynomials.py.

Member Function Documentation

def acceleration (   self,
  t 
)
Returns the derivative of the polynomial at time t

Definition at line 159 of file polynomials.py.

def interpolate (   self,
  t,
  u,
  v = [] 
)
Generates the coefficients of a spline passing through key positions and velocities specified by u and v at corresponding t
t, u, v must have the same length
if v is not specified (keep the default), only positions are considered

Definition at line 100 of file polynomials.py.

def interpolate_smart (   self,
  points 
)

Definition at line 55 of file polynomials.py.

def position (   self,
  t 
)
Returns the value of the polynomial at time t

Definition at line 135 of file polynomials.py.

def velocity (   self,
  t 
)
Returns the derivative of the polynomial at time t

Definition at line 146 of file polynomials.py.

Member Data Documentation

coeff

Definition at line 53 of file polynomials.py.

degree

Definition at line 52 of file polynomials.py.


The documentation for this class was generated from the following file: