autoverse-cli 0.12.3__tar.gz → 0.12.5__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/PKG-INFO +1 -1
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/pyproject.toml +1 -1
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/PKG-INFO +1 -1
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/app_version.py +1 -1
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/race_cloud.py +1 -1
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/race_cloud_cfg_util.py +7 -1
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/race_cloud_util.py +5 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/LICENSE +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/README.md +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/setup.cfg +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/SOURCES.txt +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/dependency_links.txt +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/entry_points.txt +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/requires.txt +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/top_level.txt +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/__init__.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/argparse_help.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/avrs.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/can_tool.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/can_tool_util.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/cfg.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/launcher.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/launcher_util.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/change_camera.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/code_booz.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/demo.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/dump_sim_config.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/environment.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/fault_injection.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/get_object_config.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/list_sim_objects.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/log_path.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/misc.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/move_to_landmark.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/npc.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/request.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/reset_to_track.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/restart.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/scenario_control.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/spawn_object.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/teleport.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/toggle_hud.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/vd.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/vehicle_input.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/requests/vehicle_replay.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/simconfig.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/simconfig_util.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/tests.py +0 -0
- {autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/avrs/util.py +0 -0
@@ -254,7 +254,7 @@ class AvrsRaceCloud(AvrsApiRequest):
|
|
254
254
|
bash_kill_process('Autoverse')
|
255
255
|
if args.action == 'start' or args.action == 'restart':
|
256
256
|
print('starting sim program on sim instance {}'.format(args.sim_index))
|
257
|
-
exe_path = os.path.join(
|
257
|
+
exe_path = os.path.join(get_sim_exe_path())
|
258
258
|
start_exe(exe_path)
|
259
259
|
|
260
260
|
def remote_sim_ctrl(self, args):
|
@@ -23,6 +23,7 @@ def clear_autospawns():
|
|
23
23
|
return
|
24
24
|
|
25
25
|
cfg_files.files['yas']['autoSpawnObjects'] = []
|
26
|
+
cfg_files.files['main']['objectTemplatePaths'] = []
|
26
27
|
cfg_files.save()
|
27
28
|
|
28
29
|
def register_received_vehicle(team_name, slot, cfg_data, bsu_vcan, kistler_vcan, badenia_vcan):
|
@@ -76,7 +77,12 @@ def register_received_vehicle(team_name, slot, cfg_data, bsu_vcan, kistler_vcan,
|
|
76
77
|
})
|
77
78
|
cfg_files.save()
|
78
79
|
|
79
|
-
|
80
|
+
# also need to add the object template to main sim config
|
81
|
+
|
82
|
+
new_cfg_name = 'eav24_{}.json'.format(team_name)
|
83
|
+
cfg_files.files['main']['objectTemplatePaths'].append(os.path.join('Objects', new_cfg_name))
|
84
|
+
|
85
|
+
target_path = os.path.join(sim_saved, 'Objects', new_cfg_name)
|
80
86
|
with open(target_path, 'w', encoding='utf-8') as f:
|
81
87
|
json.dump(cfg_object, f, ensure_ascii=False, indent=4)
|
82
88
|
|
@@ -133,6 +133,11 @@ def get_sim_install_path():
|
|
133
133
|
os.path.join(os.environ['HOME'], 'autoverse-linux'))
|
134
134
|
return sim_path
|
135
135
|
|
136
|
+
def get_sim_exe_path():
|
137
|
+
exe_path = os.environ.get('AVRS_EXE_PATH',
|
138
|
+
os.path.join(os.environ['HOME'], 'autoverse-linux', 'Linux', 'utils', 'run_autoverse.sh'))
|
139
|
+
return exe_path()
|
140
|
+
|
136
141
|
def get_rmw_qos_path():
|
137
142
|
return os.path.join(os.environ['HOME'], '.rmw_qos.xml')
|
138
143
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{autoverse_cli-0.12.3 → autoverse_cli-0.12.5}/src/autoverse_cli.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|