autoverse-cli 0.16.0__py3-none-any.whl → 0.16.2__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.16.0.dist-info → autoverse_cli-0.16.2.dist-info}/METADATA +1 -1
- {autoverse_cli-0.16.0.dist-info → autoverse_cli-0.16.2.dist-info}/RECORD +10 -10
- avrs/app_version.py +1 -1
- avrs/race_cloud.py +4 -3
- avrs/race_cloud_bridge_can.py +2 -1
- avrs/race_cloud_util.py +1 -1
- {autoverse_cli-0.16.0.dist-info → autoverse_cli-0.16.2.dist-info}/LICENSE +0 -0
- {autoverse_cli-0.16.0.dist-info → autoverse_cli-0.16.2.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.16.0.dist-info → autoverse_cli-0.16.2.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.16.0.dist-info → autoverse_cli-0.16.2.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=eH4JKy1a3c38fSf-PV0j2EJYX75-upb14bgw_A3c21w,856
|
3
3
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
4
4
|
avrs/avrs.py,sha256=bGF35a72MZU41OVWnFHmchqmgKXBKh9djokzGA_4pL4,4621
|
5
5
|
avrs/can_tool.py,sha256=IBoctKobBJ3wCq4ZdtuXuXH4AMEUxazCfYT6YP0Luw8,7161
|
@@ -7,11 +7,11 @@ avrs/can_tool_util.py,sha256=G3q21dTGMLc09SDq_RieoW7kSn-kXPkXxPDjavPh4hQ,7710
|
|
7
7
|
avrs/cfg.py,sha256=kMn08Z4Ms1PAu2-U1QI8weEJeIVEppP4A4_tFfwnjtg,2924
|
8
8
|
avrs/launcher.py,sha256=kk1lyHHLgFZ4zsFfa_zV5f1kYbUODT6wEILJ8TZ16rQ,9353
|
9
9
|
avrs/launcher_util.py,sha256=sO3k_z3A-HIQdJVkVXNXUAE_MGFwAYiZUqQBoFwOqew,5325
|
10
|
-
avrs/race_cloud.py,sha256=
|
11
|
-
avrs/race_cloud_bridge_can.py,sha256=
|
10
|
+
avrs/race_cloud.py,sha256=8kZ6hR_-GwS2CSW6dLyRk9iDOCgO9XnBU6DJfxz1ppM,19843
|
11
|
+
avrs/race_cloud_bridge_can.py,sha256=QXdJxGwkdL9ZNLs4EquHEmF1fU3P8rsjc4uekFPHlw8,2349
|
12
12
|
avrs/race_cloud_cfg_util.py,sha256=H3MLxkb-PBwFVXdA5IBGzWGjLeD-uBvPqIgkh7RGjfo,7214
|
13
13
|
avrs/race_cloud_fwd_api.py,sha256=HuLE5kfmzVq08aP3tlEh3f8WNjGL5N3K5EbXg9uQomo,1506
|
14
|
-
avrs/race_cloud_util.py,sha256=
|
14
|
+
avrs/race_cloud_util.py,sha256=pm18YFr8oKTjOfswiGDJz-Ob9x5hdQiNMHIgTjt1gKE,12566
|
15
15
|
avrs/simconfig.py,sha256=UZc4FrxVHUkk2e9IglSpuojXkaL_nPrJW7trbEGgOOo,2907
|
16
16
|
avrs/simconfig_util.py,sha256=1RmnmhK5C4HlCicTQeqn-1ORz3Xrku_QMt1Fqr9XjZs,4839
|
17
17
|
avrs/tests.py,sha256=3JeYBjn0tRqHXERDROfzmYuW1KXeCcKur5Bw-EIegto,153
|
@@ -38,9 +38,9 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
|
|
38
38
|
avrs/requests/vd.py,sha256=gdt5XCdCCVdECL3qt8y-PKDrlArjeY_lxtT4VpZmAJo,1804
|
39
39
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
40
40
|
avrs/requests/vehicle_replay.py,sha256=nCAE21VNyKoeIjjXBGAihgOLO7zYHcu-HWvPZYxdQ2c,11099
|
41
|
-
autoverse_cli-0.16.
|
42
|
-
autoverse_cli-0.16.
|
43
|
-
autoverse_cli-0.16.
|
44
|
-
autoverse_cli-0.16.
|
45
|
-
autoverse_cli-0.16.
|
46
|
-
autoverse_cli-0.16.
|
41
|
+
autoverse_cli-0.16.2.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
|
42
|
+
autoverse_cli-0.16.2.dist-info/METADATA,sha256=arGEfTYVYNme2od7kmX3E1943IAcimqxsVyFZm37oyU,3342
|
43
|
+
autoverse_cli-0.16.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
44
|
+
autoverse_cli-0.16.2.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
45
|
+
autoverse_cli-0.16.2.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
46
|
+
autoverse_cli-0.16.2.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/race_cloud.py
CHANGED
@@ -6,6 +6,7 @@ from avrs.cfg import *
|
|
6
6
|
from avrs.race_cloud_util import *
|
7
7
|
from avrs.race_cloud_cfg_util import *
|
8
8
|
from avrs.race_cloud_fwd_api import *
|
9
|
+
from avrs.race_cloud_bridge_can import *
|
9
10
|
from avrs.util import *
|
10
11
|
from avrs.requests.request import AvrsApiRequest
|
11
12
|
from argparse import RawTextHelpFormatter
|
@@ -144,14 +145,14 @@ class AvrsRaceCloud(AvrsApiRequest):
|
|
144
145
|
'bridge-can',
|
145
146
|
help='bridges a local vcan with a remote vcan over udp')
|
146
147
|
|
147
|
-
bridge_can_parser.add_argument(
|
148
|
-
'vcan_name')
|
149
|
-
|
150
148
|
bridge_can_parser.add_argument(
|
151
149
|
'mode',
|
152
150
|
choices=['bg', 'fg'],
|
153
151
|
help='whether to run in forground or background')
|
154
152
|
|
153
|
+
bridge_can_parser.add_argument(
|
154
|
+
'vcan_name')
|
155
|
+
|
155
156
|
bridge_can_parser.add_argument(
|
156
157
|
'peer_ip')
|
157
158
|
|
avrs/race_cloud_bridge_can.py
CHANGED
@@ -2,6 +2,7 @@ import can
|
|
2
2
|
import argparse
|
3
3
|
import socket
|
4
4
|
import struct
|
5
|
+
import logging
|
5
6
|
|
6
7
|
BUFFER_SIZE = 512
|
7
8
|
|
@@ -44,7 +45,7 @@ def can_bridge_loop(args):
|
|
44
45
|
logger.error('can bridge error: {}'.format(e))
|
45
46
|
break
|
46
47
|
except Exception as e:
|
47
|
-
logger.('can bridge setup error: {}'.format(e))
|
48
|
+
logger.error('can bridge setup error: {}'.format(e))
|
48
49
|
return
|
49
50
|
|
50
51
|
if __name__ == '__main__':
|
avrs/race_cloud_util.py
CHANGED
@@ -134,7 +134,7 @@ CONNECT_PEER_VCAN_SCRIPT = '''
|
|
134
134
|
|
135
135
|
# https://stackoverflow.com/questions/29142/getting-ssh-to-execute-a-command-in-the-background-on-target-machine
|
136
136
|
# nohup to avoid SSH issues, send stdout to loni.log, send stderr to stdout, dont expect input, and background with "&"
|
137
|
-
nohup avrs race-cloud bridge-can fg $PEER_ADDRESS $REMOTE_PORT $LOCAL_PORT >>"$LOG_FILE" 2>&1 < /dev/null &
|
137
|
+
nohup avrs race-cloud bridge-can fg $VCAN_NAME $PEER_ADDRESS $REMOTE_PORT $LOCAL_PORT >>"$LOG_FILE" 2>&1 < /dev/null &
|
138
138
|
echo "$!" > $LOCK_FILE
|
139
139
|
'''
|
140
140
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|