def axis_data(self): # Gas und Gangschaltung gas = deadzone(diff_mix( self.a(2), self.a(5) ), 0.05) gang = sign(gas) gas = abs(gas) # Lenkung lenkung = self.a(0) return (gas, lenkung, gang)
def axis_data(self): # Gas gas = diff_mix( self.a(2), self.a(5) ) lenkung = self.a(0) return (gas, lenkung)
def axis_data(self): schub = deadzone(diff_mix( -1, self.a(2) ), 0.05) return (schub, self.a(4), self.a(0), self.a(1))