Skip to content

Commit e936093

Browse files
Eric-VinArmando Banuelos
and
Armando Banuelos
authored
Carla Interface Convert record to Absolute Path (#223)
* Minor tweak to Carla interface to resolve issue. * fix: ignoring src/scenic/simulators in codecov report --------- Co-authored-by: Armando Banuelos <[email protected]>
1 parent 1e84dbc commit e936093

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

codecov.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ codecov:
1515
layout: "reach, diff, flags, files"
1616
behavior: default
1717
require_ci_to_pass: true
18+
ignore:
19+
- "src/scenic/simulators/**"
1820
cli:
1921
plugins:
2022
pycoverage:

src/scenic/simulators/carla/simulator.py

+2
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ def setup(self):
139139
if not os.path.exists(self.record):
140140
os.mkdir(self.record)
141141
name = "{}/scenario{}.log".format(self.record, self.scenario_number)
142+
# Carla is looking for an absolute path, so convert it if necessary.
143+
name = os.path.abspath(name)
142144
self.client.start_recorder(name)
143145

144146
# Create objects.

0 commit comments

Comments
 (0)