Skip to content

plot_frictionmap_data

plot_tpamap_fromFile(track_name, filename_tpamap, filename_frictiondata)

Documentation This function loads the friction map file (_tpamap.csv') and the friction data file ('_tpadata.json') and creates all variables necessary for plotting the friction map as a grid containing the corresponding friction data.

Input :param track_name: name of the race track :param filename_tpamap: filename of the file containing the friction map ('_tpamap.csv'') :param filename_frictiondata: filename of the file containing the friction data ('_tpadata.json')

Output

plot_tpamap_fromVariable(tpa_map, tpa_data, refline, trackbound_right, trackbound_left)

Documentation This function plots the friction map as a grid without the corresponding friction data.

Input :param tpa_map: cKDTree object containing the coordinates of the friction map :param tpa_data: dictionary containing the friction data for each grid cell of the friction map :param refline: array consisting of the x-,y-coordinates of the reference line :param trackbound_right: array consisting of the x-,y-coordinates of the right track boundary :param trackbound_left: array consisting of the x-,y-coordinates of the left track boundary

Output