How to use the carla.driving_benchmark.experiment_suites.experiment_suite.ExperimentSuite function in carla

To help you get started, we’ve selected a few carla examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github felipecode / coiltraine / testing / unit_tests / test_drive / test_suite.py View on Github external
# For a copy, see .

# CORL experiment set.

from __future__ import print_function


from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite


#TODO: maybe add aditional tasks ( NO dynamic obstacles for instace !)

class TestSuite(ExperimentSuite):

    def __init__(self):
        super(TestSuite, self).__init__('Town02')

    @property
    def train_weathers(self):
        return [1]
    @property
    def test_weathers(self):
        return [1]


    def _poses(self):


        return [[[19, 66], [79, 14]]]
github felipecode / coiltraine / drive / suites / exred_training_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function

from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite


# TODO: maybe add aditional tasks ( NO dynamic obstacles for instace !)

class ExredTraining(ExperimentSuite):

    def __init__(self):
        super(ExredTraining, self).__init__('Town01')

    @property
    def train_weathers(self):
        return [1]

    @property
    def test_weathers(self):
        return []
    @property
    def collision_as_failure(self):
        return True

    def _poses(self):
github felipecode / coiltraine / drive / eccv_generalization_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function


from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite



class ECCVGeneralization(ExperimentSuite):

    def __init__(self):
        super(ECCVGeneralization, self).__init__('Town02')

    @property
    def train_weathers(self):
        return []
    @property
    def test_weathers(self):
        return [14]


    def _poses(self):


        return [[[19, 66], [79, 14], [19, 57], [23, 1],
github felipecode / coiltraine / drive / suites / exred_new_weather_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function

from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite


# TODO: maybe add aditional tasks ( NO dynamic obstacles for instace !)

class ExredNewWeather(ExperimentSuite):

    def __init__(self):
        super(ExredNewWeather, self).__init__('Town01')

    @property
    def train_weathers(self):
        return []

    @property
    def test_weathers(self):
        return [14]
    @property
    def collision_as_failure(self):
        return True

    def _poses(self):
github felipecode / coiltraine / drive / suites / exred_new_weather_town_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function


from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite



class ExredNewWeatherTown(ExperimentSuite):

    def __init__(self):
        super(ExredNewWeatherTown, self).__init__('Town02')

    @property
    def train_weathers(self):
        return []

    @property
    def test_weathers(self):
        return [14]

    @property
    def collision_as_failure(self):
        return True
github felipecode / coiltraine / drive / suites / long_new_weather_town_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function


from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite



class LongNewWeatherTown(ExperimentSuite):

    def __init__(self):
        super(LongNewWeatherTown, self).__init__('Town02')

    @property
    def train_weathers(self):
        return []

    @property
    def test_weathers(self):
        return [4, 14]

    @property
    def collision_as_failure(self):
        return True
github felipecode / coiltraine / drive / suites / oracle_train_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function

from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite


# TODO: maybe add aditional tasks ( NO dynamic obstacles for instace !)

class OracleTrain(ExperimentSuite):

    def __init__(self):
        super(OracleTrain, self).__init__('Town01')

    @property
    def train_weathers(self):
        return [1]

    @property
    def test_weathers(self):
        return []



    def _poses(self):
github felipecode / coiltraine / drive / suites / clut_new_weather_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function

from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite


# TODO: maybe add aditional tasks ( NO dynamic obstacles for instace !)

class ClutNewWeather(ExperimentSuite):

    def __init__(self):
        super(ClutNewWeather, self).__init__('Town01')

    @property
    def train_weathers(self):
        return [4, 14]

    @property
    def test_weathers(self):
        return []
    @property
    def collision_as_failure(self):
        return True

    def _poses(self):
github felipecode / coiltraine / drive / suites / pa_new_town_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function


from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite



class PANewTown(ExperimentSuite):

    def __init__(self):
        super(PANewTown, self).__init__('Town02')

    @property
    def train_weathers(self):
        return [1, 3, 6, 8]

    @property
    def test_weathers(self):
        return []



    def _poses(self):
github felipecode / coiltraine / drive / suites / long_new_town_suite.py View on Github external
# This work is licensed under the terms of the MIT license.
# For a copy, see .

# CORL experiment set.

from __future__ import print_function


from carla.driving_benchmark.experiment import Experiment
from carla.sensor import Camera
from carla.settings import CarlaSettings
from carla.driving_benchmark.experiment_suites.experiment_suite import ExperimentSuite



class LongNewTown(ExperimentSuite):

    def __init__(self):
        super(LongNewTown, self).__init__('Town02')

    @property
    def train_weathers(self):
        return [1, 3, 6, 8]

    @property
    def test_weathers(self):
        return []

    @property
    def collision_as_failure(self):
        return True