Skip to content

Commit

Permalink
Merge pull request #234 from ModdSquad/feature/ross_super_speedway_cw
Browse files Browse the repository at this point in the history
Add Ross Super Speedway Clockwise
  • Loading branch information
dmh23 authored Sep 30, 2024
2 parents f82cf1b + bc11df6 commit 598d2e1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/personalize/configuration/personal_track_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@

oval_track_annotations = []

ross_super_speedway_cw_annotations = []

breadcentric_speedway_annotations = []

breadcentric_speedway_cw_annotations = []
Expand Down
26 changes: 26 additions & 0 deletions src/tracks/ross_super_speedway_track_cw.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# 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 RossSuperSpeedwayClockwiseTrack(Track):
def __init__(self):
super().__init__()

self._ui_name = "Ross Super Speedway (Clockwise)"
self._ui_description = "The Ross Super Raceway was named in honor of the 2021 AWS DeepRacer 3rd place Champion, Ross Williams. Pro racers will be put to the test in navigating an unforgiving technical section full of variable angle turns, along with 2x lightning fast straightaways."
self._ui_length_in_m = 63.86 # metres NOT SPECIFIED
self._ui_width_in_cm = 107 # centimetres NOT SPECIFIED
self._world_name = "2022_may_pro_cw"
self._track_sector_dividers = [43, 83, 130, 165]
self._annotations = config.ross_super_speedway_annotations
self._track_width = 1.066

