5 Commits

Autor SHA1 Mensagem Data
AJ Keller b228461253 Merge pull request #131 from OpenBCI/development
Development
2017-02-16 13:10:31 -05:00
AJ Keller 059a9361a9 Merge pull request #124 from aj-ptw/fix-120
Fixed locale to US always for ODF format - #120
2017-02-07 14:19:19 -05:00
AJ Keller d48df5a5ad Bump version number 2017-02-07 14:18:49 -05:00
AJ Keller 2e9e78ab32 Fixed locale to US always for ODF format - #120 2017-02-07 14:00:45 -05:00
Joel Murphy fe88c989e4 Update README.md 2017-02-02 14:12:36 -05:00
4 arquivos alterados com 14 adições e 13 exclusões
+5
Ver Arquivo
@@ -1,3 +1,8 @@
# 2.1.2
### Bug Fixes
* Fix #120 - Locale dependent formatting cause issue with output ODF file.
# 2.1.1
### Bug Fixes
+6 -6
Ver Arquivo
@@ -87,9 +87,9 @@ void openNewLogFileODF(String _fileName) {
*/
void playbackSelected(File selection) {
if (selection == null) {
println("ControlPanel: playbackSelected: Window was closed or the user hit cancel.");
println("DataLogging: playbackSelected: Window was closed or the user hit cancel.");
} else {
println("ControlPanel: playbackSelected: User selected " + selection.getAbsolutePath());
println("DataLogging: playbackSelected: User selected " + selection.getAbsolutePath());
output("You have selected \"" + selection.getAbsolutePath() + "\" for playback.");
playbackData_fname = selection.getAbsolutePath();
}
@@ -135,7 +135,7 @@ void fileSelected(File selection) { //called by the Open File dialog box after
println("fileSelected: no selection so far...");
} else {
//inputFile = selection;
playbackData_fname = selection.getAbsolutePath();
playbackData_fname = selection.getAbsolutePath(); //<>//
}
}
@@ -260,7 +260,7 @@ public class OutputFile_rawtxt {
int nVal = values.length;
for (int Ival = 0; Ival < nVal; Ival++) {
output.print(", ");
output.print(String.format("%.2f", scale_fac * float(values[Ival])));
output.print(String.format(Locale.US, "%.2f", scale_fac * float(values[Ival])));
}
}
@@ -268,7 +268,7 @@ public class OutputFile_rawtxt {
int nVal = values.length;
for (int Ival = 0; Ival < nVal; Ival++) {
output.print(", ");
output.print(String.format("%.3f", scale_fac * float(values[Ival])));
output.print(String.format(Locale.US, "%.3f", scale_fac * float(values[Ival])));
}
}
@@ -1475,4 +1475,4 @@ public void convertSDFile() {
dataWriter.println();
}
}
}
}
+2 -2
Ver Arquivo
@@ -979,7 +979,7 @@ void introAnimation() {
textLeading(24);
fill(31, 69, 110, transparency);
textAlign(CENTER, CENTER);
text("OpenBCI GUI v2.1.1\nJanuary 2017", width/2, height/2 + width/9);
text("OpenBCI GUI v2.1.2\nJanuary 2017", width/2, height/2 + width/9);
}
//exit intro animation at t2
@@ -1039,4 +1039,4 @@ PVector getWindowLocation(String renderer) {
}
return l;
}
//END OF CODE FOR FIXING WEIRD EXIT CRASH ISSUE -- 7/27/16 ===========================
//END OF CODE FOR FIXING WEIRD EXIT CRASH ISSUE -- 7/27/16 ===========================
+1 -5
Ver Arquivo
@@ -2,8 +2,4 @@ Project Management Plan:
[![Stories in Ready](https://badge.waffle.io/OpenBCI/OpenBCI_GUI_v2.0.svg?label=ready&title=Ready)](http://waffle.io/OpenBCI/OpenBCI_GUI_v2.0)
# OpenBCI_GUI_v2.0
Based on OpenBCI_Processing, OpenBCI_GUI_v2.0 extends the GUI to include additional features, and will soon be usable with the Ganglion board.
## Developing
Drag and drop all folders in the libraries folder into your processing libraries folder.
Based on OpenBCI_Processing, OpenBCI_GUI_v2.0 extends the GUI to include additional features, and interfaces with the OpenBCI [Cyton](http://shop.openbci.com/collections/frontpage/products/openbci-32-bit-board-kit?variant=784651699) and [Ganglion](http://shop.openbci.com/collections/frontpage/products/pre-order-ganglion-board?variant=13461804483) hardware systems. Tutorials, and getting started guides can be found on the [OpenBCI Learning Pages](http://docs.openbci.com/Getting%20Started/00-Welcome). For a guide on how to run this code in the Processing IDE, go [here](http://docs.openbci.com/OpenBCI%20Software/01-OpenBCI_GUI)