autoverse-cli 0.12.5__py3-none-any.whl → 0.12.7__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {autoverse_cli-0.12.5.dist-info → autoverse_cli-0.12.7.dist-info}/METADATA +1 -1
- {autoverse_cli-0.12.5.dist-info → autoverse_cli-0.12.7.dist-info}/RECORD +10 -10
- avrs/app_version.py +1 -1
- avrs/race_cloud_cfg_util.py +1 -1
- avrs/race_cloud_util.py +2 -2
- avrs/requests/request.py +3 -1
- {autoverse_cli-0.12.5.dist-info → autoverse_cli-0.12.7.dist-info}/LICENSE +0 -0
- {autoverse_cli-0.12.5.dist-info → autoverse_cli-0.12.7.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.12.5.dist-info → autoverse_cli-0.12.7.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.12.5.dist-info → autoverse_cli-0.12.7.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=QSa00XtzZvID3seihlYMhGW5_TK5c4sKeQ_ETL9T-nk,856
|
3
3
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
4
4
|
avrs/avrs.py,sha256=Y8rmsJiRjrnJ4U-aUvqyA4ZwFowCIAqOBGe1DED7QYs,3050
|
5
5
|
avrs/can_tool.py,sha256=IBoctKobBJ3wCq4ZdtuXuXH4AMEUxazCfYT6YP0Luw8,7161
|
@@ -8,8 +8,8 @@ avrs/cfg.py,sha256=kMn08Z4Ms1PAu2-U1QI8weEJeIVEppP4A4_tFfwnjtg,2924
|
|
8
8
|
avrs/launcher.py,sha256=Kzrxp6FYCmujiT0Y5dk-sCt8vaY6Z4qKKZk8YUTEuVw,9235
|
9
9
|
avrs/launcher_util.py,sha256=sO3k_z3A-HIQdJVkVXNXUAE_MGFwAYiZUqQBoFwOqew,5325
|
10
10
|
avrs/race_cloud.py,sha256=kFrAGppfODobdCSXxPLytgSHi_XvHDdVRua5Gn-sFdY,11046
|
11
|
-
avrs/race_cloud_cfg_util.py,sha256=
|
12
|
-
avrs/race_cloud_util.py,sha256=
|
11
|
+
avrs/race_cloud_cfg_util.py,sha256=2_vJW8DLg6--YXUBX_ldzu_PWSewDd1pja1MCsTFPKA,3584
|
12
|
+
avrs/race_cloud_util.py,sha256=YGyV4O1OanqN3l_E04cPEU-z9szpwGGfwWTC9Z92oeg,8625
|
13
13
|
avrs/simconfig.py,sha256=UZc4FrxVHUkk2e9IglSpuojXkaL_nPrJW7trbEGgOOo,2907
|
14
14
|
avrs/simconfig_util.py,sha256=1RmnmhK5C4HlCicTQeqn-1ORz3Xrku_QMt1Fqr9XjZs,4839
|
15
15
|
avrs/tests.py,sha256=3JeYBjn0tRqHXERDROfzmYuW1KXeCcKur5Bw-EIegto,153
|
@@ -26,7 +26,7 @@ avrs/requests/log_path.py,sha256=Ur24C9VqPVx78MfpicgQu2uOEe-0dXbGoWF_7dzMtZE,132
|
|
26
26
|
avrs/requests/misc.py,sha256=lejEFt5aB6tbfKXHI1DGwP4fsntFIv16NXO23R6Bfhw,1423
|
27
27
|
avrs/requests/move_to_landmark.py,sha256=cLRBKu9XEDsmCoftBJ8JwoBLqzb0IZsxFMBnus4T-kc,702
|
28
28
|
avrs/requests/npc.py,sha256=Y_WovbcLomCCcOLAMMO_DHZtc1crAzWo97qEIGS3SvU,9691
|
29
|
-
avrs/requests/request.py,sha256=
|
29
|
+
avrs/requests/request.py,sha256=eOpjXwahwbgHW8SmWTKJ69og8DlHLO7-gCjuSddvGeg,1933
|
30
30
|
avrs/requests/reset_to_track.py,sha256=lSd2YavBxDV_hQMhVoi08_TpTFEq7G2MA18xosFYa1g,450
|
31
31
|
avrs/requests/restart.py,sha256=ih5mnWiU34q3-xhOth45CtOUXxKI0PoMDCnFJV0JbwE,415
|
32
32
|
avrs/requests/scenario_control.py,sha256=u-KQx-mdCm6IE_c88a6iEgWUsZZVOayxBo58Ocjg0ZI,1502
|
@@ -36,9 +36,9 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
|
|
36
36
|
avrs/requests/vd.py,sha256=at6oUAGY2h0OxYU6MLOi1gnxyUn6i24vL9DUAj0L880,1600
|
37
37
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
38
38
|
avrs/requests/vehicle_replay.py,sha256=nCAE21VNyKoeIjjXBGAihgOLO7zYHcu-HWvPZYxdQ2c,11099
|
39
|
-
autoverse_cli-0.12.
|
40
|
-
autoverse_cli-0.12.
|
41
|
-
autoverse_cli-0.12.
|
42
|
-
autoverse_cli-0.12.
|
43
|
-
autoverse_cli-0.12.
|
44
|
-
autoverse_cli-0.12.
|
39
|
+
autoverse_cli-0.12.7.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
|
40
|
+
autoverse_cli-0.12.7.dist-info/METADATA,sha256=AIOKDOPFixj4PriolHRCw27SFJp9gcJglZ7s1bXFF1Q,3342
|
41
|
+
autoverse_cli-0.12.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
42
|
+
autoverse_cli-0.12.7.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
43
|
+
autoverse_cli-0.12.7.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
44
|
+
autoverse_cli-0.12.7.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/race_cloud_cfg_util.py
CHANGED
@@ -75,12 +75,12 @@ def register_received_vehicle(team_name, slot, cfg_data, bsu_vcan, kistler_vcan,
|
|
75
75
|
'bSpawnAtLandmark': True,
|
76
76
|
'spawnLandmarkName': start_landmark
|
77
77
|
})
|
78
|
-
cfg_files.save()
|
79
78
|
|
80
79
|
# also need to add the object template to main sim config
|
81
80
|
|
82
81
|
new_cfg_name = 'eav24_{}.json'.format(team_name)
|
83
82
|
cfg_files.files['main']['objectTemplatePaths'].append(os.path.join('Objects', new_cfg_name))
|
83
|
+
cfg_files.save()
|
84
84
|
|
85
85
|
target_path = os.path.join(sim_saved, 'Objects', new_cfg_name)
|
86
86
|
with open(target_path, 'w', encoding='utf-8') as f:
|
avrs/race_cloud_util.py
CHANGED
@@ -92,7 +92,7 @@ CONNECT_PEER_VCAN_SCRIPT = '''
|
|
92
92
|
if [[ -z $VCAN_NAME ]]; then
|
93
93
|
VCAN_NAME=vcan$PEER_ID
|
94
94
|
fi
|
95
|
-
echo "connecting peer id $PEER_ID using local port $LOCAL_PORT and remote port $REMOTE_PORT and vcan name $VCAN_NAME"
|
95
|
+
echo "connecting peer id $PEER_ID using local port $LOCAL_PORT and remote port $REMOTE_PORT and vcan name $VCAN_NAME" > "$LOG_FILE" 2>&1
|
96
96
|
|
97
97
|
if [[ -e $LOCK_FILE ]]; then
|
98
98
|
echo "stopping existing cannelloni connection with pid $(cat $LOCK_FILE)"
|
@@ -136,7 +136,7 @@ def get_sim_install_path():
|
|
136
136
|
def get_sim_exe_path():
|
137
137
|
exe_path = os.environ.get('AVRS_EXE_PATH',
|
138
138
|
os.path.join(os.environ['HOME'], 'autoverse-linux', 'Linux', 'utils', 'run_autoverse.sh'))
|
139
|
-
return exe_path
|
139
|
+
return exe_path
|
140
140
|
|
141
141
|
def get_rmw_qos_path():
|
142
142
|
return os.path.join(os.environ['HOME'], '.rmw_qos.xml')
|
avrs/requests/request.py
CHANGED
@@ -42,7 +42,9 @@ class AvrsApiRequest:
|
|
42
42
|
sim_address = 'localhost'
|
43
43
|
if 'sim_address' in self.cfg:
|
44
44
|
sim_address = self.cfg['sim_address']
|
45
|
-
connection_addr = os.environ.get('AVRS_SIM_ADDRESS',
|
45
|
+
connection_addr = os.environ.get('AVRS_SIM_ADDRESS', sim_address)
|
46
|
+
if args.verbose:
|
47
|
+
print('sending request to: {}:30313'.format(connection_addr))
|
46
48
|
connection = http.client.HTTPConnection(connection_addr, 30313, timeout=10)
|
47
49
|
headers = {'Content-type': 'application/json'}
|
48
50
|
body = json.dumps(self.get_request(args)).encode('utf-8')
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|