bre20::AutoEdit Class Reference

Class for all machine editing on some ecu file. More...

List of all members.

Public Member Functions

 AutoEdit (Form *romw)
void changeFuel (float change)
 change the fuel at some index
bool setFuelCell (int col, int row, float perc, float afrmeasure, float afrtarget)
void setCellWeight (int col, int row, float value)
 set a weight
float getCellWeight (int col, int row)
 get a weight
void setBlockOut (int index, int col, int row, bool value)
 set a blocked out cell
bool getBlockOut (int index, int col, int row)
 get a blocked out cell
float getSmallChange ()
float getLargeChange ()
void RtAutoTuneInit ()
 initialize the real time auto tuning
void RtAutoTuneRun ()
 called when BRE is auto tuning
void RtAutoTuneStop ()
 stops the auto tuning.
bre20::LoggerKeygetLoggerKey ()
void DlEditInit ()
void setIndex (int i)
 sets the fuel map index that being used by the ecu
void setAfr (float a)
 sets the current afr
void setCurrentColumn (int x)
 sets the current column
void setCurrentFuelRow (int fy)
 sets the current fuel row
void setCurrentIgnitionRow (int iy)
 sets the current row
int getFuelRow ()
int getIgnitionRow ()
int getColumn ()
float getAfr ()
int getIndex ()

Static Public Member Functions

static float parseWeights (String *weights) __gc[

Protected Member Functions

void afr_AfrChanged (Object *sender, RomRep::AfrChangeArgs *e)

Protected Attributes

RomRep::HondaEcurom
Form * romWind
LoggerKeyrtatkey
float weights __gc [,]
PointF interp
float smchange
float lgchange
bool percentchange
bool curvtec
int curcol
 current column/row
int curfrow
int curirow
int index
 map index
bool autotune
float afrmap __gc [,,]
float afr
float atmin
float atmax
float atmincell
float atminfreq
float atmaxrowdev
float atmaxcoldev
int intervalcount
int numintervals
int goodsamples __gc [,,]
float atavg __gc [,,]
float atfreq __gc [,,]
bool blockout __gc [,,]


Detailed Description

Class for all machine editing on some ecu file.

This includes AutoTune, realtime autotune, and editing through the Logger.


Constructor & Destructor Documentation

bre20::AutoEdit::AutoEdit Form *  romw  ) 
 


Member Function Documentation

void bre20::AutoEdit::afr_AfrChanged Object *  sender,
RomRep::AfrChangeArgs e
[protected]
 

void bre20::AutoEdit::changeFuel float  change  ) 
 

change the fuel at some index

void bre20::AutoEdit::DlEditInit  ) 
 

float bre20::AutoEdit::getAfr  ) 
 

bool bre20::AutoEdit::getBlockOut int  index,
int  col,
int  row
 

get a blocked out cell

float bre20::AutoEdit::getCellWeight int  col,
int  row
 

get a weight

int bre20::AutoEdit::getColumn  ) 
 

int bre20::AutoEdit::getFuelRow  ) 
 

int bre20::AutoEdit::getIgnitionRow  ) 
 

int bre20::AutoEdit::getIndex  ) 
 

float bre20::AutoEdit::getLargeChange  ) 
 

bre20::LoggerKey * bre20::AutoEdit::getLoggerKey  ) 
 

float bre20::AutoEdit::getSmallChange  ) 
 

float bre20::AutoEdit::parseWeights String *  weights  )  [static]
 

void bre20::AutoEdit::RtAutoTuneInit  ) 
 

initialize the real time auto tuning

void bre20::AutoEdit::RtAutoTuneRun  ) 
 

called when BRE is auto tuning

void bre20::AutoEdit::RtAutoTuneStop  ) 
 

stops the auto tuning.

void bre20::AutoEdit::setAfr float  a  ) 
 

sets the current afr

void bre20::AutoEdit::setBlockOut int  index,
int  col,
int  row,
bool  value
 

set a blocked out cell

void bre20::AutoEdit::setCellWeight int  col,
int  row,
float  value
 

set a weight

void bre20::AutoEdit::setCurrentColumn int  x  ) 
 

sets the current column

void bre20::AutoEdit::setCurrentFuelRow int  fy  ) 
 

sets the current fuel row

void bre20::AutoEdit::setCurrentIgnitionRow int  iy  ) 
 

sets the current row

bool bre20::AutoEdit::setFuelCell int  col,
int  row,
float  perc,
float  afrmeasure,
float  afrtarget
 

void bre20::AutoEdit::setIndex int  i  ) 
 

sets the fuel map index that being used by the ecu


Member Data Documentation

bool blockout bre20::AutoEdit::__gc[,,] [protected]
 

The array that tells us which cells should be auto tuned/machine edited.

false is default. True if the cell is not to be edited.

float atfreq bre20::AutoEdit::__gc[,,] [protected]
 

float atavg bre20::AutoEdit::__gc[,,] [protected]
 

int goodsamples bre20::AutoEdit::__gc[,,] [protected]
 

float afrmap bre20::AutoEdit::__gc[,,] [protected]
 

float weights bre20::AutoEdit::__gc[,] [protected]
 

This is an array that tells the editor what cell is being used the most by the engine.

index [x,0,0] is the current cell, index [x,1,0] is the east cell, [0,1] is the south cell, etc. The weights should always add up to 1.

float bre20::AutoEdit::afr [protected]
 

float bre20::AutoEdit::atmax [protected]
 

float bre20::AutoEdit::atmaxcoldev [protected]
 

float bre20::AutoEdit::atmaxrowdev [protected]
 

float bre20::AutoEdit::atmin [protected]
 

float bre20::AutoEdit::atmincell [protected]
 

float bre20::AutoEdit::atminfreq [protected]
 

bool bre20::AutoEdit::autotune [protected]
 

int bre20::AutoEdit::curcol [protected]
 

current column/row

int bre20::AutoEdit::curfrow [protected]
 

int bre20::AutoEdit::curirow [protected]
 

bool bre20::AutoEdit::curvtec [protected]
 

int bre20::AutoEdit::index [protected]
 

map index

PointF bre20::AutoEdit::interp [protected]
 

int bre20::AutoEdit::intervalcount [protected]
 

float bre20::AutoEdit::lgchange [protected]
 

int bre20::AutoEdit::numintervals [protected]
 

bool bre20::AutoEdit::percentchange [protected]
 

RomRep::HondaEcu* bre20::AutoEdit::rom [protected]
 

Form* bre20::AutoEdit::romWind [protected]
 

LoggerKey* bre20::AutoEdit::rtatkey [protected]
 

float bre20::AutoEdit::smchange [protected]
 




BRE Documentation Home