-
-
Notifications
You must be signed in to change notification settings - Fork 365
Update Galea board using production specifications #782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
{ | ||
std::stringstream gains; | ||
|
||
for (int i = 0; i < 20; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it 20? would be better to dont hardcode the value but check the lenght of the vector instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can also make it the same for cyton
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can add method to return a string straight to gain tracker class, check the size there and just call this method from galea and cyton from config_board
{"timestamp_channel", 27}, | ||
{"marker_channel", 28}, | ||
{"num_rows", 29}, | ||
{"eeg_channels", {9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if I count correctly, eeg + emg + eog here is 24 channels. In gain tracker in one place its 20 and in parsing code its 28 in one place, have you double checked it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, sorry, its 28 byt starts from 4, so 24 is correct, why 20 in gain tracker?
Fixes #783
Fixes #784