def get_roadside_config(config:dict):
    """
    takes a config dictionary and returns the variables related to roadside deployment (push to server).
    If there is any error in the configuration, returns a quadruple of -1 with a console output of the exception
    """
    try:
        server = config["DataTransfer"]["server"]
        intersection = config["DataTransfer"]["intersection"]
        startHour = config["DataTransfer"]["StartTime_PushToServer"]["hour"]
        startMinute = config["DataTransfer"]["StartTime_PushToServer"]["minute"]
        return server, intersection, startHour, startMinute
    except Exception as e:
        print(e)
        return -1, -1, -1, -1