kitschpatrol / BrainGrapher

Processing-based visualizer for NeuroSky EEG brainwave data output from the Arduino Brain library.
https://frontiernerds.com/brain-hack
MIT License
206 stars 87 forks source link

Line Graph Inside Visualizers Aren't Working in the Latest Arduino Version #1

Closed vicc closed 10 years ago

vicc commented 11 years ago

I followed every single step but for some reason even though I can see the bars moving up and down in processing, the graph section (line graph) is empty. It's not showing anything. I'm using the hack on a mindflex head set.

Arduino: 1.0.5 Processing: 2.0.1 ControlP5: 2.0.4

Do I need to download something else besides those three things? Thank you!

screen shot 2013-07-20 at 6 13 10 pm

mashcode commented 10 years ago

Ever find a fix for this issue? Cheers!

Talamantez commented 10 years ago

I don't think there has been a fix for this...however, there is a lot of other cool stuff out there now using hacked mindflexes. For instance, I put something together in node.js that allows you to launch an ar drone using you brain based off of what I learned from this code. Also, I put a module together with something someone wrote for what is now Xively that lets you trigger an email by thinking hard. What I'm saying is, just because this particular thing doesn't work any more doesn't mean you should stop there!

On Wed, Dec 4, 2013 at 11:26 AM, Marc Shifflett notifications@github.comwrote:

Ever find a fix for this issue? Cheers!

— Reply to this email directly or view it on GitHubhttps://github.com/kitschpatrol/Processing-Brain-Grapher/issues/1#issuecomment-29836415 .

Rigoberto de los Talamatinos

mashcode commented 10 years ago

The graphing problem is actually, at least in my case, a UI bug. Selecting, or deselecting as the case may be, the check? boxes in the monitor, bar graph area for each frequency will start the live line graph. Ah the semi-sweet joy of java interfaces. It took a session of random window clicking to discover this.

Funny I have been thinkering with the idea of using drones. I'll keep my eyes peeled and helmet on. Thanks

M

On Dec 4, 2013, at 10:36 PM, Robert Talamantez notifications@github.com wrote:

I don't think there has been a fix for this...however, there is a lot of other cool stuff out there now using hacked mindflexes. For instance, I put something together in node.js that allows you to launch an ar drone using you brain based off of what I learned from this code. Also, I put a module together with something someone wrote for what is now Xively that lets you trigger an email by thinking hard. What I'm saying is, just because this particular thing doesn't work any more doesn't mean you should stop there!

On Wed, Dec 4, 2013 at 11:26 AM, Marc Shifflett notifications@github.comwrote:

Ever find a fix for this issue? Cheers!

\ Reply to this email directly or view it on GitHubhttps://github.com/kitschpatrol/Processing-Brain-Grapher/issues/1#issuecomment-29836415 .

Rigoberto de los Talamatinos \ Reply to this email directly or view it on GitHub.

caroldn commented 10 years ago

Thank you @mashcode you are absolutely right! It wasn't a bug, it was a feature--the top graphs don't work if you haven't told it to graph anything. Yay! Now--random noise or actually usable data?

mashcode commented 10 years ago

@caroldn 'tis a bug of uninteneded consequences. Here's what I did to change the checkboxes in the monitor to the expected behavior. Gray = unchecked Black = checked. Cheers.

// Create GUI .... showGraph.setColorActive(color(180)); showGraph.setColorBackground(color(0));

caroldn commented 10 years ago

Thanks Marc that's nifty. Probably the best way to avoid human error on that account is to have the top graphs turned on by default--people may never realize that they could turn them off, but they'd still end up with richer data than all the people who just decide it doesn't work as expected.

gfetters commented 10 years ago

Excellent work. I was wondering why the graphs weren't working. Turned them on and bingo it good. Thanks for the comments.

kitschpatrol commented 10 years ago

Thanks for looking into this, there seems to have been some API drift / breakage in control P5 over the years. I should have some time to clean everything up in the next week. (Doing the same to the Arduino end of the equation.)

kitschpatrol commented 10 years ago

Ok, fixes for this are 1.0 release. @mashcode, I incorporated your checkbox color swap and made the graphing functionality default to "on". Thanks again!

Talamantez commented 10 years ago

Thanks!

On Sat, Jan 18, 2014 at 4:58 PM, Eric Mika notifications@github.com wrote:

Ok, fixes for this are 1.0 release. @mashcodehttps://github.com/mashcode, I incorporated your checkbox color swap and made the graphing functionality default to "on". Thanks again!

— Reply to this email directly or view it on GitHubhttps://github.com/kitschpatrol/BrainGrapher/issues/1#issuecomment-32698124 .

Rigoberto de los Talamatinos

mashcode commented 10 years ago

Thanks!

@mashcode

On Jan 18, 2014, at 7:58 PM, Eric Mika notifications@github.com wrote:

Ok, fixes for this are 1.0 release. @mashcode, I incorporated your checkbox color swap and made the graphing functionality default to "on". Thanks again!

\ Reply to this email directly or view it on GitHub.