autoverse-cli 0.23.2__py3-none-any.whl → 0.23.4__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.23.2.dist-info → autoverse_cli-0.23.4.dist-info}/METADATA +1 -1
- {autoverse_cli-0.23.2.dist-info → autoverse_cli-0.23.4.dist-info}/RECORD +10 -10
- avrs/app_version.py +1 -1
- avrs/launcher.py +5 -2
- avrs/launcher_util.py +5 -2
- avrs/requests/vd.py +1 -1
- {autoverse_cli-0.23.2.dist-info → autoverse_cli-0.23.4.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.23.2.dist-info → autoverse_cli-0.23.4.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.23.2.dist-info → autoverse_cli-0.23.4.dist-info}/licenses/LICENSE +0 -0
- {autoverse_cli-0.23.2.dist-info → autoverse_cli-0.23.4.dist-info}/top_level.txt +0 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
autoverse_cli-0.23.
|
1
|
+
autoverse_cli-0.23.4.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=jK9dVAAmzJmwuEfm-EGYA9gGZuHkEIPZ4jM7H8c0MDA,856
|
4
4
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
5
5
|
avrs/avrs.py,sha256=L9qjMWCYUBOyplMg1Mx0s6ZYDQzAciYCr8Qbgtw5b1U,4892
|
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=
|
10
|
-
avrs/launcher_util.py,sha256=
|
9
|
+
avrs/launcher.py,sha256=SCM5i1-RVHezAYtiMS8U7VGMdIhvxn7ymYjjyL9v3Rk,9688
|
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
|
13
13
|
avrs/race_cloud_cfg_util.py,sha256=u_wnMJgrHlidx8S7zF4jAoTRkl2gQTSgcXliGwsvG8E,12050
|
@@ -39,11 +39,11 @@ avrs/requests/scenario_control.py,sha256=u-KQx-mdCm6IE_c88a6iEgWUsZZVOayxBo58Ocj
|
|
39
39
|
avrs/requests/spawn_object.py,sha256=RzTJprcyPpNIesu4s_GMuEYbHII-sopw1sDcbTDgvrY,1429
|
40
40
|
avrs/requests/teleport.py,sha256=LSlKFRlLwQLI1U15VXW0r1F7ylngHOAbw8SeXLJHXOw,1405
|
41
41
|
avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,397
|
42
|
-
avrs/requests/vd.py,sha256=
|
42
|
+
avrs/requests/vd.py,sha256=gLKTpmfd-YDubihtgZKpi15r9cGzlzIaob_dDD2kuLU,2607
|
43
43
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
44
44
|
avrs/requests/vehicle_replay.py,sha256=7HPfVLjSLNbOyzU77Bz29qpHqRsMUAIWvnwvnNiw2nk,15026
|
45
|
-
autoverse_cli-0.23.
|
46
|
-
autoverse_cli-0.23.
|
47
|
-
autoverse_cli-0.23.
|
48
|
-
autoverse_cli-0.23.
|
49
|
-
autoverse_cli-0.23.
|
45
|
+
autoverse_cli-0.23.4.dist-info/METADATA,sha256=ToNlg7Nd_t0rJ3DSnuQhOQaBzswPLvTLtNfR3CYTfBE,3364
|
46
|
+
autoverse_cli-0.23.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
47
|
+
autoverse_cli-0.23.4.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
48
|
+
autoverse_cli-0.23.4.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
49
|
+
autoverse_cli-0.23.4.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/launcher.py
CHANGED
@@ -32,6 +32,7 @@ class AvrsLauncher:
|
|
32
32
|
get_latest_psr = sps.add_parser(
|
33
33
|
'get-latest-sim-version',
|
34
34
|
help='ask the build info api for the latest sim version')
|
35
|
+
get_latest_psr.add_argument("variant", help="which variant to get the latest verison of")
|
35
36
|
get_latest_psr.set_defaults(func=self.get_latest_sim_version)
|
36
37
|
|
37
38
|
get_variants_psr = sps.add_parser(
|
@@ -111,7 +112,8 @@ class AvrsLauncher:
|
|
111
112
|
return
|
112
113
|
|
113
114
|
# Get latest build info from API
|
114
|
-
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(
|
115
|
+
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(
|
116
|
+
self.cfg, args.variant)
|
115
117
|
if not build_info_ok:
|
116
118
|
print('Error Getting Latest Version Info: {}'.format(build_info_status))
|
117
119
|
return
|
@@ -140,7 +142,8 @@ class AvrsLauncher:
|
|
140
142
|
return
|
141
143
|
|
142
144
|
# Get latest build info from API
|
143
|
-
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(
|
145
|
+
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(
|
146
|
+
self.cfg, args.variant)
|
144
147
|
if not build_info_ok:
|
145
148
|
print('Error Getting Latest Version Info: {}'.format(build_info_status))
|
146
149
|
return
|
avrs/launcher_util.py
CHANGED
@@ -119,7 +119,7 @@ def get_launcher_license_status_string(cfg):
|
|
119
119
|
status += 'download key obtained\n'
|
120
120
|
return status
|
121
121
|
|
122
|
-
def get_launcher_build_info(cfg):
|
122
|
+
def get_launcher_build_info(cfg, variant):
|
123
123
|
"""
|
124
124
|
Contacts API to discover the current latest build version
|
125
125
|
"""
|
@@ -127,7 +127,10 @@ def get_launcher_build_info(cfg):
|
|
127
127
|
api_url = 'zn5boqqk60.execute-api.us-east-1.amazonaws.com'
|
128
128
|
connection = http.client.HTTPSConnection(api_url)
|
129
129
|
headers = {'Content-type': 'application/json'}
|
130
|
-
|
130
|
+
body = {
|
131
|
+
"packageName": variant
|
132
|
+
}
|
133
|
+
connection.request('POST', '/test', json.dumps(body).encode("utf-8"), headers)
|
131
134
|
response = connection.getresponse()
|
132
135
|
|
133
136
|
if response.status != 200:
|
avrs/requests/vd.py
CHANGED
@@ -5,7 +5,7 @@ class Vd():
|
|
5
5
|
psr = parser.add_parser('vd', help='Vehicle dynamic options')
|
6
6
|
sps = psr.add_subparsers(required= True, help='sub-command of vd')
|
7
7
|
SetFrictionModifier(sps, cfg)
|
8
|
-
GetFrictionModifier(sps, cfg)
|
8
|
+
#GetFrictionModifier(sps, cfg)
|
9
9
|
#SlipModel(sps, cfg)
|
10
10
|
|
11
11
|
class SetFrictionModifier(AvrsApiRequest):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|