\section{robot\_\-system Struct Reference}
\label{structrobot__system}\index{robot\_\-system@{robot\_\-system}}
{\tt \#include $<$robot\_\-system.h$>$}

\subsection*{Data Fields}
\begin{CompactItemize}
\item 
uint8\_\-t {\bf flags}
\item 
struct {\bf rs\_\-polar} {\bf virtual\_\-pwm}
\item 
struct {\bf rs\_\-polar} {\bf virtual\_\-encoders}
\item 
struct {\bf rs\_\-polar} {\bf pext\_\-prev}
\item 
struct {\bf rs\_\-wheels} {\bf wext\_\-prev}
\item 
int32\_\-t($\ast$ {\bf left\_\-ext\_\-encoder} )(void $\ast$)
\item 
void $\ast$ {\bf left\_\-ext\_\-encoder\_\-param}
\item 
{\bf f64} {\bf left\_\-ext\_\-gain}
\item 
int32\_\-t($\ast$ {\bf right\_\-ext\_\-encoder} )(void $\ast$)
\item 
void $\ast$ {\bf right\_\-ext\_\-encoder\_\-param}
\item 
{\bf f64} {\bf right\_\-ext\_\-gain}
\item 
void($\ast$ {\bf left\_\-pwm} )(void $\ast$, int32\_\-t)
\item 
void $\ast$ {\bf left\_\-pwm\_\-param}
\item 
void($\ast$ {\bf right\_\-pwm} )(void $\ast$, int32\_\-t)
\item 
void $\ast$ {\bf right\_\-pwm\_\-param}
\end{CompactItemize}


\subsection{Detailed Description}


Definition at line 43 of file robot\_\-system.h.

\subsection{Field Documentation}
\index{robot\_\-system@{robot\_\-system}!flags@{flags}}
\index{flags@{flags}!robot_system@{robot\_\-system}}
\subsubsection[flags]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t {\bf robot\_\-system::flags}}\label{structrobot__system_c8acdd5c624f70354d42c3075e3e0b4a}




Definition at line 45 of file robot\_\-system.h.

Referenced by position\_\-manage(), rs\_\-set\_\-flags(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!virtual\_\-pwm@{virtual\_\-pwm}}
\index{virtual\_\-pwm@{virtual\_\-pwm}!robot_system@{robot\_\-system}}
\subsubsection[virtual\_\-pwm]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf rs\_\-polar} {\bf robot\_\-system::virtual\_\-pwm}\hspace{0.3cm}{\tt  [read]}}\label{structrobot__system_c4c538a7fdbafdb3df4c523c11a2c786}




Definition at line 63 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-angle(), and rs\_\-set\_\-distance().\index{robot\_\-system@{robot\_\-system}!virtual\_\-encoders@{virtual\_\-encoders}}
\index{virtual\_\-encoders@{virtual\_\-encoders}!robot_system@{robot\_\-system}}
\subsubsection[virtual\_\-encoders]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf rs\_\-polar} {\bf robot\_\-system::virtual\_\-encoders}\hspace{0.3cm}{\tt  [read]}}\label{structrobot__system_218b7c333c743156a90983438580fa40}




Definition at line 64 of file robot\_\-system.h.

Referenced by rs\_\-get\_\-angle(), rs\_\-get\_\-distance(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!pext\_\-prev@{pext\_\-prev}}
\index{pext\_\-prev@{pext\_\-prev}!robot_system@{robot\_\-system}}
\subsubsection[pext\_\-prev]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf rs\_\-polar} {\bf robot\_\-system::pext\_\-prev}\hspace{0.3cm}{\tt  [read]}}\label{structrobot__system_4b09f186588100d07a5dc22387628d70}




Definition at line 66 of file robot\_\-system.h.

Referenced by rs\_\-get\_\-ext\_\-angle(), rs\_\-get\_\-ext\_\-distance(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!wext\_\-prev@{wext\_\-prev}}
\index{wext\_\-prev@{wext\_\-prev}!robot_system@{robot\_\-system}}
\subsubsection[wext\_\-prev]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf rs\_\-wheels} {\bf robot\_\-system::wext\_\-prev}\hspace{0.3cm}{\tt  [read]}}\label{structrobot__system_944b621af7659bfeff2099311b44f4a6}




Definition at line 67 of file robot\_\-system.h.

Referenced by rs\_\-get\_\-ext\_\-left(), rs\_\-get\_\-ext\_\-right(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!left\_\-ext\_\-encoder@{left\_\-ext\_\-encoder}}
\index{left\_\-ext\_\-encoder@{left\_\-ext\_\-encoder}!robot_system@{robot\_\-system}}
\subsubsection[left\_\-ext\_\-encoder]{\setlength{\rightskip}{0pt plus 5cm}int32\_\-t($\ast$ {\bf robot\_\-system::left\_\-ext\_\-encoder})(void $\ast$)}\label{structrobot__system_eeb4fe03e28d2d2a854b7cfb684c762f}




