Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
laelaps_diag.h File Reference

Diagnotics header file. More...

#include <unistd.h>
#include <termios.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/opts.h"
#include "rnr/pkg.h"
#include "Laelaps/laelaps.h"
#include "Laelaps/laeUtils.h"
#include "Laelaps/laeDesc.h"
#include "Laelaps/laeSysDev.h"
#include "Laelaps/laeI2C.h"
#include "Laelaps/laeI2CMux.h"
#include "Laelaps/laeWd.h"

Go to the source code of this file.

Classes

class  DiagStats
 Simple diagnostics statistics class. More...
 

Functions

DiagStats runCpuDiagnostics ()
 
DiagStats runProductDiagnostics ()
 
DiagStats runMotorsDiagnostics (bool bTestMotion)
 
DiagStats runToFDiagnostics (bool bAnyKey)
 
DiagStats runImuDiagnostics (bool bAnyKey)
 
DiagStats runWatchDogDiagnostics ()
 
DiagStats runCamDiagnostics ()
 
DiagStats runBatteryDiagnostics (bool bAnyKey)
 
void setTags (bool bColor)
 
void printHdr (std::string strDiag)
 
void printSubHdr (std::string strName)
 
void printTestResult (const char *sTag, const char *sFmt,...)
 
void printSubTotals (DiagStats &stats)
 
void printTotals (DiagStats &stats)
 
void printGrandTotals (DiagStats &stats)
 
int kbblock ()
 
int kbhit ()
 
long findProc (const std::string &strName)
 

Variables

laelaps::LaeDesc RobotDesc
 
laelaps::LaeI2C I2CBus
 
laelaps::LaeI2CMux I2CMux
 
laelaps::LaeWd WatchDog
 
char PassTag []
 
char WarnTag []
 
char FailTag []
 
char WaitTag []
 
char YNTag []
 
char FatalTag []
 

Detailed Description

Diagnotics header file.

LastChangedDate
2016-02-01 15:14:45 -0700 (Mon, 01 Feb 2016)
Rev
4289
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2015-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved

Definition in file laelaps_diag.h.