autoverse-cli 0.12.1__py3-none-any.whl → 0.12.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: autoverse-cli
3
- Version: 0.12.1
3
+ Version: 0.12.2
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=aQ-dGmeOqCQ0fmvBra0LLWhBVJw-tF_yRff5tdLPpD4,856
2
+ avrs/app_version.py,sha256=VYRbDTZMLecsMdEKoBARfWHgFt4YnLlivJH2mmg1i6o,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
@@ -7,9 +7,9 @@ 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=Kzrxp6FYCmujiT0Y5dk-sCt8vaY6Z4qKKZk8YUTEuVw,9235
9
9
  avrs/launcher_util.py,sha256=sO3k_z3A-HIQdJVkVXNXUAE_MGFwAYiZUqQBoFwOqew,5325
10
- avrs/race_cloud.py,sha256=tFbCYn9y6WjK-YYoAD3cmgSnuelaM_4sNAnZVyYZQvE,10881
10
+ avrs/race_cloud.py,sha256=eHTsfeG0Yr8JCLSnxfvnweIA4vY73-riBlCuc0YvblM,11075
11
11
  avrs/race_cloud_cfg_util.py,sha256=Vd7r1nILo4fW5I8sh4AiAInKSsQkFFTXaIeYlNapo5U,3292
12
- avrs/race_cloud_util.py,sha256=xB337tZrErkQMj96WoJTAUYfNT1PcvxusE_Cl6x0LCY,8357
12
+ avrs/race_cloud_util.py,sha256=XJGgeNYS_CT2gqGvkKhK-d4Kqdey-QVZjIbBHrH52Yo,8415
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
@@ -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.1.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
40
- autoverse_cli-0.12.1.dist-info/METADATA,sha256=44Iqx67ulGSfAHCDCiT80IaQSb-7baRJypwI0FSD_hE,3342
41
- autoverse_cli-0.12.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
42
- autoverse_cli-0.12.1.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
43
- autoverse_cli-0.12.1.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
44
- autoverse_cli-0.12.1.dist-info/RECORD,,
39
+ autoverse_cli-0.12.2.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
40
+ autoverse_cli-0.12.2.dist-info/METADATA,sha256=KBt3PT9xBHuw4Oigb3R17b5Hsw5CsnbRLTWIy1vY6Hw,3342
41
+ autoverse_cli-0.12.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
42
+ autoverse_cli-0.12.2.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
43
+ autoverse_cli-0.12.2.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
44
+ autoverse_cli-0.12.2.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.12.1'
5
+ return '0.12.2'
6
6
 
7
7
  def check_app_is_latest():
8
8
  pass
avrs/race_cloud.py CHANGED
@@ -38,6 +38,10 @@ class AvrsRaceCloud(AvrsApiRequest):
38
38
  '--no-check-cans',
39
39
  action='store_true',
40
40
  help='if set, vcan interfaces will not be checked for validity')
41
+ connect_parser.add_argument(
42
+ '--print-debug',
43
+ action='store_true',
44
+ help='if set, debug information will be printed')
41
45
  connect_parser.set_defaults(func=self.race_connect)
42
46
 
43
47
  rx_connect_parser = sps.add_parser(
@@ -156,7 +160,8 @@ class AvrsRaceCloud(AvrsApiRequest):
156
160
  print(rbody)
157
161
  return
158
162
 
159
- print(rbody)
163
+ if args.print_debug:
164
+ print(rbody)
160
165
  #print(sim_ip)
161
166
 
162
167
  slot_info = {}
avrs/race_cloud_util.py CHANGED
@@ -186,6 +186,8 @@ def connect_peer_vcan(peer_id, peer_ip, vcan_id, vcan_name=''):
186
186
  def get_local_instance_ip():
187
187
  try:
188
188
  pres = run_process(['bash', '-c', GET_EC2_LOCAL_IP_SCRIPT])
189
+ if pres.out == '':
190
+ return '127.0.0.1'
189
191
  return pres.out
190
192
  except:
191
193
  return '127.0.0.1'