1 |
behavior_name=sample |
---|
2 |
# sample all science sensors on down cast only |
---|
3 |
# 10-July-2010 ballsup@webbresearch.com handwritten for stock.mi |
---|
4 |
# 17-Jan-2012 cbc@unc.edu adapt for Wetlabs 3-beam scatterometer only sample all the time every two seconds |
---|
5 |
<start:b_arg> |
---|
6 |
# Scatterometer only |
---|
7 |
b_arg: sensor_type(enum) 10 # ALL 0 C_SCIENCE_ALL_ON |
---|
8 |
# PROFILE 1 C_PROFILE_ON |
---|
9 |
# HS2 2 C_HS2_ON |
---|
10 |
# BB2F 3 C_BB2F_ON |
---|
11 |
# BB2C 4 C_BB2C_ON |
---|
12 |
# BB2LSS 5 C_BB2LSS_ON |
---|
13 |
# SAM 6 C_SAM_ON |
---|
14 |
# WHPAR 7 C_WHPAR_ON |
---|
15 |
# WHGPBM 8 C_WHGPBM_ON |
---|
16 |
# MOTEBB 9 C_MOTEBB_ON |
---|
17 |
# BBFL2S 10 C_BBFL2S_ON |
---|
18 |
# FL3SLO 11 C_FL3SLO_ON |
---|
19 |
# BB3SLO 12 C_BB3SLO_ON |
---|
20 |
# OXY3835 13 C_OXY3835_ON |
---|
21 |
# WHFCTD 14 C_WHFCTD_ON |
---|
22 |
# BAM 15 C_BAM_ON |
---|
23 |
# OCR504R 16 C_OCR504R_ON |
---|
24 |
# OCR504I 17 C_OCR504I_ON |
---|
25 |
# BADD 18 C_BADD_ON |
---|
26 |
# FLNTU 19 C_FLNTU_ON |
---|
27 |
# FL3SLOV2 20 C_FL3SLOV2_ON |
---|
28 |
# BB3SLOV2 21 C_BB3SLOV2_ON |
---|
29 |
# OCR507R 22 C_OCR507R_ON |
---|
30 |
# OCR507I 23 C_OCR507I_ON |
---|
31 |
# BB3SLOV3 24 C_BB3SLOV3_ON |
---|
32 |
# BB2FLS 25 C_BB2FLS_ON |
---|
33 |
# BB2FLSV2 26 C_BB2FLSV2_ON |
---|
34 |
# OXY3835_WPHASE 27 C_OXY3835_WPHASE_ON |
---|
35 |
# AUVB 28 C_AUVB_ON |
---|
36 |
# BB2FV2 29 C_BB2FV2_ON |
---|
37 |
# TARR 30 C_TARR_ON |
---|
38 |
# BBFL2SV2 31 C_BBFL2SV2_ON |
---|
39 |
# GLBPS 32 C_GLBPS_ON |
---|
40 |
# SSCSD 33 C_SSCSD_ON |
---|
41 |
# BB2FLSV3 34 C_BB2FLSV3_ON |
---|
42 |
# FIRE 35 C_FIRE_ON |
---|
43 |
# OHF 36 C_OHF_ON |
---|
44 |
# BB2FLSV4 37 C_BB2FLSV4_ON |
---|
45 |
# BB2FLSV5 38 C_BB2FLSV5_ON |
---|
46 |
# LOGGER 39 C_LOGGER_ON |
---|
47 |
# BBAM 40 C_BBAM_ON |
---|
48 |
# UMODEM 41 C_UMODEM_ON |
---|
49 |
# RINKOII 42 C_RINKOII_ON |
---|
50 |
# DVL 43 C_DVL_ON |
---|
51 |
# BB2FLSV6 44 C_BB2FLSV6_ON |
---|
52 |
# FLBBRH 45 C_FLBBRH_ON |
---|
53 |
# FLUR 46 C_FLUR_ON |
---|
54 |
# BB2FLSV7 47 C_BB2FLSV7_ON |
---|
55 |
# FLBBCD 48 C_FLBBCD_ON |
---|
56 |
# DMON 49 C_DMON_ON |
---|
57 |
# C3SFL 50 C_C3SFL_ON |
---|
58 |
# SUNA 51 C_SUNA_ON |
---|
59 |
# SATPAR 52 C_SATPAR_ON |
---|
60 |
# VSF 53 C_VSF_ON |
---|
61 |
# OXY4330F 54 C_OXY4330F_ON |
---|
62 |
# GAMMA_RAD5 55 C_GAMMA_RAD5_ON |
---|
63 |
# BSIPAR 56 C_BSIPAR_ON |
---|
64 |
# <PROTO> pick next number here for new proglet |
---|
65 |
# REQUIRED: also add it to: science_super.c: __ss_indexes[], |
---|
66 |
# add it to output_sensors[] in snsr_in.c, |
---|
67 |
# and update header doco in sample.c. |
---|
68 |
|
---|
69 |
# Diving/hovering/climbing |
---|
70 |
b_arg: state_to_sample(enum) 7 # This is a bit-field, combine: |
---|
71 |
# 8 on_surface, 4 climbing, 2 hovering, 1 diving |
---|
72 |
# 0 none |
---|
73 |
# 1 diving |
---|
74 |
# 2 hovering |
---|
75 |
# 3 diving|hovering |
---|
76 |
# 4 climbing |
---|
77 |
# 5 diving|climbing |
---|
78 |
# 6 hovering|climbing |
---|
79 |
# 7 diving|hovering|climbing |
---|
80 |
# 8 on_surface |
---|
81 |
# 9 diving|on_surface |
---|
82 |
# 10 hovering|on_surface |
---|
83 |
# 11 diving|hovering|on_surface |
---|
84 |
# 12 climbing|on_surface |
---|
85 |
# 13 diving|climbing|on_surface |
---|
86 |
# 14 hovering|climbing|on_surface |
---|
87 |
# 15 diving|hovering|climbing|on_surface |
---|
88 |
|
---|
89 |
# Start sampling immediately |
---|
90 |
b_arg: sample_time_after_state_change(s) 0 # time after a positional stat |
---|
91 |
# change to continue sampling |
---|
92 |
|
---|
93 |
# Every two seconds |
---|
94 |
b_arg: intersample_time(s) 2 # if < 0 then off, if = 0 then |
---|
95 |
# as fast as possible, and if |
---|
96 |
# > 0 then that many seconds |
---|
97 |
# between measurements |
---|
98 |
|
---|
99 |
# Sample every yo |
---|
100 |
b_arg: nth_yo_to_sample(nodim) 1 # After the first yo, sample only |
---|
101 |
# on every nth yo. If argument is |
---|
102 |
# negative then exclude first yo. |
---|
103 |
|
---|
104 |
# Use intersample_time |
---|
105 |
b_arg: intersample_depth(m) -1 # supersedes intersample_time |
---|
106 |
# by dynamically estimating |
---|
107 |
# and setting intersample_time |
---|
108 |
# to sample at the specified |
---|
109 |
# depth interval. If <=0 then |
---|
110 |
# then sample uses |
---|
111 |
# intersample_time, if > 0 then |
---|
112 |
# that many meters between |
---|
113 |
# measurements |
---|
114 |
|
---|
115 |
# Leave on at surface |
---|
116 |
b_arg: min_depth(m) -5 # minimum depth to collect data, default |
---|
117 |
# is negative to leave on at surface in |
---|
118 |
# spite of noise in depth reading |
---|
119 |
|
---|
120 |
# Leave on throughout yo |
---|
121 |
b_arg: max_depth(m) 2000 # maximum depth to collect data |
---|
122 |
|
---|
123 |
<end:b_arg> |
---|