autoverse-cli 0.14.0__py3-none-any.whl → 0.14.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: autoverse-cli
3
- Version: 0.14.0
3
+ Version: 0.14.1
4
4
  Summary: The Autoverse CLI
5
5
  Author-email: Dan Kamrath <dan.kamrath@autonomalabs.com>
6
6
  License: # End-User License Agreement (EULA) of the Autonoma AutoVerse CLI
@@ -1,5 +1,5 @@
1
1
  avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- avrs/app_version.py,sha256=OTtZ85M8hzRUayr0aFKqt9dDXBj9hytgLvvwU0Og4Ao,856
2
+ avrs/app_version.py,sha256=BIDygw6oqIkqW7CFqzSznzgZHofnBxYO3myYKeEXxJg,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,10 +7,10 @@ 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=ZRkiq3MXW5bboxP6odz9foNrqUQwxWoEapllbofR6JE,15685
10
+ avrs/race_cloud.py,sha256=gIZOGSZYPpdwEihqadS7e78RWwlNP8YHSUuLV70tMr0,15823
11
11
  avrs/race_cloud_cfg_util.py,sha256=Rqp-SemS_ZL6wD_nABsMDc5thkoit7FQTJecaB9oWA8,5261
12
12
  avrs/race_cloud_fwd_api.py,sha256=HuLE5kfmzVq08aP3tlEh3f8WNjGL5N3K5EbXg9uQomo,1506
13
- avrs/race_cloud_util.py,sha256=ltp3_mPRV7TpdX0ZlcNQP0qzEq-l0l_mEAdCB4YZAU4,10187
13
+ avrs/race_cloud_util.py,sha256=MQ6nNsUdRFsJC7vC9MUzsU2EMIXIO6CbLNuim0EZl_g,10230
14
14
  avrs/simconfig.py,sha256=UZc4FrxVHUkk2e9IglSpuojXkaL_nPrJW7trbEGgOOo,2907
15
15
  avrs/simconfig_util.py,sha256=1RmnmhK5C4HlCicTQeqn-1ORz3Xrku_QMt1Fqr9XjZs,4839
16
16
  avrs/tests.py,sha256=3JeYBjn0tRqHXERDROfzmYuW1KXeCcKur5Bw-EIegto,153
@@ -37,9 +37,9 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
37
37
  avrs/requests/vd.py,sha256=gdt5XCdCCVdECL3qt8y-PKDrlArjeY_lxtT4VpZmAJo,1804
38
38
  avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
39
39
  avrs/requests/vehicle_replay.py,sha256=nCAE21VNyKoeIjjXBGAihgOLO7zYHcu-HWvPZYxdQ2c,11099
40
- autoverse_cli-0.14.0.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
41
- autoverse_cli-0.14.0.dist-info/METADATA,sha256=aKr843SOu3yHpAv323cqtSnYWFF_xag8AesW48Nn5nQ,3342
42
- autoverse_cli-0.14.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
43
- autoverse_cli-0.14.0.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
44
- autoverse_cli-0.14.0.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
45
- autoverse_cli-0.14.0.dist-info/RECORD,,
40
+ autoverse_cli-0.14.1.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
41
+ autoverse_cli-0.14.1.dist-info/METADATA,sha256=ms3yFQDCI7ORD2_VXjNRGfU7cz_FqQOZmxenPsxD9AI,3342
42
+ autoverse_cli-0.14.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
43
+ autoverse_cli-0.14.1.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
44
+ autoverse_cli-0.14.1.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
45
+ autoverse_cli-0.14.1.dist-info/RECORD,,
avrs/app_version.py CHANGED
@@ -2,7 +2,7 @@ import http.client
2
2
  import json
3
3
 
4
4
  def get_app_version():
5
- return '0.14.0'
5
+ return '0.14.1'
6
6
 
7
7
  def check_app_is_latest():
8
8
  pass
avrs/race_cloud.py CHANGED
@@ -242,7 +242,7 @@ class AvrsRaceCloud(AvrsApiRequest):
242
242
  # this should only run on sim instances (not dev instances)
243
243
  def rx_connect(self, args):
244
244
  logger = logging.getLogger('avrs')
245
- logger.info('rx race cloud connection for team {} with ip {}'.format(args.team_name, args.ip))
245
+ logger.info('rx race cloud connection for team {}'.format(args.team_name)) # remove ip from log
246
246
  ok, msg, slot = try_get_open_slot(args.team_name, args.ip)
247
247
 
248
248
  bsu_vcan = get_auto_vcan_name(slot, 0)
@@ -325,8 +325,10 @@ class AvrsRaceCloud(AvrsApiRequest):
325
325
  logger.info('getting connection log')
326
326
  log_path = os.path.join(get_cfg_dir('avrs'), 'avrs.log')
327
327
  if os.path.isfile(log_path):
328
- with open(log_path, 'r', encoding='utf-8') as f:
329
- print(f.read())
328
+ print('the get-log command has been deprecated')
329
+ #with open(log_path, 'r', encoding='utf-8') as f:
330
+ #print('the get-log command has been deprecated')
331
+ #print(f.read())
330
332
  else:
331
333
  print('no log file found')
332
334
 
avrs/race_cloud_util.py CHANGED
@@ -216,7 +216,7 @@ def connect_peer_vcan(peer_id, peer_ip, vcan_id, vcan_name=''):
216
216
  'local_port': 20000 + peer_id * 3 + vcan_id,
217
217
  'vcan_name': vcan_name if vcan_name != '' else get_auto_vcan_name(peer_id, vcan_id)
218
218
  }
219
- logger.info('connecting vcan with args: {}'.format(pargs))
219
+ #logger.info('connecting vcan with args: {}'.format(pargs)) #remove because of security (ips in logs)
220
220
  return run_process(['bash', '-c',
221
221
  CONNECT_PEER_VCAN_SCRIPT.format(**pargs)])
222
222