autoverse-cli 0.18.0__py3-none-any.whl → 0.19.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.18.0.dist-info → autoverse_cli-0.19.0.dist-info}/METADATA +1 -1
- {autoverse_cli-0.18.0.dist-info → autoverse_cli-0.19.0.dist-info}/RECORD +13 -13
- {autoverse_cli-0.18.0.dist-info → autoverse_cli-0.19.0.dist-info}/WHEEL +1 -1
- avrs/app_version.py +1 -1
- avrs/avrs.py +1 -0
- avrs/requests/log_path.py +1 -1
- avrs/requests/misc.py +10 -0
- avrs/requests/reset_to_track.py +1 -1
- avrs/requests/teleport.py +1 -1
- avrs/requests/vd.py +22 -1
- {autoverse_cli-0.18.0.dist-info → autoverse_cli-0.19.0.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.18.0.dist-info → autoverse_cli-0.19.0.dist-info}/licenses/LICENSE +0 -0
- {autoverse_cli-0.18.0.dist-info → autoverse_cli-0.19.0.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
|
|
1
|
-
autoverse_cli-0.
|
1
|
+
autoverse_cli-0.19.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=P8bNLtTFrbCmZ5Aak95aifacIqysumPvX1zE0BDUn9g,856
|
4
4
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
5
|
-
avrs/avrs.py,sha256=
|
5
|
+
avrs/avrs.py,sha256=oTtEGdiKJUw03EpKKvgwWahbr9OxxJW3uSrCuFt7DDg,4755
|
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
|
@@ -25,24 +25,24 @@ avrs/requests/environment.py,sha256=ORwOBxhXPcatn_W8aY5pgIy4f2paUbqIYii5oE540xA,
|
|
25
25
|
avrs/requests/fault_injection.py,sha256=UWf_Jzqkd4CdkNpLbxwyuyLPkuIYNz4LDABM0myHv3A,5950
|
26
26
|
avrs/requests/get_object_config.py,sha256=Mkwp32lfskQERsqfmAgHi4vf4C0hfjg6Ru8UjyMt3cw,654
|
27
27
|
avrs/requests/list_sim_objects.py,sha256=YWpqHdCHijerPxI5606_KjeFvezcLFN33wO4YOr9G3U,977
|
28
|
-
avrs/requests/log_path.py,sha256=
|
29
|
-
avrs/requests/misc.py,sha256=
|
28
|
+
avrs/requests/log_path.py,sha256=FwIx2xhuG3m6FJIqCSDUeqowVBZQKbb0kDkuwNKnaok,1317
|
29
|
+
avrs/requests/misc.py,sha256=TtP4D3DKU9AmSNQSqrNgZOatA-8NNJYFXla2ade7KqY,2630
|
30
30
|
avrs/requests/move_to_landmark.py,sha256=cLRBKu9XEDsmCoftBJ8JwoBLqzb0IZsxFMBnus4T-kc,702
|
31
31
|
avrs/requests/npc.py,sha256=Y_WovbcLomCCcOLAMMO_DHZtc1crAzWo97qEIGS3SvU,9691
|
32
32
|
avrs/requests/race_control.py,sha256=IVpaaveeLOze0qXzuJVgkoYjydm0KBLEFXDmJnwtTpQ,1409
|
33
33
|
avrs/requests/request.py,sha256=uUAndVZPbTQgbiXqrd4S3l3TQ0J_3STBtghEFlVr5GA,2058
|
34
|
-
avrs/requests/reset_to_track.py,sha256=
|
34
|
+
avrs/requests/reset_to_track.py,sha256=qM--_3Lix7hqiK2rnoPJjHoJA47goSscGWICBQqIK3M,668
|
35
35
|
avrs/requests/rest_request.py,sha256=G4WzZw8OsF7ZnZeCcpRiADP9XK50e5VBaP6qpu9yXLs,1398
|
36
36
|
avrs/requests/restart.py,sha256=ih5mnWiU34q3-xhOth45CtOUXxKI0PoMDCnFJV0JbwE,415
|
37
37
|
avrs/requests/scenario_control.py,sha256=u-KQx-mdCm6IE_c88a6iEgWUsZZVOayxBo58Ocjg0ZI,1502
|
38
38
|
avrs/requests/spawn_object.py,sha256=RzTJprcyPpNIesu4s_GMuEYbHII-sopw1sDcbTDgvrY,1429
|
39
|
-
avrs/requests/teleport.py,sha256=
|
39
|
+
avrs/requests/teleport.py,sha256=5x2eJAv3zloYO27ghCkIiIuvLgVQHhO-UrUMYDfI9Ro,1405
|
40
40
|
avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,397
|
41
|
-
avrs/requests/vd.py,sha256=
|
41
|
+
avrs/requests/vd.py,sha256=Rd0mCc89m2yKjftVf0cMHMFbJG4iFd09KzrI-DsCLgI,2606
|
42
42
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
43
43
|
avrs/requests/vehicle_replay.py,sha256=nCAE21VNyKoeIjjXBGAihgOLO7zYHcu-HWvPZYxdQ2c,11099
|
44
|
-
autoverse_cli-0.
|
45
|
-
autoverse_cli-0.
|
46
|
-
autoverse_cli-0.
|
47
|
-
autoverse_cli-0.
|
48
|
-
autoverse_cli-0.
|
44
|
+
autoverse_cli-0.19.0.dist-info/METADATA,sha256=FJnntav9hf9Mk0di9lzQkCHomK5Y9bqlg1yaBDj8Kn8,3364
|
45
|
+
autoverse_cli-0.19.0.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
46
|
+
autoverse_cli-0.19.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
47
|
+
autoverse_cli-0.19.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
48
|
+
autoverse_cli-0.19.0.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/avrs.py
CHANGED
@@ -125,6 +125,7 @@ def main():
|
|
125
125
|
AvrsToggleHudRequest(sps, cfg)
|
126
126
|
AvrsGetObjectConfigRequest(sps, cfg)
|
127
127
|
AvrsGetSimVersionRequest(sps, cfg)
|
128
|
+
AvrsGetSessionIdRequest(sps, cfg)
|
128
129
|
AvrsGetExitSimRequest(sps, cfg)
|
129
130
|
AvrsPingRequest(sps, cfg)
|
130
131
|
AvrsConfigureSimLodRequest(sps, cfg)
|
avrs/requests/log_path.py
CHANGED
@@ -9,7 +9,7 @@ class LogPath(AvrsApiRequest):
|
|
9
9
|
psr.add_argument('filename', help = 'the name of the file you want')
|
10
10
|
psr.add_argument('time', type = float, help = 'the time in seconds you want to log the vehicle path. If you want to keep continously logging until'
|
11
11
|
+ ' end of simulation, enter -1')
|
12
|
-
psr.add_argument('filepath', nargs='?', help = '
|
12
|
+
psr.add_argument('--filepath', nargs='?', help = 'By default the csv saves in your saved folder located in the simulator.' +
|
13
13
|
' However if you would like to save to a new location, please provide an ABSOLUTE file path', default = None)
|
14
14
|
psr.set_defaults(func=self.send_request)
|
15
15
|
|
avrs/requests/misc.py
CHANGED
@@ -10,6 +10,16 @@ class AvrsGetSimVersionRequest(AvrsApiRequest):
|
|
10
10
|
def get_request_body(self, args):
|
11
11
|
return {
|
12
12
|
}
|
13
|
+
|
14
|
+
class AvrsGetSessionIdRequest(AvrsApiRequest):
|
15
|
+
def __init__(self, parser, cfg):
|
16
|
+
AvrsApiRequest.__init__(self, parser, cfg, 'GetSessionId', 0)
|
17
|
+
psr = parser.add_parser('get-session-id', help='get the session ID of the currently running simulator session')
|
18
|
+
psr.set_defaults(func=self.send_request)
|
19
|
+
|
20
|
+
def get_request_body(self, args):
|
21
|
+
return {
|
22
|
+
}
|
13
23
|
|
14
24
|
class AvrsDescribeSimRestRequest(AvrsRestApiRequest):
|
15
25
|
def __init__(self, parser, cfg):
|
avrs/requests/reset_to_track.py
CHANGED
avrs/requests/teleport.py
CHANGED
avrs/requests/vd.py
CHANGED
@@ -5,6 +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
9
|
#SlipModel(sps, cfg)
|
9
10
|
|
10
11
|
class SetFrictionModifier(AvrsApiRequest):
|
@@ -19,7 +20,7 @@ class SetFrictionModifier(AvrsApiRequest):
|
|
19
20
|
psr.add_argument(
|
20
21
|
'--object-name',
|
21
22
|
default='ego',
|
22
|
-
help='the simulated object to
|
23
|
+
help='the simulated object to modify the friction for')
|
23
24
|
|
24
25
|
psr.set_defaults(func=self.send_request)
|
25
26
|
|
@@ -30,6 +31,26 @@ class SetFrictionModifier(AvrsApiRequest):
|
|
30
31
|
'Tires': args.tires
|
31
32
|
}
|
32
33
|
|
34
|
+
class GetFrictionModifier(AvrsApiRequest):
|
35
|
+
def __init__(self, parser, cfg):
|
36
|
+
AvrsApiRequest.__init__(self, parser, cfg, 'GetFrictionModifiers', 'Ego')
|
37
|
+
psr = parser.add_parser('get-friction-modifier', help='Get the amount of grip the car has.')
|
38
|
+
psr.add_argument('tires', help = "Tires to get the grip value from",
|
39
|
+
choices=("FL", "FR", "RL", "RR", "F", "R", "All"))
|
40
|
+
|
41
|
+
psr.add_argument(
|
42
|
+
'--object-name',
|
43
|
+
default='ego',
|
44
|
+
help='the simulated object to get the friction from')
|
45
|
+
|
46
|
+
psr.set_defaults(func=self.send_request)
|
47
|
+
|
48
|
+
def get_request_body(self, args):
|
49
|
+
self.target_object_id = args.object_name
|
50
|
+
return {
|
51
|
+
'Tires': args.tires
|
52
|
+
}
|
53
|
+
|
33
54
|
# class SlipModel(AvrsApiRequest):
|
34
55
|
# def __init__(self, parser, cfg):
|
35
56
|
# AvrsApiRequest.__init__(self, parser, cfg, 'SlipModel', 'Ego')
|
File without changes
|
File without changes
|
File without changes
|