BLAM-Lab-Projects / experiment-code

Note: As of June 2017, AW is no longer supporting this version of the code. Recommended switching over to the SDL2 repository.
0 stars 0 forks source link

To do list... #1

Open RobertHardwick opened 8 years ago

RobertHardwick commented 8 years ago

High Priority

awong26 commented 8 years ago

Note, former object "Photosensor" is now renamed FTDI (since it is an FTDI usb-to-serial cable), and the relevant .h and .cpp code exists in the FTDI folder along with the relevant library. Additionally, this object can be used for just general purpose digital i/o (up to 4 channels), such as for TMS triggering.

This is to distinguish it from the Arduino code that Alex is working on, which will have a separate photosensor.

adrianhaith commented 8 years ago

I propose we maintain Aaron's trial/target table handling. It makes more sense to have an array of structures than an object. Key thing is to keep experiment-specific stuff all within main.cpp. All other stuff should be generic and not need to change for each new experiment. Or at least change by adding functionality, not changing it.

For displaying objects, I think replacing the "drawstruc" with flags stored inside the objects themselves makes sense as it reduces the amount of extraneous code and improves readability.

awong26 commented 8 years ago

In that case, it will be necessary to embed flags in all the other objects to be drawn, i.e., image/object2D, path2D, and region2D.