src/bangbang.cpp
bangbang::bangbang(float threshold, float min, float max) {
	// TODO Auto-generated constructor stub
	this->threshold = threshold;
	this->min = min;
	this->max = max;
}
/* The default constructor for the modified bang-bang controller.
 * threshold: the dividing line between the minimum and maximum power output.
 * Ex: if the error is greater than the threshold, output max power, etc.
 * min: minimum power output
 * max: maximum power output
 */
The default constructor for the modified bang-bang controller.
threshold: the dividing line between the minimum and maximum power output.
Ex: if the error is greater than the threshold, output max power, etc.
min: minimum power output
max: maximum power output
The default constructor for the modified bang - bang controller . threshold : the dividing line between the minimum and maximum power output . Ex : if the error is greater than the threshold output max power etc . min : minimum power output max : maximum power output
bangbang::bangbang(float threshold, float min, float max) {
	this->threshold = threshold;
	this->min = min;
	this->max = max;
}
bangbang :: bangbang ( float threshold , float min , float max ) { this -> threshold = threshold ; this -> min = min ; this -> max = max ; }
The default constructor for the modified bang-bang controller.
The default constructor for the modified bang - bang controller .
// TODO Auto-generated constructor stub