and fixed the temperature typo everywhere else (hopefully)
This commit is contained in:
parent
33b8ee0ec7
commit
27914e6a19
|
@ -174,8 +174,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow,
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
if text == "temperatur":
|
|
||||||
text += "e"
|
|
||||||
if actor == "merle":
|
if actor == "merle":
|
||||||
self.add_text(0, "%s = %s" % (
|
self.add_text(0, "%s = %s" % (
|
||||||
text, ", ".join([str(i) for i in args])))
|
text, ", ".join([str(i) for i in args])))
|
||||||
|
|
|
@ -148,7 +148,7 @@ public class Main {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
chaOSCclient.addListener("/" + actor.toLowerCase() + "/temperatur", new OSCListener() {
|
chaOSCclient.addListener("/" + actor.toLowerCase() + "/temperature", new OSCListener() {
|
||||||
@Override
|
@Override
|
||||||
public void acceptMessage(Date time, OSCMessage message) {
|
public void acceptMessage(Date time, OSCMessage message) {
|
||||||
if (message.getArguments().length == 1) {
|
if (message.getArguments().length == 1) {
|
||||||
|
|
|
@ -73,7 +73,7 @@ class EHealth2OSC(Forwarder):
|
||||||
osc_message = OSCMessage("/%s/emg" % self.actor)
|
osc_message = OSCMessage("/%s/emg" % self.actor)
|
||||||
osc_message.appendTypedArg(emg, "i")
|
osc_message.appendTypedArg(emg, "i")
|
||||||
osc_sock.sendall(osc_message.encode_osc())
|
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_message.appendTypedArg(temp, "i")
|
||||||
osc_sock.sendall(osc_message.encode_osc())
|
osc_sock.sendall(osc_message.encode_osc())
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ class EHealth2OSC(Forwarder):
|
||||||
osc_message = OSCMessage("/%s/emg" % self.actor)
|
osc_message = OSCMessage("/%s/emg" % self.actor)
|
||||||
osc_message.appendTypedArg(emg, "i")
|
osc_message.appendTypedArg(emg, "i")
|
||||||
osc_sock.sendall(osc_message.encode_osc())
|
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_message.appendTypedArg(temp, "i")
|
||||||
osc_sock.sendall(osc_message.encode_osc())
|
osc_sock.sendall(osc_message.encode_osc())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue