Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
cInertialSenseDisplay Class Reference

#include <ISDisplay.h>

Classes

struct  sDidStats
 

Public Types

enum  eDisplayMode { DMODE_PRETTY, DMODE_SCROLL, DMODE_STATS, DMODE_QUIET }
 

Public Member Functions

 cInertialSenseDisplay ()
 
void Clear (void)
 
string Connected ()
 
bool ControlCWasPressed ()
 
void DataToStats (const p_data_t *data)
 
string DataToString (const p_data_t *data)
 
string DataToStringBaro (const barometer_t &baro, const p_data_hdr_t &hdr)
 
string DataToStringDevInfo (const dev_info_t &info, const p_data_hdr_t &hdr)
 
string DataToStringDualIMU (const dual_imu_t &imu, const p_data_hdr_t &hdr)
 
string DataToStringGpsPos (const gps_pos_t &gps, const p_data_hdr_t &hdr, const string didName)
 
string DataToStringIMU (const imu_t &imu, const p_data_hdr_t &hdr)
 
string DataToStringINS1 (const ins_1_t &ins1, const p_data_hdr_t &hdr)
 
string DataToStringINS2 (const ins_2_t &ins2, const p_data_hdr_t &hdr)
 
string DataToStringINS3 (const ins_3_t &ins3, const p_data_hdr_t &hdr)
 
string DataToStringINS4 (const ins_4_t &ins4, const p_data_hdr_t &hdr)
 
string DataToStringMag (const magnetometer_t &mag, const p_data_hdr_t &hdr)
 
string DataToStringMagCal (const mag_cal_t &mag, const p_data_hdr_t &hdr)
 
string DataToStringPreintegratedImu (const preintegrated_imu_t &imu, const p_data_hdr_t &hdr)
 
string DataToStringRawGPS (const gps_raw_t &raw, const p_data_hdr_t &hdr)
 
string DataToStringRtkMisc (const gps_rtk_misc_t &sol, const p_data_hdr_t &hdr, const string didName)
 
string DataToStringRtkRel (const gps_rtk_rel_t &gps, const p_data_hdr_t &hdr, const string didName)
 
string DataToStringRTOS (const rtos_info_t &info, const p_data_hdr_t &hdr)
 
string DataToStringSensorsADC (const sys_sensors_adc_t &sensorsADC, const p_data_hdr_t &hdr)
 
string DataToStringSurveyIn (const survey_in_t &survey, const p_data_hdr_t &hdr)
 
string DataToStringSysParams (const sys_params_t &sys, const p_data_hdr_t &hdr)
 
string DataToStringSysSensors (const sys_sensors_t &sensors, const p_data_hdr_t &hdr)
 
eDisplayMode GetDisplayMode ()
 
string Goodbye ()
 
void GoToColumnAndRow (int x, int y)
 
void GoToRow (int y)
 
string Hello ()
 
void Home (void)
 
char * InsStatusToSolStatusString (char *ptr, char *ptrEnd, const uint32_t insStatus)
 
void ProcessData (p_data_t *data, bool enableReplay=false, double replaySpeedX=1.0)
 
int ReadKey ()
 
string Replay (double speed=1.0)
 
void SetDisplayMode (eDisplayMode mode)
 
void ShowCursor (bool visible)
 
void ShutDown ()
 
char * StatusToString (char *ptr, char *ptrEnd, const uint32_t insStatus, const uint32_t hdwStatus)
 

Private Member Functions

void DataToVector (const p_data_t *data)
 
string VectortoString ()
 

Private Attributes

vector< string > m_didMsgs
 
vector< sDidStatsm_didStats
 
eDisplayMode m_displayMode
 
uint16_t m_rxCount
 

Detailed Description

Utility functions for displaying data

Definition at line 30 of file ISDisplay.h.

Member Enumeration Documentation

◆ eDisplayMode

Enumerator
DMODE_PRETTY 
DMODE_SCROLL 
DMODE_STATS 
DMODE_QUIET 

Definition at line 33 of file ISDisplay.h.

Constructor & Destructor Documentation

◆ cInertialSenseDisplay()

cInertialSenseDisplay::cInertialSenseDisplay ( )

Definition at line 83 of file ISDisplay.cpp.

Member Function Documentation

◆ Clear()

void cInertialSenseDisplay::Clear ( void  )

