Skip to content

Commit c0e0a11

Browse files
committed
added rosie directory
1 parent 4b508b2 commit c0e0a11

11 files changed

Lines changed: 442 additions & 0 deletions

File tree

dfo_rosie713/missions/GOTO_L10.MA

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
behavior_name=goto_list
2+
# Written by gen-goto-list-ma ver 1.0 on GMT:Tue Feb 19 18:56:54 2002
3+
# 2019-08-12 JMK
4+
5+
# goto_l10.ma
6+
# Flies the box in ashumet
7+
# Each leg about 200m
8+
9+
# this file P16nw-P16ne-P16 (should start on last waypoint --P16-- because we are still near P14)
10+
11+
<start:b_arg>
12+
b_arg: num_legs_to_run(nodim) -1 # loop
13+
b_arg: start_when(enum) 0 # BAW_IMMEDIATELY
14+
b_arg: list_stop_when(enum) 7 # BAW_WHEN_WPT_DIST
15+
b_arg: initial_wpt(enum) -2 # closest
16+
b_arg: num_waypoints(nodim) 4
17+
<end:b_arg>
18+
<start:waypoints>
19+
-13442.0000 4917.5500
20+
-13438.0000 4917.5500
21+
-13440.0000 4917.0000
22+
<end:waypoints>

