Exemplo n.º 1
0
# coding=utf-8
from zuper_commons.logs import ZLogger

logger = ZLogger(__name__)
from .other_objects import *
from .tile import *
from .tile_coords import *
from .tile_map import *
from .traffic_light import *

from .map_loading import *
from .platform_dynamics import *
from .integrator2d import *
from .generic_kinematics import *
from .lane_segment import *
from .duckietown_map import *
from .duckiebot import *
from .transformations import *
from .segmentify import *
from .pwm_dynamics import *
from .old_map_format import *
Exemplo n.º 2
0
__version__ = "6.0.59"

from zuper_commons.logs import ZLogger

logger = ZLogger(__name__)
import os

path = os.path.dirname(os.path.dirname(__file__))
logger.debug(f"aido-protocols version {__version__} path {path}")

from .protocols import *
from .protocol_agent import *
from .protocol_simulator import *
from .schemas import *
from .basics import *
from .misc import *
Exemplo n.º 3
0
# coding=utf-8
__version__ = "6.1.1"

from zuper_commons.fs import AbsFilePath
from zuper_commons.logs import ZLogger

from duckietown_world.resources import list_maps2

logger = ZLogger("gym-duckietown")
import os

path = os.path.dirname(os.path.dirname(__file__))
logger.debug(f"gym-duckietown version {__version__} path {path}\n")

from gym.envs.registration import register

from .utils import get_subdir_path


def reg_map_env(map_name0: str, map_file: AbsFilePath):
    gym_id = f"Duckietown-{map_name0}-v0"

    # logger.info('Registering gym environment id: %s' % gym_id)

    register(
        id=gym_id,
        entry_point="gym_duckietown.envs:DuckietownEnv",
        reward_threshold=400.0,
        kwargs={"map_name": map_file},
    )
Exemplo n.º 4
0
# coding=utf-8
__version__ = "6.2.2"

import logging

from zuper_commons.logs import ZLogger

logger = ZLogger(__name__)
import os

path = os.path.dirname(os.path.dirname(__file__))
logger.debug(f"duckietown-world version {__version__} path {path}")

# remove noisy logging
from duckietown_serialization_ds1 import logger as dslogger

dslogger.setLevel(logging.CRITICAL)

from contracts import disable_all

disable_all()

from .geo import *
from .seqs import *
from .resources import *
from .svg_drawing import *
from .world_duckietown import *
Exemplo n.º 5
0
# coding=utf-8
__version__ = "6.3.20"

from zuper_commons.logs import ZLogger

logger = ZLogger(__name__)
import os

path = os.path.dirname(os.path.dirname(__file__))

logger.debug(f"duckietown_challenges version {__version__} path {path}")

from .types import *
from .rest import *
from .challenges_constants import ChallengesConstants
from .solution_interface import *
from .constants import *
from .exceptions import *
from .challenge import *
from .challenge_evaluator import *
from .challenge_solution import *
from .challenge_results import *
from .cie_concrete import *
from .rest_methods import *
from .submission_read import *