\doxysection{Navigation\+Sensor.\+h}
\hypertarget{a00164_source}{}\label{a00164_source}\index{NavigationSensor.h@{NavigationSensor.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ "{}../RawDataSensor/RawDataSensor.h"{}}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include"{}../StarfleetToolbox/ParameterNotSupportedException.h"{}}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}FilterType.h"{}}}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00006\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#ifdef\ NAVIGATIONSENSOR\_EXPORTS}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#define\ NAVIGATIONSENSOR\ \_\_declspec(dllexport)}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ NAVIGATIONSENSOR\ \_\_declspec(dllimport)}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#define\ SECTORS\_COUNT\ 264}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#define\ IMAGE\_SEGMENT\_SIZE\ 20}}
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#define\ PIXELS\_PER\_SEGMENT\ 640}}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#define\ ZERO\_TO\_ZERO\_POINT\_ZERO\_FIVE\_AT\_TWENTY\_HZ\ 2}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ ZERO\_TO\_ZERO\_POINT\_ZERO\_TWENTYFIVE\_AT\_TEN\_HZ\ 3}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ ZERO\_TO\_ZERO\_POINT\_ZERO\_SOMETHING\_AT\_FIFTY\_HZ\ 4}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{int}\ PAGE\_INDEX;}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#define\ CUSTOMIZE\_LOGO\_PAGE\ 0}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#define\ OPERATING\_STATUS\_PAGE\ 1}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#define\ WMS\_STATUS\_PAGE\ 2}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#define\ ETH\_USB\_CONNECT\_STATUS\_PAGE\ 3}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#define\ NETWORK\_INFORMATION\_PAGE\ 4}}
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#define\ BLUETHOOT\_CONNECTION\_PAGE\ 5}}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{int}\ OLED\_WAKEUP\_RANGE;}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#define\ THREE\_HUNDRED\_MM\ \ 0}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#define\ FIVE\_HUNDRED\_MM\ \ 1}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ TEN\_HUNDRED\_MM\ \ 2}}
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#define\ FIFTEEN\_HUNDRED\_MM\ \ 3}}
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#define\ TWENTY\_HUNDRED\_MM\ \ 4}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{int}\ OLED\_WAKEUP\_TIME;}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#define\ TWO\_SEC\ \ 0}}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#define\ THREE\_SEC\ \ 1}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#define\ FIVE\_SEC\ \ 2}}
\DoxyCodeLine{00042\ \textcolor{preprocessor}{\#define\ TEN\_SEC\ \ 3}}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ PAGE\_DIRECTION;}
\DoxyCodeLine{00045\ \textcolor{preprocessor}{\#define\ NORMAL\ 0}}
\DoxyCodeLine{00046\ \textcolor{preprocessor}{\#define\ UPSIDE\_DOWN\ 1}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ DISPLAY\_MODE;}
\DoxyCodeLine{00049\ \textcolor{preprocessor}{\#define\ NORMAL\_MODE\ 0}}
\DoxyCodeLine{00050\ \textcolor{preprocessor}{\#define\ ON\_MODE\ 1}}
\DoxyCodeLine{00051\ \textcolor{preprocessor}{\#define\ OFF\_MODE\ 2}}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00053\ \textcolor{keyword}{typedef}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ MDI\_TRANSMISSION\_STATUS;}
\DoxyCodeLine{00054\ \textcolor{preprocessor}{\#define\ MDI\_OFF\_MODE\ 0}}
\DoxyCodeLine{00055\ \textcolor{preprocessor}{\#define\ MDI\_ON\_MODE\ 1}}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \textcolor{keyword}{typedef}\ uint16\_t\ IMAGE\_PIXEL;}
\DoxyCodeLine{00058\ \textcolor{keyword}{typedef}\ vector<IMAGE\_PIXEL>\ LOGO\_IMAGE\_SEGMENT;}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{keyword}{class\ }NAVIGATIONSENSOR\ \mbox{\hyperlink{a00720}{NavigationSensor}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a00748}{RawDataSensor}}}
\DoxyCodeLine{00061\ \{}
\DoxyCodeLine{00062\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00066\ \ \ \ \ \mbox{\hyperlink{a00720}{NavigationSensor}}();}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00071\ \ \ \ \ \mbox{\hyperlink{a00720}{\string~NavigationSensor}}();}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00077\ \ \ \ \ \mbox{\hyperlink{a00720}{NavigationSensor}}(BaseCommunication*\ comm);}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00084\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ \mbox{\hyperlink{a00748_a1a84ce4e0ceec0b57af990a8da17071e}{SetAngularResolution}}(ANGULAR\_RESOLUTION\ pResolution);}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00091\ \ \ \ \ \mbox{\hyperlink{a00716}{FilterType}}\ GetFilterType();}
\DoxyCodeLine{00096\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetFilterType(\mbox{\hyperlink{a00716}{FilterType}}\ pFilterType);}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00102\ \ \ \ \ PAGE\_INDEX\ GetDisplayPageIndex();}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00109\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetDisplayPageIndex(PAGE\_INDEX\ pPageIndex);}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00111\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00116\ \ \ \ \ PAGE\_DIRECTION\ GetDisplayPageDirection();}
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00123\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetDisplayPageDirection(PAGE\_DIRECTION\ pPageDirection);}
\DoxyCodeLine{00124\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00131\ \ \ \ \ DISPLAY\_MODE\ GetDisplayMode();}
\DoxyCodeLine{00132\ }
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00139\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetDisplayMode(DISPLAY\_MODE\ pdisplayMode);}
\DoxyCodeLine{00140\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00147\ \ \ \ \ vector<LOGO\_IMAGE\_SEGMENT>\ GetLogoImage();}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00155\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetLogoImage(vector<LOGO\_IMAGE\_SEGMENT>\ pLogoImage);}
\DoxyCodeLine{00156\ }
\DoxyCodeLine{00161\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ ResetLogoImage();}
\DoxyCodeLine{00162\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00163\ }
\DoxyCodeLine{00168\ \ \ \ \ vector<unsigned\ int>\ GetWms()\ ;}
\DoxyCodeLine{00169\ }
\DoxyCodeLine{00174\ \ \ \ \ \mbox{\hyperlink{a00756}{SensorLeds}}\ \mbox{\hyperlink{a00748_a05b19d54b58936be6ba13a74dfdd5e9b}{GetSensorLeds}}();}
\DoxyCodeLine{00175\ \ \ \ \ }
\DoxyCodeLine{00181\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ \mbox{\hyperlink{a00748_aba72a1e03d53aa0a0fca973051c352a0}{SetSensorLeds}}(\mbox{\hyperlink{a00756}{SensorLeds}}\ pLeds);}
\DoxyCodeLine{00182\ }
\DoxyCodeLine{00187\ \ \ \ \ \mbox{\hyperlink{a00752}{SensorLamps}}\ \mbox{\hyperlink{a00748_a913aeec2dd51bfdc8f0c09031daf34cb}{GetSensorLamps}}();}
\DoxyCodeLine{00188\ }
\DoxyCodeLine{00189\ \ \ \ \ \textcolor{comment}{//\ Command\ settings\ management}}
\DoxyCodeLine{00190\ \ \ \ \ \textcolor{comment}{//\ Data\ retrieve}}
\DoxyCodeLine{00195\ \ \ \ \ \mbox{\hyperlink{a00740}{NetworkInformation}}\ \ \mbox{\hyperlink{a00748_a39eb268573605a97e3cb5d532e14276d}{GetNetworkInformation}}();}
\DoxyCodeLine{00196\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00197\ \ \ \ \ \textcolor{comment}{//\ DEPRECATED\ METHOD}}
\DoxyCodeLine{00203\ \ \ \ \ [[deprecated(\textcolor{stringliteral}{"{}Use\ of\ this\ method\ is\ deprecated\ in\ Navigation\ sensor"{}})]]}
\DoxyCodeLine{00204\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ \mbox{\hyperlink{a00720_a0e0d5bf16ac0a5e04db700bcb6c8e9dc}{SetImmunityLevel}}(\textcolor{keywordtype}{int}\ pImmunityLevel)\ \{\ \textcolor{keywordflow}{return}\ NULL;\ \}}
\DoxyCodeLine{00205\ }
\DoxyCodeLine{00210\ \ \ \ \ [[deprecated(\textcolor{stringliteral}{"{}Use\ of\ this\ method\ is\ deprecated\ in\ Navigation\ sensor"{}})]]}
\DoxyCodeLine{00211\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00720_a4598dc6225050d43f265e1accf5508ae}{GetImmunityLevel}}()\ \{\ \textcolor{keywordflow}{return}\ -\/1;\ \}}
\DoxyCodeLine{00212\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00217\ \ \ \ \ OLED\_WAKEUP\_RANGE\ GetDisplayWakeUpRange();}
\DoxyCodeLine{00218\ }
\DoxyCodeLine{00224\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetDisplayWakeUpRange(OLED\_WAKEUP\_RANGE\ range);}
\DoxyCodeLine{00225\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00226\ }
\DoxyCodeLine{00227\ \textcolor{preprocessor}{\#ifndef\ LEUZE}}
\DoxyCodeLine{00232\ \ \ \ \ OLED\_WAKEUP\_RANGE\ GetDisplayWakeUpTime();}
\DoxyCodeLine{00233\ }
\DoxyCodeLine{00239\ \ \ \ \ \mbox{\hyperlink{a00820}{ConfigurationResult}}\ SetDisplayWakeUpTime(OLED\_WAKEUP\_RANGE\ range);}
\DoxyCodeLine{00240\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00245\ \ \ \ \ MDI\_TRANSMISSION\_STATUS\ GetMdiTransmissionStatus();}
\DoxyCodeLine{00246\ }
\DoxyCodeLine{00250\ \ \ \ \ \textcolor{keywordtype}{void}\ ShowDeviceIdentification();}
\DoxyCodeLine{00251\ }
\DoxyCodeLine{00252\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00253\ \ \ \ \ \textcolor{keywordtype}{string}\ GetFilter\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x46,\ 0x69,\ 0x6c,\ 0x74,\ 0x65,\ 0x72\ \};}
\DoxyCodeLine{00254\ \ \ \ \ \textcolor{keywordtype}{string}\ GetPageIndex\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x50,\ 0x49,\ 0x6E,\ 0x64,\ 0x65,\ 0x78\ \};}
\DoxyCodeLine{00255\ \ \ \ \ \textcolor{keywordtype}{string}\ GetPageDirection\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x50,\ 0x44,\ 0x69,\ 0x72\ \};}
\DoxyCodeLine{00256\ \ \ \ \ \textcolor{keywordtype}{string}\ GetCustomizedLogoImage\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x43,\ 0x75,\ 0x73,\ 0x74,\ 0x49,\ 0x6D,\ 0x67\ \};}
\DoxyCodeLine{00257\ \ \ \ \ \textcolor{keywordtype}{string}\ GetDisplayPageMode\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x50,\ 0x4D,\ 0x6F,\ 0x64,\ 0x65\ \};}
\DoxyCodeLine{00258\ \ \ \ \ \textcolor{keywordtype}{string}\ GetWmsValue\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x57,\ 0x6D,\ 0x73\ \};}
\DoxyCodeLine{00259\ \ \ \ \ \textcolor{keywordtype}{string}\ GetARange\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x41,\ 0x52,\ 0x61,\ 0x6E,\ 0x67,\ 0x65\ \};}
\DoxyCodeLine{00260\ \ \ \ \ \textcolor{keywordtype}{string}\ GetATime\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x41,\ 0x54,\ 0x69,\ 0x6D,\ 0x65\ \};\ \ \ }
\DoxyCodeLine{00261\ }
\DoxyCodeLine{00262\ \ \ \ \ \textcolor{keywordtype}{string}\ SetFilter\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x46,\ 0x69,\ 0x6c,\ 0x74,\ 0x65,\ 0x72\ \};}
\DoxyCodeLine{00263\ \ \ \ \ \textcolor{keywordtype}{string}\ SetPageIndex\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x50,\ 0x49,\ 0x6E,\ 0x64,\ 0x65,\ 0x78\ \};}
\DoxyCodeLine{00264\ \ \ \ \ \textcolor{keywordtype}{string}\ SetPageDirection\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x50,\ 0x44,\ 0x69,\ 0x72\ \};}
\DoxyCodeLine{00265\ \ \ \ \ \textcolor{keywordtype}{string}\ SetCustomizedLogoImage\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x43,\ 0x75,\ 0x73,\ 0x74,\ 0x49,\ 0x6D,\ 0x67\ \};}
\DoxyCodeLine{00266\ \ \ \ \ \textcolor{keywordtype}{string}\ SetDisplayPageMode\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x50,\ 0x4D,\ 0x6F,\ 0x64,\ 0x65\ \};}
\DoxyCodeLine{00267\ \ \ \ \ \textcolor{keywordtype}{string}\ SetARange\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x41,\ 0x52,\ 0x61,\ 0x6E,\ 0x67,\ 0x65\ \};}
\DoxyCodeLine{00268\ \ \ \ \ \textcolor{keywordtype}{string}\ SetATime\ =\ \{\ 0x53,\ 0x65,\ 0x74,\ 0x41,\ 0x54,\ 0x69,\ 0x6D,\ 0x65\ \};}
\DoxyCodeLine{00269\ }
\DoxyCodeLine{00270\ \ \ \ \ \textcolor{keywordtype}{string}\ GetShowId\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x53,\ 0x68,\ 0x6F,\ 0x77,\ 0x49,\ 0x44\ \};}
\DoxyCodeLine{00271\ \ \ \ \ \textcolor{keywordtype}{string}\ GetTxMdi\ =\ \{\ 0x47,\ 0x65,\ 0x74,\ 0x54,\ 0x78,\ 0x4D,\ 0x44,\ 0x49\ \};}
\DoxyCodeLine{00272\ \ \ \ \ }
\DoxyCodeLine{00273\ \};}
\DoxyCodeLine{00274\ }

\end{DoxyCode}
