and fixed the temperature typo everywhere else (hopefully)

This commit is contained in:
Lucas Pleß 2014-11-19 03:21:14 +01:00
parent 33b8ee0ec7
commit 27914e6a19
4 changed files with 3 additions and 5 deletions

View File

@ -174,8 +174,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow,
except AttributeError:
pass
else:
if text == "temperatur":
text += "e"
if actor == "merle":
self.add_text(0, "%s = %s" % (
text, ", ".join([str(i) for i in args])))

View File

@ -148,7 +148,7 @@ public class Main {
}
});
chaOSCclient.addListener("/" + actor.toLowerCase() + "/temperatur", new OSCListener() {
chaOSCclient.addListener("/" + actor.toLowerCase() + "/temperature", new OSCListener() {
@Override
public void acceptMessage(Date time, OSCMessage message) {
if (message.getArguments().length == 1) {

View File

@ -73,7 +73,7 @@ class EHealth2OSC(Forwarder):
osc_message = OSCMessage("/%s/emg" % self.actor)
osc_message.appendTypedArg(emg, "i")
osc_sock.sendall(osc_message.encode_osc())
osc_message = OSCMessage("/%s/temperatur" % self.actor)
osc_message = OSCMessage("/%s/temperature" % self.actor)
osc_message.appendTypedArg(temp, "i")
osc_sock.sendall(osc_message.encode_osc())

View File

@ -75,7 +75,7 @@ class EHealth2OSC(Forwarder):
osc_message = OSCMessage("/%s/emg" % self.actor)
osc_message.appendTypedArg(emg, "i")
osc_sock.sendall(osc_message.encode_osc())
osc_message = OSCMessage("/%s/temperatur" % self.actor)
osc_message = OSCMessage("/%s/temperature" % self.actor)
osc_message.appendTypedArg(temp, "i")
osc_sock.sendall(osc_message.encode_osc())