Definition at line 132 of file ISDisplay.cpp.

◆ Connected()

string cInertialSenseDisplay::Connected ( )

Definition at line 207 of file ISDisplay.cpp.

◆ ControlCWasPressed()

bool cInertialSenseDisplay::ControlCWasPressed ( )

Definition at line 278 of file ISDisplay.cpp.

◆ DataToStats()

void cInertialSenseDisplay::DataToStats ( const p_data_t data)

Definition at line 472 of file ISDisplay.cpp.

◆ DataToString()

string cInertialSenseDisplay::DataToString ( const p_data_t data)

Definition at line 500 of file ISDisplay.cpp.

◆ DataToStringBaro()

string cInertialSenseDisplay::DataToStringBaro ( const barometer_t baro,
const p_data_hdr_t hdr 
)

Definition at line 1001 of file ISDisplay.cpp.

◆ DataToStringDevInfo()

string cInertialSenseDisplay::DataToStringDevInfo ( const dev_info_t info,
const p_data_hdr_t hdr 
)

Definition at line 1297 of file ISDisplay.cpp.

◆ DataToStringDualIMU()

string cInertialSenseDisplay::DataToStringDualIMU ( const dual_imu_t imu,
const p_data_hdr_t hdr 
)

Definition at line 823 of file ISDisplay.cpp.

◆ DataToStringGpsPos()

string cInertialSenseDisplay::DataToStringGpsPos ( const gps_pos_t gps,
const p_data_hdr_t hdr,
const string  didName 
)

Definition at line 1031 of file ISDisplay.cpp.

◆ DataToStringIMU()

string cInertialSenseDisplay::DataToStringIMU ( const imu_t imu,
const p_data_hdr_t hdr 
)

◆ DataToStringINS1()

string cInertialSenseDisplay::DataToStringINS1 ( const ins_1_t ins1,
const p_data_hdr_t hdr 
)

Definition at line 604 of file ISDisplay.cpp.

◆ DataToStringINS2()

string cInertialSenseDisplay::DataToStringINS2 ( const ins_2_t ins2,
const p_data_hdr_t hdr 
)

Definition at line 655 of file ISDisplay.cpp.

◆ DataToStringINS3()

string cInertialSenseDisplay::DataToStringINS3 ( const ins_3_t ins3,
const p_data_hdr_t hdr 
)

Definition at line 711 of file ISDisplay.cpp.

◆ DataToStringINS4()

string cInertialSenseDisplay::DataToStringINS4 ( const ins_4_t ins4,
const p_data_hdr_t hdr 
)

Definition at line 767 of file ISDisplay.cpp.

◆ DataToStringMag()

string cInertialSenseDisplay::DataToStringMag ( const magnetometer_t mag,
const p_data_hdr_t hdr 
)

Definition at line 933 of file ISDisplay.cpp.

◆ DataToStringMagCal()

string cInertialSenseDisplay::DataToStringMagCal ( const mag_cal_t mag,
const p_data_hdr_t hdr 
)

Definition at line 971 of file ISDisplay.cpp.

◆ DataToStringPreintegratedImu()

string cInertialSenseDisplay::DataToStringPreintegratedImu ( const preintegrated_imu_t imu,
const p_data_hdr_t hdr 
)

Definition at line 876 of file ISDisplay.cpp.

◆ DataToStringRawGPS()

string cInertialSenseDisplay::DataToStringRawGPS ( const gps_raw_t raw,
const p_data_hdr_t hdr 
)

Definition at line 1157 of file ISDisplay.cpp.

◆ DataToStringRtkMisc()

string cInertialSenseDisplay::DataToStringRtkMisc ( const gps_rtk_misc_t sol,
const p_data_hdr_t hdr,
const string  didName 
)

Definition at line 1134 of file ISDisplay.cpp.

◆ DataToStringRtkRel()

string cInertialSenseDisplay::DataToStringRtkRel ( const gps_rtk_rel_t gps,
const p_data_hdr_t hdr,
const string  didName 
)

Definition at line 1096 of file ISDisplay.cpp.

◆ DataToStringRTOS()

string cInertialSenseDisplay::DataToStringRTOS ( const rtos_info_t info,
const p_data_hdr_t hdr 
)

Definition at line 1288 of file ISDisplay.cpp.

