Nakuja Flight Computer Testing and Simulation Engine (NaFCTSE) 1.0
A testing and verification tool for the Nakuja Rocket Project flight computers
Loading...
Searching...
No Matches
SerialParser Class Reference
Inheritance diagram for SerialParser:

Public Member Functions

 SerialParser (QObject *parent=nullptr)
 
void parseAll (const QString data)
 SerialParser::parseAll.
 
void decodeStates (const QString s)
 decodeStates
 
quint8 getCurrentFlightState ()
 SerialParser::getCurrentState.
 
void testParse ()
 SerialParser::testParse A test function.
 

Public Attributes

QVector< QString > packet_vector
 
quint8 flight_state
 

Member Function Documentation

◆ decodeStates()

void SerialParser::decodeStates ( const QString s)

decodeStates

Parameters
s

Handle the states received from the serial monitor

◆ getCurrentFlightState()

quint8 SerialParser::getCurrentFlightState ( )

SerialParser::getCurrentState.

Returns
return the current state

◆ parseAll()

void SerialParser::parseAll ( const QString data)

SerialParser::parseAll.

Parameters
dataseparate serial data into individual variables that represent the telemetry packet

TODO: add a mechanism to make the data points variable


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