Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
class Road:
"This is the Road class. A road is a set of x,y coordinates that an agent uses to guide its steering behavior."
center_x,center_y = [],[]
nearpoint_distance,farpoint_distance = 0,0
delta_alpha_set, waypoint_set = {},{}
def __init__(self,center_x,center_y,nearpoint_distance,farpoint_distance,delta_alpha_set, waypoint_set):
self.center_x = center_x
self.center_y = center_y
self.nearpoint_distance = nearpoint_distance
self.farpoint_distance = farpoint_distance
self.delta_alpha_set = delta_alpha_set
self.waypoint_set = waypoint_set