dfo_rosie713/missions/SAMPLE10.MA

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
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+
5+
<start:b_arg>
6+
b_arg: sensor_type(enum) 0 # ALL 0 C_SCIENCE_ALL_ON
7+
# PROFILE 1 C_PROFILE_ON
8+
# HS2 2 C_HS2_ON !!DELETED!!
9+
# BB2F 3 C_BB2F_ON
10+
# BB2C 4 C_BB2C_ON
11+
# BB2LSS 5 C_BB2LSS_ON
12+
# SAM 6 C_SAM_ON
13+
# WHPAR 7 C_WHPAR_ON !!DELETED!!
14+
# WHGPBM 8 C_WHGPBM_ON !!DELETED!!
15+
# MOTEOPD 9 C_MOTEOPD_ON
16+
# BBFL2S 10 C_BBFL2S_ON
17+
# FL3SLO 11 C_FL3SLO_ON
18+
# BB3SLO 12 C_BB3SLO_ON
19+
# OXY3835 13 C_OXY3835_ON
20+
# WHFCTD 14 C_WHFCTD_ON
21+
# BAM 15 C_BAM_ON
22+
# OCR504R 16 C_OCR504R_ON
23+
# OCR504I 17 C_OCR504I_ON
24+
# BADD 18 C_BADD_ON
25+
# FLNTU 19 C_FLNTU_ON
26+
# FL3SLOV2 20 C_FL3SLOV2_ON
27+
# BB3SLOV2 21 C_BB3SLOV2_ON
28+
# OCR507R 22 C_OCR507R_ON
29+
# OCR507I 23 C_OCR507I_ON
30+
# BB3SLOV3 24 C_BB3SLOV3_ON
31+
# BB2FLS 25 C_BB2FLS_ON
32+
# BB2FLSV2 26 C_BB2FLSV2_ON
33+
# OXY3835_WPHASE 27 C_OXY3835_WPHASE_ON
34+
# AUVB 28 C_AUVB_ON
35+
# BB2FV2 29 C_BB2FV2_ON
36+
# TARR 30 C_TARR_ON
37+
# BBFL2SV2 31 C_BBFL2SV2_ON
38+
# GLBPS 32 C_GLBPS_ON
39+
# SSCSD 33 C_SSCSD_ON
40+
# BB2FLSV3 34 C_BB2FLSV3_ON
41+
# FIRE 35 C_FIRE_ON
42+
# OHF 36 C_OHF_ON !!DELETED!!
43+
# BB2FLSV4 37 C_BB2FLSV4_ON
44+
# BB2FLSV5 38 C_BB2FLSV5_ON
45+
# LOGGER 39 C_LOGGER_ON
46+
# BBAM 40 C_BBAM_ON
47+
# UMODEM 41 C_UMODEM_ON
48+
# RINKOII 42 C_RINKOII_ON
49+
# DVL 43 C_DVL_ON
50+
# BB2FLSV6 44 C_BB2FLSV6_ON
51+
# FLBBRH 45 C_FLBBRH_ON
52+
# FLUR 46 C_FLUR_ON
53+
# BB2FLSV7 47 C_BB2FLSV7_ON
54+
# FLBBCD 48 C_FLBBCD_ON
55+
# DMON 49 C_DMON_ON
56+
# C3SFL 50 C_C3SFL_ON
57+
# SUNA 51 C_SUNA_ON
58+
# SATPAR 52 C_SATPAR_ON
59+
# VSF 53 C_VSF_ON
60+
# OXY4 54 C_OXY4_ON
61+
# GAMMA_RAD5 55 C_GAMMA_RAD5_ON !!DELETED!!
62+
# BSIPAR 56 C_BSIPAR_ON
63+
# FLBB 57 C_FLBB_ON
64+
# VR2C 58 C_VR2C_ON
65+
# CTD41CP2 59 C_CTD41CP2_ON
66+
# ECHOSNDR853 60 C_ECHOSNDR853_ON
67+
# FLRH 61 C_FLRH_ON
68+
# BB2FLSV8 62 C_BB2FLSV8_ON
69+
# UVILUXPAH 63 C_UVILUXPAH_ON
70+
# AD2CP 64 C_AD2CP_ON
71+
# MINIPROCO2 65 C_MINIPROCO2_ON
72+
# PCO2 66 C_PCO2_ON
73+
# SEAOWL 67 C_SEAOWL_ON
74+
# AZFP 68 C_AZFP_ON
75+
# UBAT 69 C_UBAT_ON
76+
# LISST 70 C_LISST_ON
77+
# LMS 71 C_LMS_ON
78+
# SVS603 72 C_SVS603_ON
79+
# MICRORIDER 73 C_MICRORIDER_ON
80+
# BB2FLSV9 74 C_BB2FLSV9_ON
81+
# SBE41N_PH 75 C_SBE41N_PH_ON
82+
# FL2URRH 76 C_FL2URRH_ON
83+
# FLBBBBV1 77 C_FLBBBBV1_ON
84+
# FLBBBBV2 78 C_FLBBBBV2_ON
85+
# OBSVR 79 C_OBSVR_ON
86+
87+
# This is a bit-field, combine:
88+
# 8 on_surface, 4 climbing, 2 hovering, 1 diving
89+
b_arg: state_to_sample(enum) 1 # 0 none
90+
# 1 diving
91+
# 2 hovering
92+
# 3 diving|hovering
93+
# 4 climbing
94+
# 5 diving|climbing
95+
# 6 hovering|climbing
96+
# 7 diving|hovering|climbing
97+
# 8 on_surface
98+
# 9 diving|on_surface
99+
# 10 hovering|on_surface
100+
# 11 diving|hovering|on_surface
101+
# 12 climbing|on_surface
102+
# 13 diving|climbing|on_surface
103+
# 14 hovering|climbing|on_surface
104+
# 15 diving|hovering|climbing|on_surface
105+
106+
107+
b_arg: intersample_time(s) 0 # if < 0 then off, if = 0 then
108+
# as fast as possible, and if
109+
# > 0 then that many seconds
110+
# between measurements
111+
112+
b_arg: nth_yo_to_sample(nodim) 1 # After the first yo, sample only
113+
# on every nth yo. If argument is
114+
# negative then exclude first yo.
115+
116+
b_arg: intersample_depth(m) -1 # supersedes intersample_time
117+
# by dynamically estimating
118+
# and setting intersample_time
119+
# to sample at the specified
120+
# depth interval. If <=0 then
121+
# then sample uses
122+
# intersample_time, if > 0 then
123+
# that many meters between
124+
# measurements
125+
126+
b_arg: min_depth(m) -5 # minimum depth to collect data, default
127+
# is negative to leave on at surface in
128+
# spite of noise in depth reading
129+
b_arg: max_depth(m) 2000 # maximum depth to collect data
130+
131+
<end:b_arg>

dfo_rosie713/missions/SURFAC01.MA

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
behavior_name=surface
2+
# Written by SFMC on UTC: 2019-03-14T18:20:53.385
3+
# surfac01.ma
4+
5+
<start:b_arg>
6+
b_arg: start_when(enum) 8 # BAW_WHEN_HIT_WAYPOINT
7+
b_arg: end_action(enum) 1 # Wait for Ctrl-C Quit/Resume
8+
b_arg: gps_wait_time(sec) 300 # Wait 300 seconds for gps
9+
b_arg: keystroke_wait_time(sec) 300 # Wait 300 seconds for control-C
10+
b_arg: c_use_pitch(enum) 3 # 3:servo
11+
b_arg: c_pitch_value(X) 0.4528 # 26 deg
12+
b_arg: printout_cycle_time(sec) 60.0 # How often to print dialog
13+
<end:b_arg>

