Example #1
0
 CameraBuffer::CameraBuffer()
   : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs(), setupParameters()),
     m_bufferSize(0),
     m_numBuffers(1),
     m_id(0)
 {
 }
Example #2
0
 void ParameterOperator::initialize()
 {
     OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
     
     m_matrixParam.resize(3, 4, stromx::runtime::Matrix::FLOAT_32);
     for (unsigned int i = 0; i < m_matrixParam.rows(); ++i)
         for (unsigned int j = 0; j < m_matrixParam.cols(); ++j)
             m_matrixParam.at<float>(i, j) = float(i + j);
         
     m_intMatrixParam.resize(1, 2, stromx::runtime::Matrix::UINT_32);
     for (unsigned int i = 0; i < m_intMatrixParam.rows(); ++i)
         for (unsigned int j = 0; j < m_intMatrixParam.cols(); ++j)
             m_intMatrixParam.at<uint32_t>(i, j) = i + j;
 }
void main(void)
{
	configClocks();
	setupOutputs();
	//setupInterrupts();
	//turnTXD(ON);
	setupUART();

	_EINT();

	while(1){
		//if (port) {

		//turnTXD(ON);

		//P1IFG &= ~ADR_BUS0;
		//port = 0;
		//blinkLEDGreen(1);
		//blinkLEDRed(1);

		//int i = 0, timeOut = 10000;

		//while(i < timeOut){

		while (byteRX == 'D') {
			turnTXD(ON);
			blinkLEDRed(1);
			UART_putChar('O');
			blinkLEDGreen(2);
			turnTXD(OFF);
			//byteRX = '#';  //this is to flush the RX buffer
			//i = timeOut;
		}

		//blinkLEDRed(1);
		//i++;
	}
	//}
}
Example #4
0
 void ReadDirectory::initialize()
 {
     OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }
Example #5
0
 void PyrUp::initialize()
 {
     runtime::OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }
 void CornerMinEigenVal::initialize()
 {
     runtime::OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }
Example #7
0
 Merge::Merge()
   : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs()),
     m_numItems(0),
     m_list(0)
 {
 }
Example #8
0
 ReadGpio::ReadGpio()
 : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs(), setupParameters())
 {
 }
Example #9
0
 Add::Add()
   : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs(), setupParameters())
 {
 }
Example #10
0
 void Send::initialize()
 {
     OperatorKernel::initialize(setupInputs(),
                                setupOutputs(),
                                std::vector<const Parameter*>());
 }
Example #11
0
 Flicker::Flicker()
 : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs(), setupParameters()),
     m_amount(0.1)
 {
 }
Example #12
0
 Split::Split()
   : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs())
 {
 }
Example #13
0
 void TestOperator::initialize()
 {
     OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }
Example #14
0
 ExceptionOperator::ExceptionOperator()
 : OperatorKernel(TYPE, PACKAGE, VERSION,
                 setupInputs(), setupOutputs(),
                 setupParameters())
 {
 }
Example #15
0
 void ConvertPixelType::initialize()
 {
     runtime::OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }
Example #16
0
 WriteGpio::WriteGpio()
 : OperatorKernel(TYPE, PACKAGE, VERSION, setupInputs(), setupOutputs(),
                  setupParameters(), setupProperties())
 {
 }
Example #17
0
 void Bitwise_and::initialize()
 {
     runtime::OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }
Example #18
0
 void BilateralFilter::initialize()
 {
     runtime::OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
 }