CARMA C++
carma::canbus::busStatusStruct Struct Reference

Bus Status type. More...

#include <carma/canbus/Types.h>

Public Attributes

volatile unsigned int fastMsgsLost
 Count of Janz fast msgs lost (fast msgs are CAN messages only). More...
 
volatile double oneMinRxMsgRate
 1 Min averaged rx msg rate More...
 
volatile double oneMinTxMsgRate
 1 Min averaged tx msg rate More...
 
volatile unsigned short rxErrors
 Current CAN rx errors. More...
 
volatile double rxMsgRate
 Half sec averaged rx msg rate. More...
 
volatile unsigned int slowMsgsLost
 Count of Janz slow msgs lost (slow msgs are messages to communicate with the Janz board only). More...
 
busStateType state
 State of bus. More...
 
volatile int tsEchoLatency
 Time elapsed from the time timestamp is created to when it is echoed back to the host and processed (in microseconds). More...
 
volatile unsigned short txErrors
 Current CAN tx errors. More...
 
volatile double txMsgRate
 Half sec averaged tx msg rate. More...
 

Detailed Description

Bus Status type.

Bus status contains variables useful for determining the health of the bus. They are maintained by CanIo

See Also
carma::canbus::CanIo

Definition at line 124 of file Types.h.

Member Data Documentation

volatile unsigned int carma::canbus::busStatusStruct::fastMsgsLost

Count of Janz fast msgs lost (fast msgs are CAN messages only).

Definition at line 141 of file Types.h.

volatile double carma::canbus::busStatusStruct::oneMinRxMsgRate

1 Min averaged rx msg rate

Definition at line 128 of file Types.h.

volatile double carma::canbus::busStatusStruct::oneMinTxMsgRate

1 Min averaged tx msg rate

Definition at line 129 of file Types.h.

volatile unsigned short carma::canbus::busStatusStruct::rxErrors

Current CAN rx errors.

Definition at line 130 of file Types.h.

volatile double carma::canbus::busStatusStruct::rxMsgRate

Half sec averaged rx msg rate.

Definition at line 126 of file Types.h.

volatile unsigned int carma::canbus::busStatusStruct::slowMsgsLost

Count of Janz slow msgs lost (slow msgs are messages to communicate with the Janz board only).

Definition at line 136 of file Types.h.

busStateType carma::canbus::busStatusStruct::state

State of bus.

Definition at line 125 of file Types.h.

volatile int carma::canbus::busStatusStruct::tsEchoLatency

Time elapsed from the time timestamp is created to when it is echoed back to the host and processed (in microseconds).

Definition at line 147 of file Types.h.

volatile unsigned short carma::canbus::busStatusStruct::txErrors

Current CAN tx errors.

Definition at line 131 of file Types.h.

volatile double carma::canbus::busStatusStruct::txMsgRate

Half sec averaged tx msg rate.

Definition at line 127 of file Types.h.


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