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 = deadzone(self.a(2), 0.05) gang = sign(gas) gas = abs(gas) return (gas, self.a(0), gang)