def createCarPositionLog(car, currentTime):
    """
    :param car: dictionary with spesific car parameters at time Current time
    :param currentTime: the time wanted to be logged
    :return: dictionary to add to car logger
    """
    return {'position': car['position'], 'time': currentTime, 'target': car['target'], 'targetId': car['targetId']}