示例#1
0
 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)
示例#2
0
 def axis_data(self):
     gas = deadzone(self.a(2), 0.05)
     gang = sign(gas)
     gas = abs(gas)
     return (gas, self.a(0), gang)