artoo-neurosky 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/artoo-neurosky.gemspec +1 -1
- data/docs/events_neurosky.md +34 -0
- data/lib/artoo-neurosky/version.rb +1 -1
- data/lib/artoo/drivers/neurosky.rb +0 -8
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0fe2a4f252f3bd3d5149fe0d040816a82834725
|
4
|
+
data.tar.gz: 2332d6d7b8ed3a2aa4c5100923538ab886631f09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c74a7e8b802a2385f84c34450aabc308aff0e5eb8dc60f50bee9b5f6366241c4a8bd109784b51be154f2eb878b4452b2babf85fcdb12c7954dcb36c95d3fe2bf
|
7
|
+
data.tar.gz: ffe74eaefa2c1fd9b068944e822f9134312bc5ebf9dfd90389eeee4a5488aded13dd761532efa5becd271fd29a1fe6c6e8e7d96b03005c46493ae633a89603e4
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
artoo-neurosky (0.1.
|
4
|
+
artoo-neurosky (0.1.1)
|
5
5
|
artoo (>= 1.6.4)
|
6
|
-
mindset
|
6
|
+
hybridgroup-mindset
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
@@ -27,8 +27,8 @@ GEM
|
|
27
27
|
http (0.5.0)
|
28
28
|
http_parser.rb
|
29
29
|
http_parser.rb (0.6.0)
|
30
|
+
hybridgroup-mindset (0.3)
|
30
31
|
method_source (0.8.2)
|
31
|
-
mindset (0.2)
|
32
32
|
multi_json (1.9.2)
|
33
33
|
nio4r (1.0.0)
|
34
34
|
pry (0.9.12.6)
|
data/artoo-neurosky.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
23
|
s.add_runtime_dependency 'artoo', '>= 1.6.4'
|
24
|
-
s.add_runtime_dependency 'mindset'
|
24
|
+
s.add_runtime_dependency 'hybridgroup-mindset'
|
25
25
|
# TODO: add your development dependencies here
|
26
26
|
# EXAMPLE:
|
27
27
|
# s.add_development_dependency 'minitest', '>= 5.0'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Events
|
2
|
+
|
3
|
+
## attention(data)
|
4
|
+
|
5
|
+
Event with the user's current attention level.
|
6
|
+
|
7
|
+
## meditation(data)
|
8
|
+
|
9
|
+
Event with the user's current meditation level.
|
10
|
+
|
11
|
+
## signal_quality(data)
|
12
|
+
|
13
|
+
Event showing signal strength.
|
14
|
+
|
15
|
+
## wave(data)
|
16
|
+
|
17
|
+
Event showing wave data.
|
18
|
+
|
19
|
+
## eeg(data)
|
20
|
+
|
21
|
+
Event showing EEG data.
|
22
|
+
|
23
|
+
{ :delta=>7023617,
|
24
|
+
:theta=>15294464,
|
25
|
+
:lo_alpha=>15209472,
|
26
|
+
:hi_alpha=>13321984,
|
27
|
+
:lo_beta=>4527616,
|
28
|
+
:hi_beta=>12073472,
|
29
|
+
:lo_gamma=>862464,
|
30
|
+
:mid_gamma=>13637632 }
|
31
|
+
|
32
|
+
## start
|
33
|
+
|
34
|
+
Gets triggered when the Mindwave is started and ready to be used.
|
@@ -55,14 +55,6 @@ module Artoo
|
|
55
55
|
puts packet.inspect
|
56
56
|
end
|
57
57
|
end
|
58
|
-
|
59
|
-
|
60
|
-
{:signal_quality=>200}
|
61
|
-
{:delta=>7023617, :theta=>15294464, :lo_alpha=>15209472, :hi_alpha=>13321984, :lo_beta=>4527616, :hi_beta=>12073472, :lo_gamma=>862464, :mid_gamma=>13637632}
|
62
|
-
{:attention=>0}
|
63
|
-
{:meditation=>0}
|
64
|
-
|
65
|
-
|
66
58
|
end
|
67
59
|
end
|
68
60
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artoo-neurosky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ron Evans
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.6.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: mindset
|
28
|
+
name: hybridgroup-mindset
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
@@ -52,6 +52,7 @@ files:
|
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
54
|
- artoo-neurosky.gemspec
|
55
|
+
- docs/events_neurosky.md
|
55
56
|
- example/eeg.rb
|
56
57
|
- example/neuro.rb
|
57
58
|
- lib/artoo-neurosky.rb
|