-
Notifications
You must be signed in to change notification settings - Fork 6
/
constants
171 lines (169 loc) · 11.9 KB
/
constants
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
Keep this file in version control so that changes to constants are well-known.
Found Constants
---------------
src/adcs/constants.hpp:94: "max_eq_temp" = "85.0f"
src/adcs/constants.hpp:97: "min_eq_temp" = "-40.0f"
src/adcs/constants.hpp:101: "max_rd_temp" = "25.0f + 128.0f"
src/adcs/constants.hpp:103: "max_rd_temp" = "25.0f + 128.0f"
src/adcs/constants.hpp:110: "min_rd_temp" = "25.0f - 128.0f"
src/adcs/constants.hpp:112: "min_rd_temp" = "25.0f - 128.0f"
src/adcs/constants.hpp:118: "max_rd_omega" = "125.0f * 0.01745329251f"
src/adcs/constants.hpp:121: "min_rd_omega" = "-max_rd_omega"
src/adcs/constants.hpp:125: "max_mag1_rd_mag" = "0.0049152f"
src/adcs/constants.hpp:128: "min_mag1_rd_mag" = "-max_mag1_rd_mag"
src/adcs/constants.hpp:132: "max_mag2_rd_mag" = "0.0016f"
src/adcs/constants.hpp:135: "min_mag2_rd_mag" = "-max_mag2_rd_mag"
src/adcs/constants.hpp:142: "max_moment" = "0.113337f / 2.0f"
src/adcs/constants.hpp:144: "min_moment" = "-max_moment"
src/adcs/constants.hpp:154: "moment_of_inertia" = "0.0000135f"
src/adcs/constants.hpp:156: "max_torque" = "310.1852f * moment_of_inertia"
src/adcs/constants.hpp:158: "min_torque" = "-max_torque"
src/adcs/constants.hpp:160: "max_ramp_rd" = "max_torque"
src/adcs/constants.hpp:162: "min_ramp_rd" = "0"
src/adcs/constants.hpp:164: "max_speed_read" = "1047.20f"
src/adcs/constants.hpp:166: "min_speed_read" = "-max_speed_read"
src/adcs/constants.hpp:169: "max_speed_command" = "680.678f"
src/adcs/constants.hpp:171: "min_speed_command" = "-max_speed_command"
src/adcs/constants.hpp:178: "min_voltage_rd" = "0.0f"
src/adcs/constants.hpp:180: "max_voltage_rd" = "3.3f"
src/adcs/constants.hpp:182: "min_voltage_thresh" = "min_voltage_rd"
src/adcs/constants.hpp:184: "max_voltage_thresh" = "max_voltage_rd"
src/adcs/constants.hpp:186: "num_sun_sensors" = "20"
src/adcs/constants.hpp:193: "max_devices" = "32"
src/common/GPSTime.hpp:7: "NANOSECONDS_IN_WEEK" = "7 * 24 * 60 * 60 * static_cast<unsigned long long>(1000000000)"
src/common/SerializerTypes.inl:17: "bool_sz" = "1"
src/common/SerializerTypes.inl:18: "print_sz" = "6"
src/common/SerializerTypes.inl:138: "print_size" = "5"
src/common/SerializerTypes.inl:155: "print_size" = "4"
src/common/SerializerTypes.inl:174: "print_size" = "11"
src/common/SerializerTypes.inl:193: "temp_sz" = "30"
src/common/SerializerTypes.inl:194: "print_size" = "12"
src/common/SerializerTypes.inl:215: "print_size" = "14"
src/common/SerializerTypes.inl:360: "pi" = "3.141592653589793"
src/common/SerializerTypes.inl:763: "print_size" = "25"
src/common/constant_tracker.hpp:10: "name" = "...) type name {__VA_ARGS__}; static_assert(true, """
src/common/constant_tracker.hpp:13: "name" = "...) static type name {__VA_ARGS__}; static_assert(true, """
src/common/constant_tracker.hpp:14: "name" = "...) constexpr type name {__VA_ARGS__}; static_assert(true, """
src/common/constant_tracker.hpp:15: "name" = "...) static constexpr type name {__VA_ARGS__}; static_assert(true, """
src/common/debug_console.cpp:244: "SERIAL_BUF_SIZE" = "512"
src/common/debug_console.cpp:279: "MAX_NUM_JSON_MSGS" = "5"
src/fsw/FCCode/DownlinkProducer.hpp:9: "num_bits_in_packet" = "560"
src/fsw/FCCode/EEPROMController.hpp:60: "eeprom_size" = "4096"
src/fsw/FCCode/GomspaceController.hpp:10: "default_pv_cmd" = "4000"
src/fsw/FCCode/GomspaceController.hpp:11: "default_ppt_mode" = "1"
src/fsw/FCCode/MainControlLoop.cpp:19: "piksi_serial" = "Serial4"
src/fsw/FCCode/MainControlLoop.cpp:62: "i2c_mode_sel" = "I2C_MASTER"
src/fsw/FCCode/MainControlLoop.cpp:63: "i2c_pin_nos" = "I2C_PINS_18_19"
src/fsw/FCCode/MainControlLoop.cpp:64: "i2c_pullups" = "I2C_PULLUP_EXT"
src/fsw/FCCode/MainControlLoop.cpp:65: "i2c_rate" = "400000"
src/fsw/FCCode/MainControlLoop.cpp:66: "i2c_op" = "I2C_OP_MODE_IMM"
src/fsw/FCCode/MainControlLoop.cpp:126: "piksi_duration" = "6400"
src/fsw/FCCode/MainControlLoop.cpp:127: "adcs_monitor_duration" = "28000"
src/fsw/FCCode/MainControlLoop.cpp:128: "debug_duration" = "16400"
src/fsw/FCCode/MainControlLoop.cpp:129: "gomspace_duration" = "15000"
src/fsw/FCCode/MainControlLoop.cpp:130: "uplink_duration" = "10000"
src/fsw/FCCode/MainControlLoop.cpp:131: "attitude_estimator_duration" = "5000"
src/fsw/FCCode/MainControlLoop.cpp:132: "mission_duration" = "1000"
src/fsw/FCCode/MainControlLoop.cpp:133: "dcdc_duration" = "1000"
src/fsw/FCCode/MainControlLoop.cpp:134: "attitude_controller_duration" = "1000"
src/fsw/FCCode/MainControlLoop.cpp:135: "adcs_commander_duration" = "1000"
src/fsw/FCCode/MainControlLoop.cpp:136: "adcs_box_controller_duration" = "10000"
src/fsw/FCCode/MainControlLoop.cpp:137: "orbit_duration" = "5000"
src/fsw/FCCode/MainControlLoop.cpp:138: "prop_duration" = "28000"
src/fsw/FCCode/MainControlLoop.cpp:139: "downlink_duration" = "1000"
src/fsw/FCCode/MainControlLoop.cpp:140: "quake_duration" = "30000"
src/fsw/FCCode/MainControlLoop.cpp:141: "docking_duration" = "10000"
src/fsw/FCCode/MainControlLoop.cpp:142: "eeprom_duration" = "16600"
src/fsw/FCCode/MissionManager.hpp:32: "initial_detumble_safety_factor" = "0.025"
src/fsw/FCCode/MissionManager.hpp:33: "initial_close_approach_trigger_dist" = "2000"
src/fsw/FCCode/MissionManager.hpp:34: "initial_docking_trigger_dist" = "0.4"
src/fsw/FCCode/MissionManager.hpp:40: "deployment_wait_batch_size" = "100"
src/fsw/FCCode/MissionManager.hpp:46: "deployment_wait" = "PAN::one_day_ccno / (24 * 2)"
src/fsw/FCCode/MissionManager.hpp:52: "deployment_wait_batch_thresh" = "deployment_wait/deployment_wait_batch_size + 1"
src/fsw/FCCode/MissionManager.hpp:57: "initial_docking_timeout_limit" = "PAN::one_day_ccno"
src/fsw/FCCode/MissionManager.hpp:225: "kill_switch_value" = "127"
src/fsw/FCCode/OrbitController.hpp:18: "valve_time_lin_reg_slope" = "0.024119"
src/fsw/FCCode/OrbitController.hpp:19: "valve_time_lin_reg_intercept" = "7.0092e-05"
src/fsw/FCCode/PiksiControlTask.hpp:15: "PIKSI_MD_THRESHOLD" = "100000"
src/fsw/FCCode/PiksiFaultHandler.hpp:10: "default_no_cdgps_max_wait" = "PAN::one_day_ccno"
src/fsw/FCCode/PiksiFaultHandler.hpp:11: "default_cdgps_delay_max_wait" = "PAN::one_day_ccno/8"
src/fsw/FCCode/PiksiFaultHandler.hpp:12: "piksi_dead_threshold" = "PAN::one_day_ccno/6"
src/fsw/FCCode/PropController.hpp:30: "orbit_ccno" = "PAN::one_day_ccno*(96)/(24*60)"
src/fsw/FCCode/PropController.hpp:32: "max_venting_cycles_ic" = "20"
src/fsw/FCCode/PropController.hpp:33: "max_pressurizing_cycles_ic" = "20"
src/fsw/FCCode/PropController.hpp:34: "threshold_firing_pressure_ic" = "25.0f"
src/fsw/FCCode/PropController.hpp:35: "ctrl_cycles_per_filling_period_ic" = "1000 / PAN::control_cycle_time_ms"
src/fsw/FCCode/PropController.hpp:36: "ctrl_cycles_per_cooling_period_ic" = "10 * 1000 / PAN::control_cycle_time_ms"
src/fsw/FCCode/PropController.hpp:38: "tank1_valve_choice_ic" = "0"
src/fsw/FCCode/PropController.hpp:39: "ctrl_cycles_per_close_period_ic" = "1000 / PAN::control_cycle_time_ms"
src/fsw/FCCode/PropController.hpp:159: "max_safe_pressure" = "75"
src/fsw/FCCode/PropController.hpp:160: "max_safe_temp" = "49"
src/fsw/FCCode/QuakeManager.h:290: "max_config_cycles" = "5"
src/fsw/FCCode/QuakeManager.h:291: "max_write_cycles" = "5"
src/fsw/FCCode/QuakeManager.h:292: "max_read_cycles" = "5"
src/fsw/FCCode/QuakeManager.h:294: "packet_size" = "70"
src/fsw/FCCode/constants.hpp:11: "control_cycle_time_ms" = "170"
src/fsw/FCCode/constants.hpp:12: "control_cycle_time_us" = "control_cycle_time_ms * 1000"
src/fsw/FCCode/constants.hpp:13: "control_cycle_time_ns" = "control_cycle_time_us * 1000"
src/fsw/FCCode/constants.hpp:14: "control_cycle_time" = "control_cycle_time_us"
src/fsw/FCCode/constants.hpp:16: "control_cycle_time_ms" = "170"
src/fsw/FCCode/constants.hpp:17: "control_cycle_time_us" = "control_cycle_time_ms * 1000"
src/fsw/FCCode/constants.hpp:18: "control_cycle_time_ns" = "control_cycle_time_us * 1000"
src/fsw/FCCode/constants.hpp:20: "control_cycle_time" = "control_cycle_time_ns"
src/fsw/FCCode/constants.hpp:22: "control_cycle_time" = "control_cycle_time_us"
src/fsw/FCCode/constants.hpp:27: "one_day_ccno" = "1400"
src/fsw/FCCode/constants.hpp:31: "one_day_ccno" = "10 * 1000 / control_cycle_time_ms"
src/fsw/FCCode/constants.hpp:33: "one_day_ccno" = "24 * 60 * 60 * 1000 / control_cycle_time_ms"
src/fsw/FCCode/Drivers/ADCS.cpp:18: "adcs_i2c_timeout" = "1000"
src/fsw/FCCode/Drivers/ADCS.hpp:21: "ADDRESS" = "0x4E"
src/fsw/FCCode/Drivers/ADCS.hpp:22: "WHO_AM_I_EXPECTED" = "0x0F"
src/fsw/FCCode/Drivers/DCDC.hpp:18: "ADCSMotorDCDC_EN" = "24"
src/fsw/FCCode/Drivers/DCDC.hpp:19: "SpikeDockDCDC_EN" = "25"
src/fsw/FCCode/Drivers/DockingSystem.hpp:22: "motor_i1_pin" = "14"
src/fsw/FCCode/Drivers/DockingSystem.hpp:24: "motor_i2_pin" = "15"
src/fsw/FCCode/Drivers/DockingSystem.hpp:26: "motor_direction_pin" = "16"
src/fsw/FCCode/Drivers/DockingSystem.hpp:28: "motor_sleep_pin" = "17"
src/fsw/FCCode/Drivers/DockingSystem.hpp:30: "motor_step_pin" = "39"
src/fsw/FCCode/Drivers/DockingSystem.hpp:32: "switch_pin" = "36"
src/fsw/FCCode/Drivers/DockingSystem.hpp:123: "step_angle" = "0.032"
src/fsw/FCCode/Drivers/DockingSystem.hpp:125: "step_delay" = "4000"
src/fsw/FCCode/Drivers/Gomspace.cpp:15: "gomspace_timeout" = "10000"
src/fsw/FCCode/Drivers/Gomspace.hpp:16: "wire" = "Wire"
src/fsw/FCCode/Drivers/Gomspace.hpp:18: "address" = "0x02"
src/fsw/FCCode/Drivers/Piksi.hpp:36: "BAUD_RATE" = "115200"
src/fsw/FCCode/Drivers/Piksi.hpp:39: "READ_ALL_LIMIT" = "900"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:243: "temp_a" = "-35126.92396"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:244: "temp_exp" = "0.005"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:245: "temp_b" = "35493.23411"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:249: "tank_temp_min" = "-55"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:250: "tank_temp_max" = "150"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:274: "valve_primary_pin" = "27"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:275: "valve_backup_pin" = "28"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:276: "tank1_temp_sensor_pin" = "21"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:307: "valve1_pin" = "3"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:308: "valve2_pin" = "4"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:309: "valve3_pin" = "5"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:310: "valve4_pin" = "6"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:312: "tank2_temp_sensor_pin" = "22"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:322: "pressure_sensor_low_pin" = "23"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:323: "pressure_sensor_high_pin" = "20"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:328: "min_firing_duration_ms" = "10"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:332: "high_gain_offset" = "-0.184718912018209"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:333: "high_gain_slope" = "0.048515346351665"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:334: "low_gain_offset" = "0.008416069224410"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:335: "low_gain_slope" = "0.099084652547468"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:338: "high_gain_offset" = "-0.117344667889011"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:339: "high_gain_slope" = "0.048704545372229"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:340: "low_gain_offset" = "0.154615074342871"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:341: "low_gain_slope" = "0.099017990785657"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:345: "amp_threshold" = "950"
src/fsw/FCCode/Drivers/PropulsionSystem.hpp:348: "thrust_valve_loop_interval_ms" = "3"
src/fsw/FCCode/Estimators/AttitudeEstimator.cpp:18: "ATTITUDE_ESTIMATOR_FAULT_PERSISTANCE" = "150"
src/fsw/FCCode/Estimators/OrbitEstimator.cpp:14: "Orbit_sqrtQ_r" = "0.1"
src/fsw/FCCode/Estimators/OrbitEstimator.cpp:15: "Orbit_sqrtQ_v" = "0.1"
src/fsw/FCCode/Estimators/OrbitEstimator.cpp:21: "Orbit_sqrtR_r" = "5.0"
src/fsw/FCCode/Estimators/OrbitEstimator.cpp:22: "Orbit_sqrtR_v" = "5.0"
src/fsw/FCCode/Estimators/RelativeOrbitEstimator.cpp:25: "RelOrbit_sqrtQ_r" = "1.0e-8"
src/fsw/FCCode/Estimators/RelativeOrbitEstimator.cpp:26: "RelOrbit_sqrtQ_v" = "1.0e-2"
src/fsw/FCCode/Estimators/RelativeOrbitEstimator.cpp:32: "RelOrbit_sqrtR_r" = "1.0e-1"
src/fsw/FCCode/Estimators/RelativeOrbitEstimator.cpp:310: "REL_ORBIT_CC_PREDICT_LIMIT" = "5000"