INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
gbxnovatelacfr::SimpleConfig Class Reference

Minimum information to configure the receiver in INS mode. More...

#include <driver.h>

Public Member Functions

 SimpleConfig (std::string serialDevice, int baudRate, std::string imuType, std::vector< double > &imuToGpsOffset)
 
bool isValid () const
 Returns true if the configuration is sane. More...
 
std::string toString () const
 Dumps the config in human readable form.
 

Detailed Description

Minimum information to configure the receiver in INS mode.

Constructor & Destructor Documentation

◆ SimpleConfig()

gbxnovatelacfr::SimpleConfig::SimpleConfig ( std::string  serialDevice,
int  baudRate,
std::string  imuType,
std::vector< double > &  imuToGpsOffset 
)
inline
Parameters
imuTypesee Config::imuType_ for details
imuToGpsOffsetsee Config::imuToGpsOffset_ for details

Member Function Documentation

◆ isValid()

bool gbxnovatelacfr::SimpleConfig::isValid ( ) const

Returns true if the configuration is sane.

Checks include:

  • a non-empty device name
  • baud rate is supported by device (9600, 19200, 38400, 115200, 230400)
  • imuType refers to a known type
  • offset has size 3

References gbxnovatelacfr::Config::imuToGpsOffset_, and gbxnovatelacfr::Config::imuType_.


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

Generated for GearBox by  doxygen 1.4.5