Page 1 of 1

FeedbackDemoTask

Posted: 18 Aug 2009, 10:51
by suakii

Code: Select all

void
FeedbackDemoTask::DoFeedback( const GenericSignal& ControlSignal, bool& doProgress )
{
  mCursorPosX += mCursorSpeedX;
  mCursorPosY -= mCursorSpeedY * ControlSignal( 0, 0 );
  mpCursor->Left = mCursorPosX;
  mpCursor->Top = mCursorPosY - mpCursor->Height / 2;
Above code is FeedbackDemoTask.cpp and I don't understand the meaning of ControlSignal( 0, 0 ).
Please explain that.

Thanks in advance

ControlSignal

Posted: 18 Aug 2009, 11:16
by gschalk
ControlSignal(0,0) is the first control signal produced by the linear classifier in the Signal Processing module. Please check http://www.bci2000.org/wiki/index.php/U ... Classifier for more details on the classifier.

I hope this helps.

Gerv

Re: ControlSignal

Posted: 19 Aug 2009, 02:50
by suakii
Thank you for your reply.