autoverse-cli 0.12.5__tar.gz → 0.12.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/PKG-INFO +1 -1
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/pyproject.toml +1 -1
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/autoverse_cli.egg-info/PKG-INFO +1 -1
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/app_version.py +1 -1
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/race_cloud_cfg_util.py +1 -1
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/race_cloud_util.py +2 -2
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/request.py +3 -1
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/LICENSE +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/README.md +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/setup.cfg +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/autoverse_cli.egg-info/SOURCES.txt +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/autoverse_cli.egg-info/dependency_links.txt +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/autoverse_cli.egg-info/entry_points.txt +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/autoverse_cli.egg-info/requires.txt +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/autoverse_cli.egg-info/top_level.txt +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/__init__.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/argparse_help.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/avrs.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/can_tool.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/can_tool_util.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/cfg.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/launcher.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/launcher_util.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/race_cloud.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/change_camera.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/code_booz.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/demo.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/dump_sim_config.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/environment.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/fault_injection.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/get_object_config.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/list_sim_objects.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/log_path.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/misc.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/move_to_landmark.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/npc.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/reset_to_track.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/restart.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/scenario_control.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/spawn_object.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/teleport.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/toggle_hud.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/vd.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/vehicle_input.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/requests/vehicle_replay.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/simconfig.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/simconfig_util.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/tests.py +0 -0
- {autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/src/avrs/util.py +0 -0
@@ -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:
|
@@ -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')
|
@@ -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
|
{autoverse_cli-0.12.5 → autoverse_cli-0.12.7}/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
|