FDCL Controllers
Functions
matrix_utils.hpp File Reference

Miscellaneous math functions. More...

#include <iostream>
#include <Eigen/Dense>
#include <Eigen/Eigenvalues>
#include "common_types.hpp"
Include dependency graph for matrix_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Matrix3 hat (const Vector3 v)
 
Vector3 vee (const Matrix3 V)
 
void saturate (Vector3 &x, const double x_min, const double x_max)
 
void deriv_unit_vector (const Vector3 &A, const Vector3 &A_dot, const Vector3 &A_ddot, Vector3 &q, Vector3 &q_dot, Vector3 &q_ddot)
 

Detailed Description

Miscellaneous math functions.

Miscellaneous math functions used in FDCL are defined here

Function Documentation

Matrix3 hat ( const Vector3  v)

Returns the hat map of a given 3x1 vector. This is the inverse of vee map.

Parameters
vvector which the hat map is needed to be operated on
Returns
hat map of the input vector
void saturate ( Vector3 &  x,
const double  x_min,
const double  x_max 
)

Saturate the elements of a given 3x1 vector between a minimum and a maximum value.

Parameters
xvector which the elements needed to be saturated
x_minminimum value for each element
x_maxmaximum value for each element
Vector3 vee ( const Matrix3  V)

Returns the vee map of a given 3x3 matrix. This is the inverse of hat map.

Parameters
Vmatrix which the vee map is needed to be operated on
Returns
vee map of the input matrix