autoverse-cli 0.24.0__py3-none-any.whl → 0.25.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {autoverse_cli-0.24.0.dist-info → autoverse_cli-0.25.0.dist-info}/METADATA +1 -1
- {autoverse_cli-0.24.0.dist-info → autoverse_cli-0.25.0.dist-info}/RECORD +10 -9
- avrs/app_version.py +1 -1
- avrs/avrs.py +4 -0
- avrs/launcher.py +17 -7
- avrs/requests/get_web_viz_meta.py +11 -0
- {autoverse_cli-0.24.0.dist-info → autoverse_cli-0.25.0.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.24.0.dist-info → autoverse_cli-0.25.0.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.24.0.dist-info → autoverse_cli-0.25.0.dist-info}/licenses/LICENSE +0 -0
- {autoverse_cli-0.24.0.dist-info → autoverse_cli-0.25.0.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
autoverse_cli-0.
|
|
1
|
+
autoverse_cli-0.25.0.dist-info/licenses/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
|
|
2
2
|
avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
avrs/app_version.py,sha256=
|
|
3
|
+
avrs/app_version.py,sha256=QZqxDUpPhnSdndJdJbZGDMs51_ifliS6c-pkwkrUI1s,856
|
|
4
4
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
|
5
|
-
avrs/avrs.py,sha256=
|
|
5
|
+
avrs/avrs.py,sha256=SrsLChcmXOmLq81ry3XoGh1Kvc1xVZeLpRz_7XtM9xM,5050
|
|
6
6
|
avrs/can_tool.py,sha256=IBoctKobBJ3wCq4ZdtuXuXH4AMEUxazCfYT6YP0Luw8,7161
|
|
7
7
|
avrs/can_tool_util.py,sha256=G3q21dTGMLc09SDq_RieoW7kSn-kXPkXxPDjavPh4hQ,7710
|
|
8
8
|
avrs/cfg.py,sha256=kMn08Z4Ms1PAu2-U1QI8weEJeIVEppP4A4_tFfwnjtg,2924
|
|
9
|
-
avrs/launcher.py,sha256=
|
|
9
|
+
avrs/launcher.py,sha256=NEZ2YvDTr51xOn-wBLPKVHmVZy0APrcr8kThCOx83vc,10200
|
|
10
10
|
avrs/launcher_util.py,sha256=o9owKiXxgEBE-p6cAgFLUZ6Y26CauZsDAglk4bRvkuA,6447
|
|
11
11
|
avrs/race_cloud.py,sha256=0m7BdclKhTrqdAA2kLIobwfoYA8X_PRDCFWoizHtPIQ,20124
|
|
12
12
|
avrs/race_cloud_bridge_can.py,sha256=K3is7GFzWo2KBojr6V65kz138UfkVFXXofVxSAziArY,2888
|
|
@@ -24,6 +24,7 @@ avrs/requests/dump_sim_config.py,sha256=ePtJZhq3gYLgMQkbi-YObIAaPk3Z2b0NWlWM5IYk
|
|
|
24
24
|
avrs/requests/environment.py,sha256=rzbwtxqANyNNOp9vgZ2BMaQjFwBQygbmiFvvHj5jZf4,1848
|
|
25
25
|
avrs/requests/fault_injection.py,sha256=UWf_Jzqkd4CdkNpLbxwyuyLPkuIYNz4LDABM0myHv3A,5950
|
|
26
26
|
avrs/requests/get_object_config.py,sha256=Mkwp32lfskQERsqfmAgHi4vf4C0hfjg6Ru8UjyMt3cw,654
|
|
27
|
+
avrs/requests/get_web_viz_meta.py,sha256=Nai4blclKl4ppwiBQQF7K1ywkn5kkmuc9uv1vA8cBt8,467
|
|
27
28
|
avrs/requests/leaderboard.py,sha256=UlZ7NTCU0j0-ysGa_lfI7MxIgBbxiLQN2xCS7vbSjJM,2711
|
|
28
29
|
avrs/requests/list_sim_objects.py,sha256=YWpqHdCHijerPxI5606_KjeFvezcLFN33wO4YOr9G3U,977
|
|
29
30
|
avrs/requests/log_path.py,sha256=FwIx2xhuG3m6FJIqCSDUeqowVBZQKbb0kDkuwNKnaok,1317
|
|
@@ -42,8 +43,8 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
|
|
|
42
43
|
avrs/requests/vd.py,sha256=Rd0mCc89m2yKjftVf0cMHMFbJG4iFd09KzrI-DsCLgI,2606
|
|
43
44
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
|
44
45
|
avrs/requests/vehicle_replay.py,sha256=7HPfVLjSLNbOyzU77Bz29qpHqRsMUAIWvnwvnNiw2nk,15026
|
|
45
|
-
autoverse_cli-0.
|
|
46
|
-
autoverse_cli-0.
|
|
47
|
-
autoverse_cli-0.
|
|
48
|
-
autoverse_cli-0.
|
|
49
|
-
autoverse_cli-0.
|
|
46
|
+
autoverse_cli-0.25.0.dist-info/METADATA,sha256=Bkh2oa6l75-X8VgVYchVJ5Ajq4nR1ZCI7jyHlqJRzIk,3364
|
|
47
|
+
autoverse_cli-0.25.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
48
|
+
autoverse_cli-0.25.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
|
49
|
+
autoverse_cli-0.25.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
|
50
|
+
autoverse_cli-0.25.0.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/avrs.py
CHANGED
|
@@ -36,6 +36,7 @@ from avrs.requests.get_object_config import *
|
|
|
36
36
|
from avrs.requests.misc import *
|
|
37
37
|
from avrs.requests.spawn_object import *
|
|
38
38
|
from avrs.requests.dump_sim_config import *
|
|
39
|
+
from avrs.requests.get_web_viz_meta import *
|
|
39
40
|
from avrs.requests.leaderboard import AvrsLeaderboardRequest
|
|
40
41
|
|
|
41
42
|
def get_version():
|
|
@@ -140,6 +141,9 @@ def main():
|
|
|
140
141
|
# new api requests
|
|
141
142
|
AvrsDescribeSimRestRequest(sps, cfg)
|
|
142
143
|
|
|
144
|
+
if os.environ.get('AVRS_CLI_WITH_TESTS', '0') == '1':
|
|
145
|
+
AvrsGetWebVizMetaRequest(sps, cfg)
|
|
146
|
+
|
|
143
147
|
if os.environ.get('AVRS_WITH_DEMO', '0') == '1':
|
|
144
148
|
AvrsDemoRequest(sps, cfg)
|
|
145
149
|
|
avrs/launcher.py
CHANGED
|
@@ -111,13 +111,23 @@ class AvrsLauncher:
|
|
|
111
111
|
print('Launcher Download Keys Error: {}'.format(dl_keys_status))
|
|
112
112
|
return
|
|
113
113
|
|
|
114
|
-
#
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
# special case where we want staged version
|
|
115
|
+
if args.variant == "staged":
|
|
116
|
+
# Get latest build info from API
|
|
117
|
+
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(
|
|
118
|
+
self.cfg, "autoverse")
|
|
119
|
+
if not build_info_ok:
|
|
120
|
+
print('Error Getting Latest Version Info: {}'.format(build_info_status))
|
|
121
|
+
return
|
|
122
|
+
print('{}'.format(staged_version))
|
|
123
|
+
else:
|
|
124
|
+
# Get latest build info from API
|
|
125
|
+
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(
|
|
126
|
+
self.cfg, args.variant)
|
|
127
|
+
if not build_info_ok:
|
|
128
|
+
print('Error Getting Latest Version Info: {}'.format(build_info_status))
|
|
129
|
+
return
|
|
130
|
+
print('{}'.format(latest_version))
|
|
121
131
|
|
|
122
132
|
def download_simulator(self, args):
|
|
123
133
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from avrs.requests.rest_request import AvrsRestApiRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class AvrsGetWebVizMetaRequest(AvrsRestApiRequest):
|
|
5
|
+
def __init__(self, parser, cfg):
|
|
6
|
+
AvrsRestApiRequest.__init__(self, parser, cfg, '/api/v1.0/get-web-viz-meta', 'GET')
|
|
7
|
+
psr = parser.add_parser('get-web-viz-meta', help='get metadata from the simulator needed by the web frontend')
|
|
8
|
+
psr.set_defaults(func=self.send_request)
|
|
9
|
+
|
|
10
|
+
def get_request_params(self, args):
|
|
11
|
+
return {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|