parameters: (self, controller_input)
return_statement: return player_input
docstring: Converts a v3 output to a v4 controller state
docstring_summary: Converts a v3 output to a v4 controller state
docstring_tokens: Converts a v3 output to a v4 controller state
function: def convert_output_to_v4(self, controller_input):
          """Converts a v3 output to a v4 controller state"""
          player_input = SimpleControllerState()
          player_input.throttle = controller_input[0]
          player_input.steer = controller_input[1]
          player_input.pitch = controller_input[2]
          player_input.yaw = controller_input[3]
          player_input.roll = controller_input[4]
          player_input.jump = controller_input[5]
          player_input.boost = controller_input[6]
          player_input.handbrake = controller_input[7]
  
          return player_input
function_tokens: def convert_output_to_v4 ( self , controller_input ) : player_input = SimpleControllerState ( ) player_input . throttle = controller_input [ 0 ] player_input . steer = controller_input [ 1 ] player_input . pitch = controller_input [ 2 ] player_input . yaw = controller_input [ 3 ] player_input . roll = controller_input [ 4 ] player_input . jump = controller_input [ 5 ] player_input . boost = controller_input [ 6 ] player_input . handbrake = controller_input [ 7 ] return player_input