Referenced by rs\_\-set\_\-left\_\-ext\_\-encoder(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!left\_\-ext\_\-encoder\_\-param@{left\_\-ext\_\-encoder\_\-param}}
\index{left\_\-ext\_\-encoder\_\-param@{left\_\-ext\_\-encoder\_\-param}!robot_system@{robot\_\-system}}
\subsubsection[left\_\-ext\_\-encoder\_\-param]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf robot\_\-system::left\_\-ext\_\-encoder\_\-param}}\label{structrobot__system_008133eb1c0bff9fc2b22bfe03afed34}




Definition at line 71 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-left\_\-ext\_\-encoder(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!left\_\-ext\_\-gain@{left\_\-ext\_\-gain}}
\index{left\_\-ext\_\-gain@{left\_\-ext\_\-gain}!robot_system@{robot\_\-system}}
\subsubsection[left\_\-ext\_\-gain]{\setlength{\rightskip}{0pt plus 5cm}{\bf f64} {\bf robot\_\-system::left\_\-ext\_\-gain}}\label{structrobot__system_cca570f6a06fc48a5bfe97f2f9526d7e}




Definition at line 72 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-left\_\-ext\_\-encoder(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!right\_\-ext\_\-encoder@{right\_\-ext\_\-encoder}}
\index{right\_\-ext\_\-encoder@{right\_\-ext\_\-encoder}!robot_system@{robot\_\-system}}
\subsubsection[right\_\-ext\_\-encoder]{\setlength{\rightskip}{0pt plus 5cm}int32\_\-t($\ast$ {\bf robot\_\-system::right\_\-ext\_\-encoder})(void $\ast$)}\label{structrobot__system_98b9b32a01417f3c2313c70b8b5253e9}




Referenced by rs\_\-set\_\-right\_\-ext\_\-encoder(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!right\_\-ext\_\-encoder\_\-param@{right\_\-ext\_\-encoder\_\-param}}
\index{right\_\-ext\_\-encoder\_\-param@{right\_\-ext\_\-encoder\_\-param}!robot_system@{robot\_\-system}}
\subsubsection[right\_\-ext\_\-encoder\_\-param]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf robot\_\-system::right\_\-ext\_\-encoder\_\-param}}\label{structrobot__system_f21cb9ac6c2ecd1f1415343b2856e4ed}




Definition at line 75 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-right\_\-ext\_\-encoder(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!right\_\-ext\_\-gain@{right\_\-ext\_\-gain}}
\index{right\_\-ext\_\-gain@{right\_\-ext\_\-gain}!robot_system@{robot\_\-system}}
\subsubsection[right\_\-ext\_\-gain]{\setlength{\rightskip}{0pt plus 5cm}{\bf f64} {\bf robot\_\-system::right\_\-ext\_\-gain}}\label{structrobot__system_de157613ce9c6dd1238510b7dc669cea}




Definition at line 76 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-right\_\-ext\_\-encoder(), and rs\_\-update().\index{robot\_\-system@{robot\_\-system}!left\_\-pwm@{left\_\-pwm}}
\index{left\_\-pwm@{left\_\-pwm}!robot_system@{robot\_\-system}}
\subsubsection[left\_\-pwm]{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf robot\_\-system::left\_\-pwm})(void $\ast$, int32\_\-t)}\label{structrobot__system_ff49405f226e48e41e63f5d434235ec8}




Referenced by rs\_\-set\_\-angle(), rs\_\-set\_\-distance(), and rs\_\-set\_\-left\_\-pwm().\index{robot\_\-system@{robot\_\-system}!left\_\-pwm\_\-param@{left\_\-pwm\_\-param}}
\index{left\_\-pwm\_\-param@{left\_\-pwm\_\-param}!robot_system@{robot\_\-system}}
\subsubsection[left\_\-pwm\_\-param]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf robot\_\-system::left\_\-pwm\_\-param}}\label{structrobot__system_1a32644b7dfb7ee66cacf54dbc5bc855}




Definition at line 80 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-angle(), rs\_\-set\_\-distance(), and rs\_\-set\_\-left\_\-pwm().\index{robot\_\-system@{robot\_\-system}!right\_\-pwm@{right\_\-pwm}}
\index{right\_\-pwm@{right\_\-pwm}!robot_system@{robot\_\-system}}
\subsubsection[right\_\-pwm]{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf robot\_\-system::right\_\-pwm})(void $\ast$, int32\_\-t)}\label{structrobot__system_f2a0234100f3bf956a26c0a322dba600}




Referenced by rs\_\-set\_\-angle(), rs\_\-set\_\-distance(), and rs\_\-set\_\-right\_\-pwm().\index{robot\_\-system@{robot\_\-system}!right\_\-pwm\_\-param@{right\_\-pwm\_\-param}}
\index{right\_\-pwm\_\-param@{right\_\-pwm\_\-param}!robot_system@{robot\_\-system}}
\subsubsection[right\_\-pwm\_\-param]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf robot\_\-system::right\_\-pwm\_\-param}}\label{structrobot__system_72b8dd0ce3da4f66c677bf15085e5702}




Definition at line 82 of file robot\_\-system.h.

Referenced by rs\_\-set\_\-angle(), rs\_\-set\_\-distance(), and rs\_\-set\_\-right\_\-pwm().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
aversive\_\-10-03-12/modules/devices/robot/robot\_\-system/{\bf robot\_\-system.h}\end{CompactItemize}
