Searched refs:input_steering (Results 1 – 4 of 4) sorted by relevance
29 input_steering = STEERING_CENTRE; in init()62 input_steering = input.a_wheel; in tick()86 if (input_steering > STEERING_CENTRE) input_steering = STEERING_CENTRE; in digital_steering()88 input_steering -= steering_inc; in digital_steering()89 if (input_steering < STEERING_MIN) input_steering = STEERING_MIN; in digital_steering()94 if (input_steering < STEERING_CENTRE) input_steering = STEERING_CENTRE; in digital_steering()96 input_steering += steering_inc; in digital_steering()97 if (input_steering > STEERING_MAX) input_steering = STEERING_MAX; in digital_steering()195 if (input_steering < STEERING_MIN) input_steering = STEERING_MIN; in adjust_inputs()196 else if (input_steering > STEERING_MAX) input_steering = STEERING_MAX; in adjust_inputs()[all …]
31 int16_t input_steering; member in OInputs
407 int16_t steering = (oinputs.input_steering & 0xFF) - 0x80; in read_controls()
291 outputs->tick(oinputs.input_steering); // Todo: Should be motor_input on real cab! in jump_table()