<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%-------------------------------------------------------------------------
\newpage \subsection*{Parameter Summary for BHV\_PeriodicSurface}
%-------------------------------------------------------------------------

\begin{table}[ht]
\begin{minipage}[c]{1.0\textwidth}
  \centering
  \mbox{
  \footnotesize
  \begin{tabular}{|l|l|l|c|l|r|} \hline Parameter &amp; Argument Type &amp;
    Example &amp; Case-Sense &amp; Default &amp; Page \\ \hline \hline
    \input{behaviors/apx_params_general}
    acomms\_mark\_variable &amp; MOOSVAR &amp; \vvar{RANGE\_RECEIVED} &amp; yes &amp; -  &amp; \pageref{bhv_periodicsurface} \\
    ascent\_grade    &amp; string  &amp; \vvar{quasi}         &amp; no  &amp; \vvar{linear} &amp; \pageref{sec_psurf_ascent_grade}  \\
    ascent\_speed    &amp; double  &amp; \vvar{1.0}           &amp; -   &amp; \vvar{*}      &amp; \pageref{sec_psurf_ascent_speed}  \\
    mark\_variable   &amp; MOOSVAR &amp; \vvar{GPS\_RECEIVED}    &amp; yes &amp; \vvar{GPS\_UPDATE\_RECEIVED} &amp; \pageref{sec_psurf_mark_variable} \\
    max\_time\_at\_surface &amp; MOOSVAR &amp; \vvar{60} &amp; yes &amp; \vvar{300} &amp; \pageref{sec_psurf_max_time_at_surface} \\
    period           &amp; double  &amp; \vvar{60}            &amp; -   &amp;    \vvar{300} &amp; \pageref{sec_psurf_period}  \\
    zero\_speed\_depth     &amp; double  &amp; \vvar{2.5}     &amp; -   &amp; \vvar{0}      &amp; \pageref{sec_psurf_zero_speed_depth}  \\ \hline
  \end{tabular}
  \normalsize}
\end{minipage}
\caption{Parameters for the BHV\_PeriodicSurface behavior.}
\label{table_bparams_persurface}
\end{table}

\subsection*{Example Behavior File Configuration for  BHV\_PeriodicSurface}

\refstepcounter{alisting}
\vspace{0.1in}
\noindent
{\em {Listing \thesection.\arabic{alisting} - An example BHV\_PeriodicSurface configuration.}}
\label{bhv_periodicsurface_block}
\scriptsize
\begin{verbatim}
 0  Behavior = BHV_PeriodicSurface
 1  {
 2    name          = bhv_periodic_surface
 3    priority      = 500
 4    active_flag   = SURFACING, IN_PROGRESS
 5    inactive_flag = SURFACING, NO
 6
 7                  period = 3600     // seconds
 8            ascent_speed = 1.0      // meters per second
 9        zero_speed_depth = 2.5      // meters
10     max_time_at_surface = 120      // seconds
11            ascent_grade = linear   
12    acomms_mark_variable = RANGE_RECEIVED       
13           mark_variable = GPS_UPDATE_RECEIVED       
14         status_variable = PERIODIC_PENDING_SURFACE  
15  }
\end{verbatim}
\normalsize
</pre></body></html>