import math


def reset_state(state):
    """
    The function to reset state array to initial values.
    Arguments:
        state: the array with state variables.
    Returns:
        The state array with values set to initial ones.
    """
    state[0], state[1], state[3], state[4], state[5] = 0, 0, 0, 0, 0
    state[2] = math.pi / 180.0 # the one_degree
    return state