Da Vinci Firmware
1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
cdEvaluation.h
Go to the documentation of this file.
1
24
#ifndef CDEVALUATION_H
25
#define CDEVALUATION_H
26
27
/* Include Files */
28
#include "
rtwtypes.h
"
29
#include <stddef.h>
30
#include <stdlib.h>
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/* Function Declarations */
49
double
cdEvaluation
(
const
double
dep_states[6],
const
double
mach_states
[5],
50
const
double
cd_table
[30],
double
dep,
double
mach);
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
57
/*
58
* File trailer for cdEvaluation.h
59
*
60
* [EOF]
61
*/
cdEvaluation
double cdEvaluation(const double dep_states[6], const double mach_states[5], const double cd_table[30], double dep, double mach)
Estimates the coefficient of drag (Cd) via 2D bilinear interpolation.
Definition
cdEvaluation.c:30
mach_states
const double mach_states[]
Definition
main.c:261
cd_table
static double cd_table[]
Definition
main.c:263
rtwtypes.h
Defines standard data types for code generated by MATLAB Coder.
Davinci_2
Core
Inc
cdEvaluation.h
Generated by
1.9.7