autoverse-cli 0.2.2__py3-none-any.whl → 0.3.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.2.2.dist-info → autoverse_cli-0.3.0.dist-info}/METADATA +1 -1
- {autoverse_cli-0.2.2.dist-info → autoverse_cli-0.3.0.dist-info}/RECORD +9 -9
- avrs/app_version.py +1 -1
- avrs/requests/teleport.py +1 -1
- avrs/requests/vd.py +17 -14
- {autoverse_cli-0.2.2.dist-info → autoverse_cli-0.3.0.dist-info}/LICENSE +0 -0
- {autoverse_cli-0.2.2.dist-info → autoverse_cli-0.3.0.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.2.2.dist-info → autoverse_cli-0.3.0.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.2.2.dist-info → autoverse_cli-0.3.0.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
avrs/app_version.py,sha256=
|
2
|
+
avrs/app_version.py,sha256=huc5Z36H19yQWjvI0Tw5vY3O1Q5KXiwSfpDn8wu2tEs,855
|
3
3
|
avrs/avrs.py,sha256=zkpQRKRFdhN6rmdRGQDPIU6vA5DSH8GZmmEm_w1y3Ro,1655
|
4
4
|
avrs/cfg.py,sha256=9NBtPrJjVN7gj_vxlvO4wOEx3OFw4d2qQgLIVLiccD0,701
|
5
5
|
avrs/launcher.py,sha256=tysm0CHZQ_l5Etj-PtfQoG6VYIWFHSdASBmE6api-_g,7463
|
@@ -15,11 +15,11 @@ avrs/requests/request.py,sha256=d0DB8tXXK9iQI-j5WmCNWA0f_8B6zU6gWeTLNHpwh_w,1511
|
|
15
15
|
avrs/requests/reserve_mv_slot.py,sha256=51MuiQgu22NF4wl-Y-0wjvozIpe1GPBBk_QfvG7FS4k,3763
|
16
16
|
avrs/requests/reset_to_track.py,sha256=lSd2YavBxDV_hQMhVoi08_TpTFEq7G2MA18xosFYa1g,450
|
17
17
|
avrs/requests/restart.py,sha256=ih5mnWiU34q3-xhOth45CtOUXxKI0PoMDCnFJV0JbwE,415
|
18
|
-
avrs/requests/teleport.py,sha256=
|
19
|
-
avrs/requests/vd.py,sha256=
|
20
|
-
autoverse_cli-0.
|
21
|
-
autoverse_cli-0.
|
22
|
-
autoverse_cli-0.
|
23
|
-
autoverse_cli-0.
|
24
|
-
autoverse_cli-0.
|
25
|
-
autoverse_cli-0.
|
18
|
+
avrs/requests/teleport.py,sha256=WpnB2-Ii0FGI11EXTAHlaF5zqZIsgEyJnJ2j_w4rDFY,824
|
19
|
+
avrs/requests/vd.py,sha256=at6oUAGY2h0OxYU6MLOi1gnxyUn6i24vL9DUAj0L880,1600
|
20
|
+
autoverse_cli-0.3.0.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
|
21
|
+
autoverse_cli-0.3.0.dist-info/METADATA,sha256=GLUAOUt_i7yl4U2uJXvixMdOSymCirJcKopwckZ6b9s,3296
|
22
|
+
autoverse_cli-0.3.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
23
|
+
autoverse_cli-0.3.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
24
|
+
autoverse_cli-0.3.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
25
|
+
autoverse_cli-0.3.0.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/requests/teleport.py
CHANGED
@@ -2,7 +2,7 @@ from avrs.requests.request import AvrsApiRequest
|
|
2
2
|
|
3
3
|
class Teleport(AvrsApiRequest):
|
4
4
|
def __init__(self, parser, cfg):
|
5
|
-
AvrsApiRequest.__init__(self, parser, cfg, 'Teleport', "
|
5
|
+
AvrsApiRequest.__init__(self, parser, cfg, 'Teleport', "Ego")
|
6
6
|
psr = parser.add_parser('teleport', help='Teleports the car to the given x,y,z in either enu or lla.')
|
7
7
|
psr.add_argument('x', type=float, help='new x position')
|
8
8
|
psr.add_argument('y', type=float, help='new y position')
|
avrs/requests/vd.py
CHANGED
@@ -5,29 +5,32 @@ 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
|
-
SlipModel(sps, cfg)
|
8
|
+
#SlipModel(sps, cfg)
|
9
9
|
|
10
10
|
class SetFrictionModifier(AvrsApiRequest):
|
11
11
|
def __init__(self, parser, cfg):
|
12
|
-
AvrsApiRequest.__init__(self, parser, cfg, 'SetFrictionModifiers',
|
12
|
+
AvrsApiRequest.__init__(self, parser, cfg, 'SetFrictionModifiers', 'Ego')
|
13
13
|
psr = parser.add_parser('set-friction-modifier', help='Change the amount of grip the car has.'
|
14
14
|
+ '0 is no grip and higher values will prevent spinning')
|
15
|
-
psr.add_argument('modifier
|
15
|
+
psr.add_argument('modifier', type = float, help = "Modified grip value")
|
16
|
+
psr.add_argument('tires', help = "Tires to apply the modifier to",
|
17
|
+
choices=("FL", "FR", "RL", "RR", "F", "R", "All"))
|
16
18
|
psr.set_defaults(func=self.send_request)
|
17
19
|
|
18
20
|
def get_request_body(self, args):
|
19
21
|
return {
|
20
|
-
'
|
22
|
+
'NewModifier': args.modifier,
|
23
|
+
'Tires': args.tires
|
21
24
|
}
|
22
25
|
|
23
|
-
class SlipModel(AvrsApiRequest):
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
# class SlipModel(AvrsApiRequest):
|
27
|
+
# def __init__(self, parser, cfg):
|
28
|
+
# AvrsApiRequest.__init__(self, parser, cfg, 'SlipModel', 'Ego')
|
29
|
+
# psr = parser.add_parser('slip-model', help='Change the tire slip model to be pure slip only or combined slip')
|
30
|
+
# psr.add_argument('slip', choices = ['pure-slip, combined-slip'], help = 'type of slip')
|
31
|
+
# psr.set_defaults(func=self.send_request)
|
29
32
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
33
|
+
# def get_request_body(self, args):
|
34
|
+
# return {
|
35
|
+
# 'Modifier Value': args.slip
|
36
|
+
# }
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|