Go to the documentation of this file.
8 #ifndef __CONT_TYPES_H__
9 #define __CONT_TYPES_H__
29 void dbg_printf(
const char *fmt, ...);
36 #define TRACE(level, x) do {\
37 if (level <= TRACE_LEVEL) {\
38 if (1 == TRACE_LINES) {\
39 fprintf(stderr, "\033[0;34m--- %s - %d ---\033[0m\n", __FILE__, __LINE__);\
40 } dbg_printf x;}} while (0)
double measuredDirections[9]
void matrix_allocate(matrix_double_t *matrix, int numRows, int numCols)
Allocate memory for a matrix struct of given dimensions.
void matrix_zero(matrix_double_t *matrix)
Set all antries of a matrix to zero.
struct con_state_qw_fof_s con_state_qw_fof_t
Complete state of the attitude FOF on SO(3) or SU(2)
struct ref_state_qw_s ref_state_qw_t
Reference signal structure for the attitude FSF on S(3) or SU(2)
Matrix object used for all matrix manipulation.
struct dyn_state_qw_s dyn_state_qw_t
Dynamical states, assumed known in the attitude FSF on SO(3) or SU(2)
void matrix_identity(matrix_double_t *matrix)
Set a square matrix to the identity matrix.
Reference signal structure for the attitude FSF on S(3) or SU(2)
Complete state of the attitude FSF on SO(3) or SU(2)
void matrix_set(matrix_double_t *mat, int row, int column, double value)
Set an entry of a matrix (irrespective of the used memory layout)
void matrix_copy(matrix_double_t *Amat, matrix_double_t *Bmat)
Copy one metrix into another Bmat <– Amat, overwriting Bmat.
void matrix_define(matrix_double_t *matrix, int numRows, int numCols, double *data)
Define a matrix to use already allocated memory.
Complete state of the attitude FOF on SO(3) or SU(2)
Dynamical states, assumed known in the attitude FSF on SO(3) or SU(2)
struct matrix_double_s matrix_double_t
Matrix object used for all matrix manipulation.
double measuredGyrorates[3]
double globalDirections[9]
void matrix_print(matrix_double_t *mat, char *variableName)
Print a matrix on a Matlab/Julia format.
struct con_state_qw_fsf_s con_state_qw_fsf_t
Complete state of the attitude FSF on SO(3) or SU(2)
double matrix_get(matrix_double_t *mat, int row, int column)
Get an entry of a matrix (irrespective of the used memory layout)