library/Doku/Doxygen/latex/d4/df4/group__lowerlevelservogetters.tex

87 lines
4.2 KiB
TeX
Raw Normal View History

2018-11-13 11:15:10 +01:00
\hypertarget{group__lowerlevelservogetters}{}\section{Getters}
\label{group__lowerlevelservogetters}\index{Getters@{Getters}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item
uint8\+\_\+t \hyperlink{group__lowerlevelservogetters_ga451b3ecd272e9a11de4b221f8d771432}{Code\+Racer\+::servo\+\_\+position} ()
\begin{DoxyCompactList}\small\item\em Get the actual position of the servo. \end{DoxyCompactList}\item
unsigned long \hyperlink{group__lowerlevelservogetters_gaeed05a3d4e06adccebdfce207b734b2f}{Code\+Racer\+::servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms} ()
\begin{DoxyCompactList}\small\item\em Get the system time in ms the servo was set to the actual position. \end{DoxyCompactList}\item
unsigned long \hyperlink{group__lowerlevelservogetters_ga84ba256b9ccdf0e9f4280279da68a509}{Code\+Racer\+::servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms} ()
\begin{DoxyCompactList}\small\item\em Get the system time in ms the servo will reach its position This is an estimated time. If this is a time in the future, the servo may still moving. If this is a time in the past , the servo should have reached its postion already. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection{Detailed Description}
\subsection{Function Documentation}
\mbox{\Hypertarget{group__lowerlevelservogetters_ga451b3ecd272e9a11de4b221f8d771432}\label{group__lowerlevelservogetters_ga451b3ecd272e9a11de4b221f8d771432}}
\index{Getters@{Getters}!servo\+\_\+position@{servo\+\_\+position}}
\index{servo\+\_\+position@{servo\+\_\+position}!Getters@{Getters}}
\subsubsection{\texorpdfstring{servo\+\_\+position()}{servo\_position()}}
{\footnotesize\ttfamily uint8\+\_\+t Code\+Racer\+::servo\+\_\+position (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
Get the actual position of the servo.
\begin{DoxyReturn}{Returns}
Actual position of the servo
\end{DoxyReturn}
Definition at line 632 of file Code\+Racer.\+cpp.
\begin{DoxyCode}
632 \{
633 \textcolor{keywordflow}{return}(\_servo\_position);
634 \}
\end{DoxyCode}
\mbox{\Hypertarget{group__lowerlevelservogetters_gaeed05a3d4e06adccebdfce207b734b2f}\label{group__lowerlevelservogetters_gaeed05a3d4e06adccebdfce207b734b2f}}
\index{Getters@{Getters}!servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms@{servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms}}
\index{servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms@{servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms}!Getters@{Getters}}
\subsubsection{\texorpdfstring{servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms()}{servo\_position\_set\_at\_ms()}}
{\footnotesize\ttfamily unsigned long Code\+Racer\+::servo\+\_\+position\+\_\+set\+\_\+at\+\_\+ms (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
Get the system time in ms the servo was set to the actual position.
\begin{DoxyReturn}{Returns}
System time in ms the servo was set
\end{DoxyReturn}
Definition at line 639 of file Code\+Racer.\+cpp.
\begin{DoxyCode}
639 \{
640 \textcolor{keywordflow}{return}(\_servo\_position\_set\_at\_ms);
641 \}
\end{DoxyCode}
\mbox{\Hypertarget{group__lowerlevelservogetters_ga84ba256b9ccdf0e9f4280279da68a509}\label{group__lowerlevelservogetters_ga84ba256b9ccdf0e9f4280279da68a509}}
\index{Getters@{Getters}!servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms@{servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms}}
\index{servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms@{servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms}!Getters@{Getters}}
\subsubsection{\texorpdfstring{servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms()}{servo\_position\_eta\_in\_ms()}}
{\footnotesize\ttfamily unsigned long Code\+Racer\+::servo\+\_\+position\+\_\+eta\+\_\+in\+\_\+ms (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
Get the system time in ms the servo will reach its position This is an estimated time. If this is a time in the future, the servo may still moving. If this is a time in the past , the servo should have reached its postion already.
\begin{DoxyReturn}{Returns}
System time in ms the servo will reach its position
\end{DoxyReturn}
Definition at line 649 of file Code\+Racer.\+cpp.
\begin{DoxyCode}
649 \{
650 \textcolor{keywordflow}{return}(\_servo\_position\_eta\_in\_ms);
651 \}
\end{DoxyCode}