\documentclass[10pt]{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Madrid}
% \usecolortheme{dolphin}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{navigation symbols}{}


\title{Weekly Report}
\author{Marius Peter}
\institute{UCLA $I^2BL$}
\date{July 12th, 2019}


\begin{document}

\frame{\titlepage}

\begin{frame}
    \frametitle{Outline}
    \tableofcontents
\end{frame}

\section{Key Progress}

% \subsection{App Structure}
% \begin{frame}
%     \frametitle{App Structure}
%     \begin{columns}
%         \column{0.4\textwidth}
%         \begin{block}{Initializing}
%             \begin{enumerate}
%                 \item Splash Screen:\\
%                       Welcome, I2BL logo
%                 \item BT Auth:\\
%                       Connect to BT chip
%                 \item ITP Set:\\
%                       Chose location
%                 \item Plot Input:\\
%                       ITP (mA) vs. t (s)
%             \end{enumerate}
%         \end{block}
%         \column{0.4\textwidth}
%         \begin{block}{Sensing}
%             \begin{enumerate}
%                 \item Acquire data:\\
%                       Retrieve data from BT
%                 \item Plot:\\
%                       Plot output mA vs. s
%             \end{enumerate}
%         \end{block}
%         \begin{block}{Writing}
%             \begin{enumerate}
%                 \item Write:\\
%                       Write to .txt file
%             \end{enumerate}
%         \end{block}
%     \end{columns}
% \end{frame}

% \begin{frame}
%     \frametitle{This Week's Update}
%     \begin{columns}
%         \column[t]{0.48\textwidth}
%         \begin{block}{New features}
%             \begin{enumerate}
%                 \item a-f selector in GUI
%                 \item A-F selector in GUI
%                 \item Primary feature
%                       \begin{itemize}
%                           \item Does this
%                           \item Facilitates that
%                       \end{itemize}
%                 \item Secondary feature
%                       \begin{itemize}
%                           \item Does that
%                           \item Replaces need to do this
%                       \end{itemize}
%                 \item Minor feature 1: get this value
%                 \item Minor feature 2: return this object property
%             \end{enumerate}
%         \end{block}
%         \column[t]{0.48\textwidth}
%         \begin{block}{Refactored code}
%             \begin{enumerate}
%                 \item Function 1:\\
%                       Simplified it
%                 \item Function 2:\\
%                       Expanded it
%                 \item Function 3:\\
%                       Documented it
%             \end{enumerate}
%         \end{block}
%     \end{columns}
% \end{frame}

\begin{frame}
    \frametitle{ITP Location Selector}
    \begin{columns}
        \column[t]{0.3\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/hexagon1.png}
            \caption{GUI on Wednesday}
        \end{figure}
        \column[t]{0.3\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/hexagon2.png}
            \caption{Gui on Friday}
        \end{figure}
        \column[t]{0.3\textwidth}
        Added:
        \begin{itemize}
            \item Serves toast confirming \texttt{dataSend}
        \end{itemize}
        Replaced:
        \begin{itemize}
            \item Leaf background with neutral hexagon
        \end{itemize}
        Removed:
        \begin{itemize}
            \item Superfluous toast messages
        \end{itemize}
    \end{columns}
\end{frame}
\begin{frame}
    \frametitle{App Output}
    \begin{columns}
        \column[t]{0.48\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/data.png}
            \caption{Initial .txt file output}
        \end{figure}
        \column[t]{0.48\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/file.png}
            \caption{Contents of the \texttt{ITP\_a\_<date+time>.txt} file}
        \end{figure}
    \end{columns}
\end{frame}
\begin{frame}
    \frametitle{Enforced Naming Conventions}
    \begin{itemize}
        \item File name structure:\\
              \texttt{ITP\_<padName>\_<date+time>.txt}
        \item File data structure:\\
              \texttt{date | hr:min:sec | secElapsed | ITP}
    \end{itemize}
\end{frame}
\begin{frame}
    \frametitle{ITP \& Sensing Plots}
    \begin{columns}
        \column[t]{0.48\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/toast-create-file.png}
            \caption{Plot after performing ITP}
            \label{}
        \end{figure}
        \column[t]{0.48\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/graph2}
            \caption{Plot after sensing}
            \label{}
        \end{figure}
    \end{columns}
\end{frame}

\begin{frame}
    \frametitle{Sensing Activity}
    \begin{columns}
        \column[t]{0.3\textwidth}
        Added:
        \begin{itemize}
            \item Realistic representation of sensor board
            \item Confirmation toasts \& log messages (level: info)
        \end{itemize}
        Replaced:
        \begin{itemize}
            \item Buttons with clock icons
        \end{itemize}
        \column[t]{0.3\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/a-f.png}
            \caption{}
        \end{figure}
        \column[t]{0.3\textwidth}
        \begin{figure}
            \includegraphics[height=0.7\textheight]{./figures/hexagon_sensing.png}
            \caption{}
        \end{figure}
    \end{columns}
\end{frame}

\section{Roadmap}
\begin{frame}
    \frametitle{Roadmap for Upcoming Week}
    \begin{enumerate}
        \item Frontend:
              \begin{itemize}
                  \item ITP/Sensing graphs
                  \item Setting ITP current (0-9)
                  \item Sensing data from BT
              \end{itemize}
        \item Backend:
              \begin{itemize}
                  \item Complete data retrieval from BT device
              \end{itemize}
        \item Over the weekend:
              \begin{itemize}
                  \item Learn Android BT interface for 4.4 \textit{KitKat} and 6.0 \textit{Lollipop}
                  \item Learn Android \textit{Material UI} specifications for clean GUI presentation
              \end{itemize}
    \end{enumerate}
\end{frame}

\section{Questions}
\begin{frame}
    \frametitle{Questions}
    \begin{enumerate}
        \item What are the top 3 priorities for the upcoming week?
    \end{enumerate}
\end{frame}

\end{document}
