Open JuliaEmelianova opened 3 years ago
Hmm, we create a test report with the api every time api.reset() is called in the logic. This might be a bug. Please add api.reset to your python between iterations and see if it fixes it. Thanks for the issue.
@EricBoiseLGSVL Do you mean to add sim.reset() in my python between iterations? If yes, it does not help (((
ok this is a bug, we will look into. Thanks for posting
Also thanks for your comments )
Description The "Iterations" section in Test Report displays only iterations for tests having the same Map, however there are tests with different Maps inside the test case which was run wth a Python API script.
Steps to reproduce issue
`import os import lgsvl import lgsvl.dreamview import time import unittest
MAX_POV_ROTATION = 5 TIME_LIMIT = 20
TIME_DELAY = 3 MIN_POV_TEST_SPEED = 4
SIMULATOR_HOST = os.environ.get("SIMULATOR_HOST", "127.0.0.1") SIMULATOR_PORT = int(os.environ.get("SIMULATOR_PORT", 8181)) BRIDGE_HOST = os.environ.get("BRIDGE_HOST", "127.0.0.1") BRIDGE_PORT = int(os.environ.get("BRIDGE_PORT", 9090))
modules = [ 'Localization', 'Perception', 'Transform', 'Routing', 'Prediction', 'Planning', 'Traffic Light', 'Control' ]
class TestVehicleFollowing(unittest.TestCase):
Expected results
Actual results
System details Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz Nvidia GeForce GTX 1080 Ti (GPU memory 11GB) Ubuntu 20.04.2 LTS Apollo master (latest Apollo was cloned at 2021-06-05) Docker version: apolloauto/apollo:dev-x86_64-18.04-20210517_1712 SVL Simulator 2021.1.1