pinocchio  2.7.1
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Factor Class Reference
Inheritance diagram for Factor:
Collaboration diagram for Factor:

Public Member Functions

def __init__ (self, index, matrix)
 

Public Attributes

 index
 
 matrix
 

Detailed Description

A factor is a part of a linear constraint corresponding either a cost ||A x - b|| or
a constraint Cx = d.
In both cases, we have Ax = sum A_i x_i, where some A_i are null. One object of class
Factor stores one of the A_i, along with the correspond <i> index. It is simply a pair
(index, matrix).

This class is used as a arguments of some of the setup functions of FactorGraph.

Definition at line 22 of file factor.py.


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