Mercurial > public > hwos_code
comparison src/ostc3.inc @ 187:669b5d00706d
CHANGE: Longer timeout (4 min) for calibration menu
Ignore 1,2mV noise for not-connected inputs
author | heinrichsweikamp |
---|---|
date | Sat, 25 Oct 2014 15:28:18 +0200 |
parents | f515712d8cd6 |
children | ebc28381f17d |
comparison
equal
deleted
inserted
replaced
186:a004b482604a | 187:669b5d00706d |
---|---|
126 #DEFINE depth_warn_mbar .13000 ; [mbar] | 126 #DEFINE depth_warn_mbar .13000 ; [mbar] |
127 #DEFINE wake_up_from_sleep .1160 ; [mbar] | 127 #DEFINE wake_up_from_sleep .1160 ; [mbar] |
128 #DEFINE gf_display_threshold .20 ; [%] | 128 #DEFINE gf_display_threshold .20 ; [%] |
129 #DEFINE simulator_timeout .15 ; [s] | 129 #DEFINE simulator_timeout .15 ; [s] |
130 | 130 |
131 | |
132 ; Surface mode limits and thresholds | 131 ; Surface mode limits and thresholds |
133 #DEFINE cns_display_surface_high .70 ; [%] | 132 #DEFINE cns_display_surface_high .70 ; [%] |
134 #DEFINE high_altitude_threshold .880 ; [mbar] | 133 #DEFINE high_altitude_threshold .880 ; [mbar] |
135 #DEFINE max_surfpressure .1080 ; [mbar] | 134 #DEFINE max_surfpressure .1080 ; [mbar] |
136 #DEFINE timeout_surfacemode .90 ; [s] | 135 #DEFINE timeout_surfacemode .90 ; [s] |
137 | 136 #DEFINE timeout_calibrate_menu .240 ; [s] |
138 | 137 |
139 ; Decomodel paramters | 138 ; Decomodel paramters |
140 #DEFINE no_fly_time_ratio .60 ; [%] | 139 #DEFINE no_fly_time_ratio .60 ; [%] |
141 #DEFINE deco_distance .10 ; [dm] | 140 #DEFINE deco_distance .10 ; [dm] |
142 | 141 |
266 max_CCPR1L res 1 ; Max. brightness value for CCPR1L | 265 max_CCPR1L res 1 ; Max. brightness value for CCPR1L |
267 | 266 |
268 ; Battery gauge (nAs, nC) | 267 ; Battery gauge (nAs, nC) |
269 battery_gauge res 6 ; 48Bit -> 78Ah max... | 268 battery_gauge res 6 ; 48Bit -> 78Ah max... |
270 | 269 |
271 ; IR-Link | 270 ; IR/S8-Link |
272 ir_buffer res .18 | 271 ir_s8_buffer res .18 |
273 ir_counter res 1 | 272 ir_s8_counter res 1 |
274 ir_timeout res 1 ; Timeout for valid data | 273 ir_S8_timeout res 1 ; Timeout for valid data |
275 | 274 |
276 ; Compass raw data | 275 ; Compass raw data |
277 compass_DX res 2 | 276 compass_DX res 2 |
278 compass_DY res 2 | 277 compass_DY res 2 |
279 compass_DZ res 2 | 278 compass_DZ res 2 |