Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
StateLogger Struct Reference

#include <logger.hpp>

Public Member Functions

void createStringStream (std::stringstream &logStream, const Eigen::Vector3d &pose, double dynamicsCounter, double rosPubCounter, double periodSec)
 
void init (double clockScale, double dt_secs)
 
 StateLogger (Actuators &actuators, Sensors &sensors, DynamicsInfo &info)
 

Static Private Member Functions

static void addBold (std::stringstream &logStream, const char *newData)
 
static void colorize (std::stringstream &logStream, bool is_ok, const std::string &newData)
 

Private Attributes

Actuators_actuators
 
double _clockScale
 
double _dt_secs
 
DynamicsInfo_info
 
Sensors_sensors
 

Detailed Description

Definition at line 26 of file logger.hpp.

Constructor & Destructor Documentation

◆ StateLogger()

StateLogger::StateLogger ( Actuators actuators,
Sensors sensors,
DynamicsInfo info 
)
inline

Definition at line 27 of file logger.hpp.

Member Function Documentation

◆ addBold()

void StateLogger::addBold ( std::stringstream &  logStream,
const char *  newData 
)
staticprivate

Definition at line 102 of file logger.cpp.

◆ colorize()

void StateLogger::colorize ( std::stringstream &  logStream,
bool  is_ok,
const std::string &  newData 
)
staticprivate

Definition at line 94 of file logger.cpp.

◆ createStringStream()

void StateLogger::createStringStream ( std::stringstream &  logStream,
const Eigen::Vector3d &  pose,
double  dynamicsCounter,
double  rosPubCounter,
double  periodSec 
)

Definition at line 38 of file logger.cpp.

◆ init()

void StateLogger::init ( double  clockScale,
double  dt_secs 
)

Definition at line 33 of file logger.cpp.

Member Data Documentation

◆ _actuators

Actuators& StateLogger::_actuators
private

Definition at line 40 of file logger.hpp.

◆ _clockScale

double StateLogger::_clockScale
private

Definition at line 44 of file logger.hpp.

◆ _dt_secs

double StateLogger::_dt_secs
private

Definition at line 45 of file logger.hpp.

◆ _info

DynamicsInfo& StateLogger::_info
private

Definition at line 42 of file logger.hpp.

◆ _sensors

Sensors& StateLogger::_sensors
private

Definition at line 41 of file logger.hpp.


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


inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Sat Jul 1 2023 02:13:44