dfo_rosie713/missions/SURFAC02.MA

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
behavior_name=surface
2+
# climb to surface with ballast pump full out
3+
# pitch servo'ed to 26 degrees
4+
# Hand Written
5+
# 10 July 2010 ballsup@webbresearch.com based on legacy surfac10.ma
6+
7+
# Come up when mission done
8+
# This is determined by no one steering in x-y plane (no waypoints)
9+
10+
<start:b_arg>
11+
12+
b_arg: start_when(enum) 3 # 0-immediately, 1-stack idle 2-pitch idle 3-heading idle
13+
b_arg: end_action(enum) 0 # 0-quit, 1 wait for ^C quit/resume, 2 resume, 3 drift til "end_wpt_dist"
14+
b_arg: gps_wait_time(s) 300 # how long to wait for gps
15+
b_arg: keystroke_wait_time(sec) 180 # how long to wait for control-C
16+
b_arg: when_wpt_dist(m) 10 # how close to waypoint before surface, only if start_when==7
17+
b_arg: c_use_pitch(enum) 3 # 3:servo
18+
b_arg: c_pitch_value(X) 0.4538 # 26 deg
19+
20+
<end:b_arg>
21+
22+
23+
24+

dfo_rosie713/missions/SURFAC03.MA

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
behavior_name=surface
2+
# climb to surface with ballast pump full out
3+
# pitch servo'ed to 26 degrees
4+
# Hand Written
5+
# 10 July 2010 ballsup@webbresearch.com based on legacy surfac10.ma
6+
# 08 June 2012 ballsup@webbresearch.com increased surface time to "normal"
7+
8+
# Come up briefly if "yo" finishes
9+
# This happens if a bad altimeter hit causes a dive and climb to
10+
# complete in same cycle, or surfacing for num_half_cycles_to_do
11+
12+
<start:b_arg>
13+
14+
b_arg: start_when(enum) 2 # 0-immediately, 1-stack idle 2-pitch idle 3-heading idle
15+
b_arg: end_action(enum) 1 # 0-quit, 1 wait for ^C quit/resume, 2 resume, 3 drift til "end_wpt_dist"
16+
b_arg: gps_wait_time(s) 300 # how long to wait for gps
17+
b_arg: keystroke_wait_time(sec) 300 # how long to wait for control-C
18+
b_arg: when_wpt_dist(m) 10 # how close to waypoint before surface, only if start_when==7
19+
b_arg: c_use_pitch(enum) 3 # 3:servo
20+
b_arg: c_pitch_value(X) 0.4538 # 26 deg
21+
22+
<end:b_arg>
23+
24+
25+
26+

dfo_rosie713/missions/SURFAC04.MA

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
behavior_name=surface
2+
# climb to surface with ballast pump full out
3+
# pitch servo'ed to 26 degrees
4+
# Hand Written
5+
# 10 July 2010 ballsup@webbresearch.com based on legacy surfac10.ma
6+
7+
# Come up every way point
8+
9+
<start:b_arg>
10+
11+
b_arg: start_when(enum) 8 # 8-when hit waypoint
12+
b_arg: end_action(enum) 1 # 0-quit, 1 wait for ^C quit/resume, 2 resume, 3 drift til "end_wpt_dist"
13+
b_arg: gps_wait_time(s) 300 # how long to wait for gps
14+
b_arg: keystroke_wait_time(sec) 300 # how long to wait for control-C
15+
b_arg: when_wpt_dist(m) 10 # how close to waypoint before surface, only if start_when==7
16+
b_arg: c_use_pitch(enum) 3 # 3:servo
17+
b_arg: c_pitch_value(X) 0.4538 # 26 deg
18+
b_arg: printout_cycle_time(sec) 60.0 # How often to print dialog
19+
20+
<end:b_arg>
21+
22+
23+
24+

dfo_rosie713/missions/SURFAC05.MA

843 Bytes
Binary file not shown.