◆ DataToStringSensorsADC()

string cInertialSenseDisplay::DataToStringSensorsADC ( const sys_sensors_adc_t sensorsADC,
const p_data_hdr_t hdr 
)

Definition at line 1335 of file ISDisplay.cpp.

◆ DataToStringSurveyIn()

string cInertialSenseDisplay::DataToStringSurveyIn ( const survey_in_t survey,
const p_data_hdr_t hdr 
)

Definition at line 1174 of file ISDisplay.cpp.

◆ DataToStringSysParams()

string cInertialSenseDisplay::DataToStringSysParams ( const sys_params_t sys,
const p_data_hdr_t hdr 
)

Definition at line 1220 of file ISDisplay.cpp.

◆ DataToStringSysSensors()

string cInertialSenseDisplay::DataToStringSysSensors ( const sys_sensors_t sensors,
const p_data_hdr_t hdr 
)

Definition at line 1248 of file ISDisplay.cpp.

◆ DataToVector()

void cInertialSenseDisplay::DataToVector ( const p_data_t data)
private

Definition at line 461 of file ISDisplay.cpp.

◆ GetDisplayMode()

eDisplayMode cInertialSenseDisplay::GetDisplayMode ( )
inline

Definition at line 44 of file ISDisplay.h.

◆ Goodbye()

string cInertialSenseDisplay::Goodbye ( )

Definition at line 221 of file ISDisplay.cpp.

◆ GoToColumnAndRow()

void cInertialSenseDisplay::GoToColumnAndRow ( int  x,
int  y 
)

Definition at line 186 of file ISDisplay.cpp.

◆ GoToRow()

void cInertialSenseDisplay::GoToRow ( int  y)

Definition at line 170 of file ISDisplay.cpp.

◆ Hello()

string cInertialSenseDisplay::Hello ( )

Definition at line 202 of file ISDisplay.cpp.

◆ Home()

void cInertialSenseDisplay::Home ( void  )

Definition at line 154 of file ISDisplay.cpp.

◆ InsStatusToSolStatusString()

char * cInertialSenseDisplay::InsStatusToSolStatusString ( char *  ptr,
char *  ptrEnd,
const uint32_t  insStatus 
)

Definition at line 587 of file ISDisplay.cpp.

◆ ProcessData()

void cInertialSenseDisplay::ProcessData ( p_data_t data,
bool  enableReplay = false,
double  replaySpeedX = 1.0 
)

Definition at line 283 of file ISDisplay.cpp.

◆ ReadKey()

int cInertialSenseDisplay::ReadKey ( )

Definition at line 226 of file ISDisplay.cpp.

◆ Replay()

string cInertialSenseDisplay::Replay ( double  speed = 1.0)

Definition at line 212 of file ISDisplay.cpp.

◆ SetDisplayMode()

void cInertialSenseDisplay::SetDisplayMode ( eDisplayMode  mode)
inline

Definition at line 43 of file ISDisplay.h.

◆ ShowCursor()

void cInertialSenseDisplay::ShowCursor ( bool  visible)

Definition at line 108 of file ISDisplay.cpp.

◆ ShutDown()

void cInertialSenseDisplay::ShutDown ( )

Definition at line 125 of file ISDisplay.cpp.

◆ StatusToString()

char * cInertialSenseDisplay::StatusToString ( char *  ptr,
char *  ptrEnd,
const uint32_t  insStatus,
const uint32_t  hdwStatus 
)

Definition at line 548 of file ISDisplay.cpp.

◆ VectortoString()

string cInertialSenseDisplay::VectortoString ( )
private

Definition at line 446 of file ISDisplay.cpp.

Member Data Documentation

◆ m_didMsgs

vector<string> cInertialSenseDisplay::m_didMsgs
private

Definition at line 89 of file ISDisplay.h.

◆ m_didStats

vector<sDidStats> cInertialSenseDisplay::m_didStats
private

Definition at line 100 of file ISDisplay.h.

◆ m_displayMode

eDisplayMode cInertialSenseDisplay::m_displayMode
private

Definition at line 90 of file ISDisplay.h.

◆ m_rxCount

uint16_t cInertialSenseDisplay::m_rxCount
private

Definition at line 91 of file ISDisplay.h.


The documentation for this class was generated from the following files:


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:09