self._track_waypoints = [(-0.37851839849532143, -5.401791777356503), (-0.5085183382034302, -5.401916980743408), (-0.6385182811343939, -5.402038791857124), (-0.8100373446941376, -5.4021995067596436), (-1.1115564703941345, -5.402480602264404), (-1.4130755066871643, -5.402762413024902), (-1.7145944833755493, -5.403043508529663), (-2.016113519668579, -5.403325080871582), (-2.3176320791244507, -5.403607368469238), (-2.619151473045349, -5.403892517089844), (-2.920669913291931, -5.404171466827393), (-3.2221890687942505, -5.4044413566589355), (-3.5237085819244385, -5.404750347137451), (-3.8252285718917847, -5.4051220417022705), (-4.126745939254761, -5.4052934646606445), (-4.428257942199707, -5.405103445053101), (-4.729785442352295, -5.406004428863525), (-5.031344890594482, -5.4090635776519775), (-5.33281946182251, -5.406321048736572), (-5.634042978286743, -5.394961595535278), (-5.9296770095825195, -5.339141845703125), (-6.199670314788818, -5.208903074264526), (-6.401808023452759, -4.98776650428772), (-6.518488883972168, -4.710736036300659), (-6.572791576385498, -4.414638042449951), (-6.584621906280518, -4.113644361495972), (-6.5320069789886475, -3.8178399801254272), (-6.405730962753296, -3.544837474822998), (-6.224534511566162, -3.30463707447052), (-5.995650053024292, -3.1092615127563477), (-5.731461524963379, -2.9652280807495117), (-5.444194555282593, -2.875298023223877), (-5.145233392715454, -2.8389625549316406), (-4.844007968902588, -2.8290350437164307), (-4.542302131652832, -2.8310614824295044), (-4.240783929824829, -2.8283939361572266), (-3.939307451248169, -2.8246899843215942), (-3.637802004814148, -2.8217315673828125), (-3.336293935775757, -2.818808436393738), (-3.0347909927368164, -2.8157724142074585), (-2.73328697681427, -2.8127440214157104), (-2.431783080101013, -2.8097299337387085), (-2.130279064178467, -2.806712508201599), (-1.8287749886512756, -2.8036919832229614), (-1.527271032333374, -2.8006714582443237), (-1.2257670164108276, -2.7976540327072144), (-0.9242627620697021, -2.7946399450302124), (-0.6227593719959259, -2.7916070222854614), (-0.32125574350357056, -2.7885830402374268), (-0.01974642975255847, -2.785692572593689), (0.28175510466098785, -2.782623052597046), (0.583221435546875, -2.77872896194458), (0.8847787380218506, -2.7769705057144165), (1.1865119934082031, -2.7793370485305786), (1.4874985218048096, -2.764235496520996), (1.7881439924240112, -2.741289496421814), (2.086217939853668, -2.698882579803467), (2.3682550191879272, -2.596740961074829), (2.608265519142151, -2.4159445762634277), (2.80034601688385, -2.1843555569648743), (2.9420684576034546, -1.919284462928772), (3.030580997467041, -1.631488025188446), (3.064998984336853, -1.333088994026184), (3.057700991630554, -1.0315029621124268), (3.0520044565200806, -0.7300361692905426), (3.046314001083374, -0.4285707026720047), (3.0406495332717896, -0.12710464745759964), (3.035596013069153, 0.1743803545832634), (3.011660933494568, 0.4745580852031708), (2.9170711040496826, 0.7595582604408264), (2.7435555458068848, 1.0045283138751984), (2.5101375579833984, 1.1941259503364563), (2.2457119822502136, 1.3383054733276367), (1.9919514656066895, 1.4990925192832947), (1.7928684949874878, 1.7248449921607971), (1.6000264883041382, 1.9564939737319946), (1.387058973312378, 2.1695690155029297), (1.1406399309635162, 2.342376470565796), (0.8604080080986023, 2.451431930065155), (0.5615038573741913, 2.4849509596824646), (0.2655087746679783, 2.4360095262527466), (0.013742640614509583, 2.274382531642914), (-0.1748502403497696, 2.04003643989563), (-0.3352358937263489, 1.7848665118217468), (-0.4912515692412853, 1.5268449783325195), (-0.6586771234869957, 1.2760864794254303), (-0.8388142138719559, 1.0347158014774323), (-1.0297011733055115, 0.8013167232275009), (-1.2428632378578186, 0.5884497463703156), (-1.4598869681358337, 0.37911942321807146), (-1.697602927684784, 0.1940610483288765), (-1.9523115158081055, 0.03331264853477478), (-2.219120502471924, -0.10647393763065338), (-2.494965434074402, -0.2276919037103653), (-2.7777639627456665, -0.33172666281461716), (-3.068382501602173, -0.4121064990758896), (-3.3589385747909546, -0.4926652777940035), (-3.6540249586105347, -0.5525173610076308), (-3.9516754150390625, -0.6006645038723946), (-4.249706029891968, -0.6453906409442425), (-4.550744533538818, -0.662682481110096), (-4.8517515659332275, -0.680151678621769), (-5.152817487716675, -0.673127256333828), (-5.453905344009399, -0.6569962948560715), (-5.752936601638794, -0.6216337755322456), (-6.0466485023498535, -0.5547954179346561), (-6.325255393981934, -0.44193989410996437), (-6.557232618331909, -0.25173985213041306), (-6.73747444152832, -0.01114720106124878), (-6.852184534072876, 0.26651349663734436), (-6.893857002258301, 0.5643612146377563), (-6.869612693786621, 0.8645587861537933), (-6.798579454421997, 1.1574180126190186), (-6.693694114685059, 1.4399415254592896), (-6.566842555999756, 1.7133185267448425), (-6.419243812561035, 1.975898027420044), (-6.219805002212524, 2.200634002685547), (-5.967700481414795, 2.3645740747451782), (-5.68895959854126, 2.478237509727478), (-5.397597074508667, 2.5558600425720215), (-5.100356101989746, 2.606043577194214), (-4.802798509597778, 2.6547614336013794), (-4.5052454471588135, 2.7034950256347656), (-4.2098069190979, 2.7632654905319214), (-3.915889620780945, 2.8300275802612305), (-3.6329439878463745, 2.9332435131073), (-3.3664745092391968, 3.0733104944229126), (-3.1335920095443726, 3.2637195587158203), (-2.930290460586548, 3.486575961112976), (-2.725390911102295, 3.707779884338379), (-2.5204784870147705, 3.9289690256118774), (-2.3155875205993652, 4.150179028511047), (-2.1107420325279236, 4.371429443359375), (-1.9055959582328796, 4.59240198135376), (-1.69934743642807, 4.812265872955322), (-1.4696964621543884, 5.007360458374023), (-1.2201828360557556, 5.1758880615234375), (-0.950686901807785, 5.310089588165283), (-0.6600911915302277, 5.388533115386963), (-0.3598340004682541, 5.408264636993408), (-0.059179074596613646, 5.388717412948608), (0.23667022213339806, 5.332080364227295), (0.5188774466514587, 5.226984977722168), (0.7825489640235901, 5.080874919891357), (1.0438213348388672, 4.9306721687316895), (1.3223749995231628, 4.816519498825073), (1.617805004119873, 4.7579429149627686), (1.918741524219513, 4.744231462478638), (2.2157849073410034, 4.788609504699707), (2.4970730543136597, 4.896377801895142), (2.7722314596176147, 5.019654035568237), (3.047306537628174, 5.143135070800781), (3.3224209547042847, 5.266504526138306), (3.604114532470703, 5.371289968490601), (3.903844475746155, 5.38852858543396), (4.202572584152222, 5.34905743598938), (4.4947710037231445, 5.275986909866333), (4.775768518447876, 5.167267322540283), (5.038626194000244, 5.020296335220337), (5.276607990264893, 4.83608341217041), (5.478487968444824, 4.6130335330963135), (5.629209518432617, 4.35274600982666), (5.711194038391113, 4.063433527946472), (5.7271459102630615, 3.7626370191574097), (5.718128442764282, 3.4609614610671997), (5.715057373046875, 3.159498453140259), (5.711013078689575, 2.8579994440078735), (5.707136392593384, 2.556506037712097), (5.703236818313599, 2.255012035369873), (5.699343919754028, 1.9535185098648071), (5.695441484451294, 1.652024507522583), (5.69157600402832, 1.3505319952964783), (5.687467813491821, 1.0490285158157349), (5.68473744392395, 0.7475920021533966), (5.673873424530029, 0.44576260447502136), (5.699558973312378, 0.14569852501153946), (5.747406005859375, -0.15174625255167484), (5.819960355758667, -0.4441823959350586), (5.919235944747925, -0.728646844625473), (6.037153005599976, -1.0057524144649506), (6.170779466629028, -1.2760424613952637), (6.320410966873169, -1.5376684665679932), (6.473594903945923, -1.7973770499229431), (6.6233134269714355, -2.0590789914131165), (6.763574123382568, -2.325734496116638), (6.86460280418396, -2.6091524362564087), (6.892472505569458, -2.90792453289032), (6.841109991073608, -3.2042269706726074), (6.716016054153442, -3.4774630069732666), (6.5288965702056885, -3.713037610054016), (6.306416988372803, -3.9159964323043823), (6.074660539627075, -4.10887598991394), (5.844427824020386, -4.3035664558410645), (5.6164960861206055, -4.500859022140503), (5.394603967666626, -4.704601526260376), (5.146018981933594, -4.874469041824341), (4.873497486114502, -5.002753496170044), (4.591275453567505, -5.108455419540405), (4.300891637802124, -5.188878536224365), (4.006227970123291, -5.252697467803955), (3.708653450012207, -5.299988031387329), (3.4090124368667603, -5.332733392715454), (3.1084920167922974, -5.357257843017578), (2.807979464530945, -5.381950616836548), (2.5065550804138184, -5.389111518859863), (2.2051124572753906, -5.395931959152222), (1.903656005859375, -5.401496887207031), (1.602123498916626, -5.400667428970337), (1.3005920052528381, -5.399872541427612), (0.999074786901474, -5.400333881378174), (0.6975581347942352, -5.400821924209595), (0.3960389047861099, -5.4010865688323975), (0.0945194736123085, -5.401338577270508), (-0.2069994956254959, -5.4016265869140625), (-0.37851839849532143, -5.401791777356503)]
3 changes: 2 additions & 1 deletion src/tracks/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
from src.tracks.ace_super_speedway_ccw_track import AceSuperSpeedwayCounterClockwiseTrack
from src.tracks.ross_raceway_track import RossRacewayTrack
from src.tracks.ross_super_speedway_track import RossSuperSpeedwayTrack
from src.tracks.ross_super_speedway_track_cw import RossSuperSpeedwayClockwiseTrack
from src.tracks.oval_track import OvalTrack
from src.tracks.breadcentric_loop_track import BreadCentricLoopTrack
from src.tracks.breadcentric_speedway_track import BreadCentricSpeedwayTrack
Expand Down Expand Up @@ -116,7 +117,7 @@ def get_all_tracks():
RogueCircuitTrack(), AceSpeedwayTrack(), AceSpeedwayClockwiseTrack(), AceSpeedwayCounterClockwiseTrack(),
AceSuperSpeedwayTrack(), AceSuperSpeedwayClockwiseTrack(), AceSuperSpeedwayCounterClockwiseTrack(),
RossRacewayTrack(), DBroSuperRacewayClockwiseTrack(), DBroSuperRacewayCounterClockwiseTrack(),
RossSuperSpeedwayTrack(), OvalTrack(), BreadCentricLoopTrack(), BreadCentricSpeedwayTrack(),
RossSuperSpeedwayTrack(), RossSuperSpeedwayClockwiseTrack(), OvalTrack(), BreadCentricLoopTrack(), BreadCentricSpeedwayTrack(),
BreadCentricSpeedwayClockwiseTrack(), BreadCentricSpeedwayCounterClockwiseTrack(),
DBroRacewayTrack(), DBroSuperRacewayTrack(), JochemTurnpikeTrack(), JochemHighwayTrack(),
RogerRingTrack(), JennensSuperSpeedwayTrack(), JennensFamilySpeedwayTrack(),
Expand Down

0 comments on commit 598d2e1

Please sign in to comment.