You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIDAS/src/gnc/constants.h
+2-14Lines changed: 2 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,9 @@
2
2
3
3
// constants
4
4
constfloatpi=3.14159268;
5
-
constfloata=343.0; // (m/s) speed of sound
6
-
constfloatrho=1.225; // average air density
7
-
constfloatr=0.0396; // (m)
8
-
constfloatheight_full=3.0259; // (m) height of rocket Full Stage
9
-
constfloatheight_sustainer=1.5021; // (m) height of rocket Sustainer
10
-
constfloatmass_sustainer_dry=3.61; // (kg) Sustainer Dry Mass
11
-
constfloatmass_sustainer_wet=4.68; // (kg) Sustainer Wet Mass
12
-
constfloatmass_booster_dry=3.76; // (kg) Booster dry mass
13
-
constfloatmass_booster_wet=5.91; // (kg) Booster wet mass
14
-
constfloatmass_full=mass_sustainer_wet+mass_booster_wet; // (kg) Total mass wet
15
-
constfloatmass_first_burnout=mass_booster_dry+mass_sustainer_wet;// (kg) Total mass after first stage burnout
16
-
constfloatmass_second_burnout=mass_booster_dry+mass_sustainer_dry;// (kg) Total mass after first stage burnout
17
5
constfloatgravity_ms2=9.81; // (m/s^2) accel due to gravity
18
6
constfloataccel_noise_density_x=1000; // ug/sqrt(hz) from the accelerometer on MIDAS MINI. Assuming Acceleration noise density (high-g) in high-performance mode
19
7
constfloataccel_noise_density_y=1000; // ug/sqrt(hz) from the accelerometer on MIDAS MINI
20
8
constfloataccel_noise_density_z=1000; // ug/sqrt(hz) from the accelerometer on MIDAS MINI
21
-
constfloatgyro_RMS_noise=0.1; // Need to get this data from the datasheet
sigma_m = {mag_noise * 1.0e-4 / sqrt(3), mag_noise * 1.0e-4 / sqrt(3), mag_noise * 1.0e-4 / sqrt(3)}; // 0.4 mG -> T, it is 0.4 total so we divide by sqrt3 // 0.4 mG -> T, it is 0.4 total so we divide by sqrt3
0 commit comments