Da Vinci Firmware
1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
attitude_estimation.h
Go to the documentation of this file.
1
20
#ifndef ATTITUDE_ESTIMATION_H
21
#define ATTITUDE_ESTIMATION_H
22
23
/* Include Files */
24
#include "
rtwtypes.h
"
25
#include <stddef.h>
26
#include <stdlib.h>
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
/* Function Declarations */
46
extern
void
attitude_estimation
(
const
double
quat[4],
double
ts,
double
omega_x,
47
double
omega_y,
double
omega_z,
double
*
alpha
,
48
double
quat_new[4]);
49
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#endif
55
/*
56
* File trailer for attitude_estimation.h
57
*
58
* [EOF]
59
*/
60
attitude_estimation
void attitude_estimation(const double quat[4], double ts, double omega_x, double omega_y, double omega_z, double *alpha, double quat_new[4])
Propagates the rocket's attitude quaternion and calculates the angle from vertical.
Definition
attitude_estimation.c:27
alpha
double alpha
Definition
main.c:249
rtwtypes.h
Defines standard data types for code generated by MATLAB Coder.
Davinci_2
Core
Inc
attitude_estimation.h
Generated by
1.9.7