2012-08-04 19:12:36 -03:00
|
|
|
/*
|
|
|
|
* eye.c
|
|
|
|
*
|
|
|
|
* Code generation for function 'eye'
|
|
|
|
*
|
2012-09-21 09:42:57 -03:00
|
|
|
* C source code generated on: Fri Sep 21 13:56:43 2012
|
2012-08-04 19:12:36 -03:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Include files */
|
|
|
|
#include "rt_nonfinite.h"
|
|
|
|
#include "attitudeKalmanfilter.h"
|
|
|
|
#include "eye.h"
|
|
|
|
|
|
|
|
/* Type Definitions */
|
|
|
|
|
|
|
|
/* Named Constants */
|
|
|
|
|
|
|
|
/* Variable Declarations */
|
|
|
|
|
|
|
|
/* Variable Definitions */
|
|
|
|
|
|
|
|
/* Function Declarations */
|
|
|
|
|
|
|
|
/* Function Definitions */
|
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
2012-09-19 17:36:41 -03:00
|
|
|
void b_eye(real_T I[81])
|
2012-08-04 19:12:36 -03:00
|
|
|
{
|
|
|
|
int32_T i;
|
2012-09-19 17:36:41 -03:00
|
|
|
memset((void *)&I[0], 0, 81U * sizeof(real_T));
|
|
|
|
for (i = 0; i < 9; i++) {
|
|
|
|
I[i + 9 * i] = 1.0;
|
2012-08-04 19:12:36 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void eye(real_T I[9])
|
|
|
|
{
|
|
|
|
int32_T i;
|
|
|
|
memset((void *)&I[0], 0, 9U * sizeof(real_T));
|
|
|
|
for (i = 0; i < 3; i++) {
|
|
|
|
I[i + 3 * i] = 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* End of code generation (eye.c) */
|