Re: [buildcheapeeg] BWView improvements

From: Jim Peters (jim_at_uazu.net)
Date: 2002-03-01 10:05:44


Doug Sutherland wrote:
> I've been thinking a bit on OO methods, one that has interesting
> implications might be eeg.setSamplingRate(120) which would send
> a command to configure the Atmel microcontroller. Perhaps there
> are other commands and/or responses from the microcontroller
> that should be wrapped in getter and setter methods. We really
> should start thinking hard about sensors as generic entities.

I'm not the best person to discuss this with. I've probably been too
much influenced by using Perl and the UNIX environment. After all,
UNIX is a component system that has been working well for a long long
time (they only briefly touched on this in the article you linked to,
where some guy mentioned the idea that components are items that can
be put together with a scripting language, which everyone then totally
ignored, by the sound of it).

I would say, why not initialise a sensor device with a command-line
string, or with a 'hash' of config-file values ? Saying "-r 120" is
much less to type.

But anyway, if more conventional OO looks good to others, that's fine.
I'll go along with that. Solid working code of any form is probably
better than nothing.

Also, as you may have noticed, anything I code myself will probably
end up looking like a console application, as that is the place I call
home. It will be 90% keyboard oriented, because that makes it very
fast to operate. No fiddly widgets to click! No wasteful
hand-mouse-pointer-eye-hand feedback loop just to press a button!

However, probably some people will be wanting to move towards a fancy
GUI, so that Windows people and mouse users feel like they are in
control. This is not an area that I feel happy with -- trying to
create something I'm not going to enjoy using is not a recipe for
success! If as a group we go that way, someone else will have to take
charge of coding the UI, and I can provide some of the 'engine' code.

Hopefully, if we've already tried out a few of the possibilities
beforehand, then the GUI coder will have a good idea of what needs to
be done, making it an easier job.

Jim

-- 
Jim Peters (_)/=\~/_(_) jim_at_uazu.net
(_) /=\ ~/_ (_)
Uazú (_) /=\ ~/_ (_) http://
B'ham, UK (_) ____ /=\ ____ ~/_ ____ (_) uazu.net


This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:39 BST