diff --git a/src/personalize/configuration/personal_track_annotations.py b/src/personalize/configuration/personal_track_annotations.py index de260a9..9564c8a 100644 --- a/src/personalize/configuration/personal_track_annotations.py +++ b/src/personalize/configuration/personal_track_annotations.py @@ -147,6 +147,8 @@ ross_raceway_annotations = [] +ross_raceway_ccw_annotations = [] + ross_super_speedway_annotations = [] oval_track_annotations = [] diff --git a/src/tracks/ross_raceway_track_ccw.py b/src/tracks/ross_raceway_track_ccw.py new file mode 100644 index 0000000..b4ec232 --- /dev/null +++ b/src/tracks/ross_raceway_track_ccw.py @@ -0,0 +1,181 @@ +# +# DeepRacer Guru +# +# Version 3.0 onwards +# +# Copyright (c) 2021 dmh23 +# + +from src.tracks.track import Track +import src.personalize.configuration.personal_track_annotations as config + + +class RossRacewayCounterClockwiseTrack(Track): + def __init__(self): + super().__init__() + + self._ui_name = "Ross Raceway (Counter Clockwise)" + self._ui_description = "The Ross Raceway was named in honor of the 2021 AWS DeepRacer 3rd place Champion, Ross Williams. Expect to see racers put the pedal to the metal on the 3x dragstrips featured on the Ross Raceway, but there will be no shortage of off tracks as they navigate the various sweeping turns." + self._ui_length_in_m = 99.99 # metres NOT SPECIFIED + self._ui_width_in_cm = 107 # centimetres NOT SPECIFIED + self._world_name = "2022_may_open_ccw" + self._track_sector_dividers = [27, 58, 86, 110, 128] + self._annotations = config.ross_raceway_ccw_annotations + self._track_width = 1.066 + + self._track_waypoints = [(5.047713151170359, 0.7338535442132044), + (5.04770565032959, 0.8638535439968109), + (5.0476956834520985, 0.9938535436147392), + (5.047682523727417, 1.1654984951019287), + (5.047635078430176, 1.4671425223350525), + (5.047637939453125, 1.7687879800796509), + (5.047791957855225, 2.0704389810562134), + (5.047592401504517, 2.3720779418945312), + (5.046535491943359, 2.6736875772476196), + (5.047996997833252, 2.9753825664520264), + (5.054185152053833, 3.2772375345230103), + (5.043642044067383, 3.578518033027649), + (4.985517501831055, 3.873627543449402), + (4.864901304244995, 4.149420976638794), + (4.694380521774292, 4.397387504577637), + (4.485466480255127, 4.614418983459473), + (4.248257637023926, 4.800158500671387), + (3.9890859127044678, 4.953978538513184), + (3.7155709266662598, 5.080641984939575), + (3.430908441543579, 5.1799540519714355), + (3.137750506401062, 5.250427484512329), + (2.8397865295410156, 5.296255588531494), + (2.539120078086853, 5.3181071281433105), + (2.2375710010528564, 5.3235108852386475), + (1.9359005093574524, 5.322162628173828), + (1.6342605352401733, 5.322505950927734), + (1.332614541053772, 5.322503566741943), + (1.030969500541687, 5.322561025619507), + (0.729324609041214, 5.3226025104522705), + (0.427679643034935, 5.322644948959351), + (0.12603449821472168, 5.322690010070801), + (-0.17561005055904388, 5.322726488113403), + (-0.4772569537162781, 5.322813034057617), + (-0.7788949012756348, 5.3227338790893555), + (-1.0805605053901672, 5.3232011795043945), + (-1.3821905255317688, 5.322984933853149), + (-1.6810904741287231, 5.284508943557739), + (-1.9751620292663574, 5.2178521156311035), + (-2.260125994682312, 5.119076490402222), + (-2.5373090505599976, 5.00073504447937), + (-2.8059630393981934, 4.863694906234741), + (-3.062180995941162, 4.704719543457031), + (-3.3042320013046265, 4.5248870849609375), + (-3.529217481613159, 4.3243091106414795), + (-3.7318731546401978, 4.101363658905029), + (-3.90584647655487, 3.8554480075836186), + (-4.039863586425781, 3.585712075233459), + (-4.1200443506240845, 3.2955139875411987), + (-4.144556403160095, 2.995144486427307), + (-4.126953125, 2.6942654848098755), + (-4.071332931518555, 2.398432970046997), + (-3.958806037902832, 2.1193479895591736), + (-3.783313035964966, 1.8751635551452637), + (-3.5551005601882935, 1.6790630221366882), + (-3.2907774448394775, 1.5345749258995056), + (-3.0078725814819336, 1.430380940437317), + (-2.7149124145507804, 1.3586868941783903), + (-2.4165639877319336, 1.3140783309936523), + (-2.1169010400772095, 1.2831584215164185), + (-1.815625011920929, 1.268408864736557), + (-1.5143309831619263, 1.2538496851921082), + (-1.2130455374717712, 1.2390367984771729), + (-0.9114704728126526, 1.2363835275173187), + (-0.6098254919052124, 1.2365630269050598), + (-0.308188796043396, 1.2365911602973938), + (-0.007330369204282761, 1.2191131711006165), + (0.2860223539173603, 1.1508545875549316), + (0.563851535320282, 1.0351442098617554), + (0.8147554844617844, 0.8685226440429688), + (1.0282776355743408, 0.6561800837516785), + (1.2003579139709473, 0.4092078059911728), + (1.3295488953590393, 0.13720808364450932), + (1.4157362580299377, -0.15150323323905468), + (1.450616329908371, -0.45052170753479004), + (1.3927295207977288, -0.7463871538639085), + (1.2908461689949036, -1.0299692749977112), + (1.143800526857376, -1.2926869690418243), + (0.9518398344516754, -1.5243859887123108), + (0.7186586856842025, -1.7145115137100229), + (0.45227885246276683, -1.855014026165009), + (0.16265911608934402, -1.9376079440116882), + (-0.1363276019692421, -1.974715530872345), + (-0.43811360001564026, -1.9738110303878784), + (-0.7397201657295245, -1.9762679934501648), + (-1.0413659811019875, -1.9779844880104065), + (-1.3430045247077942, -1.9798510074615479), + (-1.644643962383268, -1.9816885590553284), + (-1.9462829828262347, -1.9835320115089417), + (-2.2479225397109985, -1.985372543334961), + (-2.549562096595764, -1.9872255325317383), + (-2.851203441619873, -1.98899644613266), + (-3.1528279781341553, -1.9913004636764526), + (-3.4545594453811646, -1.990263044834137), + (-3.7552355527877808, -2.0102375149726868), + (-4.043314099311829, -2.0968234539031982), + (-4.30501401424408, -2.2452834844589233), + (-4.5301430225372314, -2.4454654455184937), + (-4.715251445770264, -2.6832419633865356), + (-4.861320495605469, -2.9466885328292847), + (-4.9679179191589355, -3.228197932243347), + (-5.033743619918823, -3.522189497947693), + (-5.035353899002075, -3.8221709728240967), + (-4.979797840118408, -4.1186283826828), + (-4.885537624359131, -4.404821395874023), + (-4.747098445892334, -4.67200779914856), + (-4.558772563934326, -4.9065775871276855), + (-4.323529958724976, -5.094030380249023), + (-4.052764415740967, -5.225226402282715), + (-3.761020541191101, -5.2993834018707275), + (-3.460679054260254, -5.324389457702637), + (-3.1590585708618164, -5.324723482131958), + (-2.8573139905929565, -5.3203818798065186), + (-2.5556769371032715, -5.320091009140015), + (-2.2540465593338013, -5.320049047470093), + (-1.952399492263794, -5.319373607635498), + (-1.6507534980773952, -5.318728923797607), + (-1.3491094708442688, -5.318179130554199), + (-1.0474649667739868, -5.317615032196045), + (-0.7458204627037088, -5.317038059234619), + (-0.44417594373226166, -5.316463947296143), + (-0.1425314992666209, -5.315891981124878), + (0.15911295264959335, -5.3153181076049805), + (0.46075744926929474, -5.314745903015137), + (0.7624020576477013, -5.314177513122559), + (1.0640459656715429, -5.313592910766602), + (1.365689992904663, -5.312999963760376), + (1.6673370003700232, -5.312516927719116), + (1.96898353099823, -5.312005996704102), + (2.270608067512512, -5.310791015625), + (2.57225501537323, -5.310286045074463), + (2.874038577079773, -5.314147472381592), + (3.17556989192963, -5.309978008270264), + (3.475502014160152, -5.281306505203247), + (3.7679214477539062, -5.209463596343994), + (4.044942855834964, -5.090991020202635), + (4.2989044189453125, -4.929158926010132), + (4.525230407714842, -4.730527400970461), + (4.716594934463501, -4.497802019119263), + (4.866780042648314, -4.236763954162601), + (4.974277973175049, -3.9555180072784424), + (5.034102439880371, -3.6602519750595093), + (5.051187992095947, -3.359257936477661), + (5.050349473953247, -3.0575923919677734), + (5.047270059585571, -2.75586998462677), + (5.0475685596466064, -2.4542330503463745), + (5.048034429550171, -2.1525999307632446), + (5.047942638397217, -1.8509529829025269), + (5.0478515625, -1.5493065118789673), + (5.047849178314209, -1.2476614713668823), + (5.047840118408203, -0.9460167586803436), + (5.047814846038818, -0.6443717181682587), + (5.047791004180908, -0.3427266478538513), + (5.047769069671631, -0.041081611067056656), + (5.047745943069458, 0.26056334376335144), + (5.047723054885864, 0.5622083842754364), + (5.047713151170359, 0.7338535442132044)] \ No newline at end of file diff --git a/src/tracks/tracks.py b/src/tracks/tracks.py index ce27071..dfdad57 100644 --- a/src/tracks/tracks.py +++ b/src/tracks/tracks.py @@ -53,6 +53,7 @@ from src.tracks.ace_super_speedway_cw_track import AceSuperSpeedwayClockwiseTrack from src.tracks.ace_super_speedway_ccw_track import AceSuperSpeedwayCounterClockwiseTrack from src.tracks.ross_raceway_track import RossRacewayTrack +from src.tracks.ross_raceway_track_ccw import RossRacewayCounterClockwiseTrack from src.tracks.ross_super_speedway_track import RossSuperSpeedwayTrack from src.tracks.oval_track import OvalTrack from src.tracks.breadcentric_loop_track import BreadCentricLoopTrack @@ -109,7 +110,7 @@ def get_all_tracks(): VivalasLoooTrack(), VivalasSpeedwayTrack(), RLSpeedwayTrack(), RogueCircuitTrack(), AceSpeedwayTrack(), AceSpeedwayClockwiseTrack(), AceSpeedwayCounterClockwiseTrack(), AceSuperSpeedwayTrack(), AceSuperSpeedwayClockwiseTrack(), AceSuperSpeedwayCounterClockwiseTrack(), - RossRacewayTrack(), DBroSuperRacewayClockwiseTrack(), DBroSuperRacewayCounterClockwiseTrack(), + RossRacewayTrack(), RossRacewayCounterClockwiseTrack(), DBroSuperRacewayClockwiseTrack(), DBroSuperRacewayCounterClockwiseTrack(), RossSuperSpeedwayTrack(), OvalTrack(), BreadCentricLoopTrack(), BreadCentricSpeedwayTrack(), BreadCentricSpeedwayClockwiseTrack(), BreadCentricSpeedwayCounterClockwiseTrack(), DBroRacewayTrack(), DBroSuperRacewayTrack(), JochemTurnpikeTrack(), JochemHighwayTrack(),