dfo_rosie713/missions/SURFAC06.MA

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
behavior_name=surface
2+
# climb to surface with ballast pump full out
3+
# pitch servo'ed to 26 degrees
4+
# Hand Written
5+
# 10 July 2010 ballsup@webbresearch.com based on legacy surfac10.ma
6+
7+
# Come up every three hours
8+
9+
<start:b_arg>
10+
11+
b_arg: start_when(enum) 9 # 9-every when_secs
12+
b_arg: end_action(enum) 1 # 0-quit, 1 wait for ^C quit/resume, 2 resume, 3 drift til "end_wpt_dist"
13+
14+
b_arg: when_secs(s) 10800 # How long between surfacing, only if start_when==6 or 9
15+
16+
17+
b_arg: gps_wait_time(s) 300 # how long to wait for gps
18+
b_arg: keystroke_wait_time(sec) 300 # how long to wait for control-C
19+
b_arg: when_wpt_dist(m) 10 # how close to waypoint before surface, only if start_when==7
20+
b_arg: c_use_pitch(enum) 3 # 3:servo
21+
b_arg: c_pitch_value(X) 0.4538 # 26 deg
22+
b_arg: printout_cycle_time(sec) 60.0 # How often to print dialog
23+
24+
<end:b_arg>

dfo_rosie713/missions/YO10.MA

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
behavior_name=yo
2+
# yo10.ma
3+
# climb 3m dive 12m alt 9m pitch 26 deg
4+
# Hand Written
5+
# 18-Feb-02 tc@DinkumSoftware.com Initial
6+
# 13-Mar-02 tc@DinkumSoftware.com Bug fix, end_action from quit(0) to resume(2)
7+
# 09-Apr-03 kniewiad@webbresearch.com Adjusted for Ashumet
8+
9+
<start:b_arg>
10+
b_arg: start_when(enum) 2 # pitch idle (see doco below)
11+
b_arg: num_half_cycles_to_do(nodim) -1 # Number of dive/climbs to perform
12+
# <0 is infinite, i.e. never finishes
13+
14+
# arguments for dive_to
15+
b_arg: d_target_depth(m) 12
16+
b_arg: d_target_altitude(m) 3
17+
18+
b_arg: d_use_pitch(enum) 3 # 1:battpos 2:setonce 3:servo
19+
# in rad rad, <0 dive
20+
b_arg: d_pitch_value(X) -0.4538 # -26 deg
21+
22+
# arguments for climb_to
23+
b_arg: c_target_depth(m) 3
24+
b_arg: c_target_altitude(m) -1
25+
26+
b_arg: c_use_pitch(enum) 3 # 1:battpos 2:setonce 3:servo
27+
# in rad rad, >0 climb
28+
b_arg: c_pitch_value(X) 0.4538 # 26 deg
29+
30+
31+
b_arg: end_action(enum) 2 # 0-quit, 2 resume
32+
<end:b_arg>
33+
34+
35+
# NOTE: These are symbolically defined beh_args.h
36+
# b_arg: START_WHEN When the behavior should start, i.e. go from UNITIALIZED to ACTIVE
37+
# BAW_IMMEDIATELY 0 // immediately
38+
# BAW_STK_IDLE 1 // When stack is idle (nothing is being commanded)
39+
# BAW_PITCH_IDLE 2 // When pitch is idle(nothing is being commanded)
40+
# BAW_HEADING_IDLE 3 // When heading is idle(nothing is being commanded)
41+
# BAW_UPDWN_IDLE 4 // When bpump/threng is idle(nothing is being commanded)
42+
# BAW_NEVER 5 // Never stop
43+
# BAW_WHEN_SECS 6 // After behavior arg "when_secs", from prior END if cycling
44+
# BAW_WHEN_WPT_DIST 7 // When sensor(m_dist_to_wpt) < behavior arg "when_wpt_dist"
45+
# BAW_WHEN_HIT_WAYPOINT 8 // When X_HIT_A_WAYPOINT is set by goto_wpt behavior
46+
# BAW_EVERY_SECS 9 // After behavior arg "when_secs", from prior START if cycling
47+
# BAW_EVERY_SECS_UPDWN_IDLE 10 // After behavior arg "when_secs", from prior START AND
48+
# // updown is idle, no one commanding vertical motion
49+
# BAW_SCI_SURFACE 11 // SCI_WANTS_SURFACE is non-zero
50+
# BAW_NOCOMM_SECS 12 // when have not had comms for WHEN_SECS secs
51+
#
52+
# b_arg: STOP_WHEN
53+
# 0 complete
54+
# 1-N same as "start_when"

dfo_rosie713/missions/YO14.MA

3.54 KB
Binary file not shown.

0 commit comments

Comments
 (0)