Thursday, April 2, 2015

Esteban - 4/5/15 Progress Report


  • Since the switch back to xcode, we have been trying to figure out how to modify the app for our needs.
  • The ThinkGear group created their simple app using an xib file format.
  • This way of using user interface to create an app is old and storyboard took over it in xcode 5.
  • I first thought that we could try and transfer the app that they created into a storyboard format but we were not able to transfer the project.
  • The next step that we tried was modifying the xib file itself. Using the one that was already created and try changing it to our advantage and needs.
  • I watched several tutorials showing how to create an xib file and start making app out of it to understand more of what an xib file is.
  • Once I began to modify the app, I didn’t know how to make an opening view come up first and not only that but I didn’t even know how to make a clickable button that can change windows.
  • The reason is that xib is only a user interface platform and unlike storyboard, you cannot drag and drop actions like button and have it work. So you have to code the action of clicking the button itself and code making the windows change due to the button.
  • I thought that maybe the reason I couldn’t do this was because it was a already an existing and created xib file.
  • I created a brand new xib file and .m and .h files to go with it. I watched tutorials on how to code action buttons and connect them to the xib file. I followed the tutorials and did every step that they show you to do.
  • Once I do everything that they show, nothing happens. I cannot even get my xib file to be the one that the app opens.
  • Everytime that I try and run the app to get my xib file to open up, it is their xib file that opens, the original one.
  • I need to figure out how to change the app and code to get my xib file to pop up when I run the app
  • I also need to figure out how to get the button action to work to be able and change windows.

Friday, March 20, 2015

STEM update (3-20-15, Sebastian Cruz)

These past two weeks were spent working on Xcode. The sample project offered by Neurosky was downloaded and I began exploring around the code. At first my plan was to explore objective-C in depth but due to tone restraints, that's not possible. Using the iPad Development book, I was able to figure out how table view works and also discovered user interface. User interface is a .xib file where the developer sets what the user will see. I started working on this but quickly turned it over to Esteban. I continued using the book to find out what else to do. Currently, I'm working on setting up the iPad so it can be used for testing the app.

Tuesday, March 10, 2015

STEM Progress Report-Ryan Wang

I was reading the research papers you provided and they gave insight for EEG application. Applications like music configuration based on emotional state and EEG based control over robots are applications that stood out because of their data classification methods. Although I did not fully comprehend their methods, I noticed that the group researching music modification based on emotional state created parameters using valence and arousal as x and y axis on a graph, respectively. The quadrants created by these axes are plotted accordingly so that happy, angry, sad, and relaxed lie on quadrants one, two, three, and four; respectively. With their classification methodology in mind, we decided to pursue a classification method that isolated alpha and beta waves, specifically their average amongst an epoch of 0.5s, plotted along a Cartesian graph so that the data (amplitude avg.)  is translatable into coordinate values (alpha, beta). Using the classier training tool, we hope to find the correct class labels in conjunction with linear discriminant analysis (LDA). With the class labels set correctly, we will proceed with LDA, which utilizes statistics to find a linear equation that is able distinguish if the controlled action is performed, according to neural activity, or not.  We plan to design an experiment to implement said classification immediately after an accurate application to classify data is established. 

Saturday, March 7, 2015

Progress Report (Sebastian)


These past two weeks I've been trying to resolve the different problems with the android platform. Multiple attempts were tried in order to fix the errors, but nothing worked. I updated the java sdk and jre and set it up correctly on eclipse. But there were still problems concerning the platform and setting up the proper android sdk's. There was also a problem loading the correct android version. Multiple forums pointed to updating java (which I did) as the solution, but that didn't help. There weren't many other solutions, and those that were available didn't help. After much consideration, I've decided, along with Esteban, to switch back to xcode. Technically, we should still be able to reach deadlines and complete the project. I'll revisit xcode to refresh my memory about it. We made some progress before on the xcode platform, so we'll build it up from there.

Friday, March 6, 2015

Andres' Progress Report (3/6/15)

  • Read and annotated the tutorials specifically about OpenVibe and its functions. I was able to understand more about designer and its box method.
  • From the tutorials, I was able to run an OpenVibe scenario.



  • Learned about classification through a demonstration given by Mr. Lin. Now I understand that for the upcoming week we must obtain a linear discriminant through the use of binary. We are planning on running one experiment with many trials of a subject performing math operations, and then a completely different experiment, also with many trials, of the same trainee reading. Then we hope to find comparisons within the trials of each experiment. Finally, we hope to find a clear and definite contrast between the two experiments in order to obtain the linear discriminant
  • Learned how to attach an excel file to the .CSV file writer box so that I can obtain and analyze numerical data obtained through MindWave.

Esteban's Progress Report 3/5/15

- Watched tutorials on how to make small shooting app for android in eclipse
- Learned some basic language, commands, threads, etc. 
- Cruz also did another tutorial and tried to create an app of his own
- We began to work on the simple android app but faced some errors in eclipse
- I thought it was inefficient for both of us to work on the same thing with the same errors so I took a different approach 
- I began to try to make the same app with android studio but as soon as i opened it, I received errors with the build.gradle
- I looked on forums and threads and a lot of other people also had the same problem
- I tried downloading a previous version of Android studio but that did not work either
- A new update came out for Android Studio and I updated and I wished  that hopefully this would patch up some of the bugs that are preventing us from continuing.
- This update cleared up one of the errors but just brought up another error.
- Instead of giving me an error that the build.gradle could not be refreshed, it is now giving me an error: "Unknown host 'services.gradle.org'"
- This error is also preventing that the project itself from building and finishing it up
- By this point, I am not going to spend any more time on Android Studio because I just keep ending up going in circles
- Cruz has exhasuted all of his efforts in Eclipse so we have decided to now switch back to Xcode
- This is was not in the plan and its not ideal at all but we have not fallen back on schedule
- We have the "Hello World" working and running
- The next thing that is in order is making a simple app
- Once thats done, Cruz and I are going to split up do the Real World App and the Virtual World App

Friday, February 6, 2015

Progress Report 2/6/15

App Team: Sebastian C. & Esteban C.

Progress: This week we solved all three problems that were causing delays in our progress. We were able to find the “tools” folder by downloading a separate SDK from the android developers website. As a result, we were able to convert the java application that was provided by neurosky into a build.gradle file. This file was essential in order to import the code into Android Studio. We were able to successfully do this, and have now rid ourselves of the problems we had the week before break.One problem we’ve had is that there are 13 errors in the build.gradle code. We’ve been able to get around this by running the app on eclipse through an Android phone. 
Plans: We then began to think about the advantages that we could have if we also made the same app in Xcode. This would then expand our product to more fields. We could reach android users and apple users. We are still deciding on whether or not to do this, it would be a good option to keep open. Now that we are able to get the code up in android studio and eclipse, we need to start modifying it and begin to research how we are able to bring in the collected data that Ryan and Andres are collecting.