added some input logging

This commit is contained in:
Nicolas Kuhl 2023-06-29 06:06:41 +02:00
parent 42a4589732
commit 48e2ea0ac3

View File

@ -249,6 +249,9 @@ class Sim(Node):
def call(self, msg):
global controllerInput
controllerInput = max(min(msg.data,100),0)
print("Controller sent " + str(msg.data))
if controllerInput != msg.data:
print("Clamped out of range input data")
def callback(self):
msg = Float64()