def reverse_rover(Rover):
    """
    Reverse rover
    Inputs:
        Rover (Rover object)
    Returns:
        Rover (Rover object)
    """
    Rover.mode = "forward"
    # rover velocity is not min
    if Rover.vel > -Rover.max_vel:
        # Set throttle value to throttle setting
        Rover.throttle = -Rover.throttle_set
    else: # Else coast
        Rover.throttle = 0
    Rover.brake = 0
    Rover.steer = 0
    return Rover