SYMBOL INDEX (1799 symbols across 153 files) FILE: agents/navigation/agent.py class AgentState (line 18) | class AgentState(Enum): class Agent (line 27) | class Agent(object): method __init__ (line 30) | def __init__(self, vehicle): method get_local_planner (line 50) | def get_local_planner(self): method run_step (line 55) | def run_step(debug=False): method _is_light_red (line 73) | def _is_light_red(self, lights_list): method _get_trafficlight_trigger_location (line 110) | def _get_trafficlight_trigger_location(self, traffic_light): # pylint... method _bh_is_vehicle_hazard (line 133) | def _bh_is_vehicle_hazard(self, ego_wpt, ego_loc, vehicle_list, method _is_vehicle_hazard (line 189) | def _is_vehicle_hazard(self, vehicle_list): method emergency_stop (line 222) | def emergency_stop(): FILE: agents/navigation/basic_agent.py class BasicAgent (line 17) | class BasicAgent(Agent): method __init__ (line 23) | def __init__(self, vehicle, target_speed=20): method set_destination (line 47) | def set_destination(self, location): method _trace_route (line 61) | def _trace_route(self, start_waypoint, end_waypoint): method run_step (line 81) | def run_step(self, debug=False): method done (line 123) | def done(self): FILE: agents/navigation/behavior_agent.py class BehaviorAgent (line 22) | class BehaviorAgent(Agent): method __init__ (line 36) | def __init__(self, vehicle, ignore_traffic_light=False, behavior='norm... method update_information (line 77) | def update_information(self, world): method set_destination (line 105) | def set_destination(self, start_location, end_location, clean=False): method reroute (line 123) | def reroute(self, spawn_points): method _trace_route (line 139) | def _trace_route(self, start_waypoint, end_waypoint): method traffic_light_manager (line 163) | def traffic_light_manager(self, waypoint): method _overtake (line 186) | def _overtake(self, location, waypoint, vehicle_list): method _tailgating (line 219) | def _tailgating(self, location, waypoint, vehicle_list): method collision_and_car_avoid_manager (line 255) | def collision_and_car_avoid_manager(self, location, waypoint): method pedestrian_avoid_manager (line 300) | def pedestrian_avoid_manager(self, location, waypoint): method car_following_manager (line 328) | def car_following_manager(self, vehicle, distance, debug=False): method run_step (line 360) | def run_step(self, debug=False): FILE: agents/navigation/controller.py class VehiclePIDController (line 15) | class VehiclePIDController(): method __init__ (line 23) | def __init__(self, vehicle, args_lateral, args_longitudinal, max_throt... method run_step (line 50) | def run_step(self, target_speed, waypoint): class PIDLongitudinalController (line 91) | class PIDLongitudinalController(): method __init__ (line 97) | def __init__(self, vehicle, K_P=1.0, K_D=0.0, K_I=0.0, dt=0.03): method run_step (line 114) | def run_step(self, target_speed, debug=False): method _pid_control (line 129) | def _pid_control(self, target_speed, current_speed): class PIDLateralController (line 150) | class PIDLateralController(): method __init__ (line 155) | def __init__(self, vehicle, K_P=1.0, K_D=0.0, K_I=0.0, dt=0.03): method run_step (line 172) | def run_step(self, waypoint): method _pid_control (line 184) | def _pid_control(self, waypoint, vehicle_transform): FILE: agents/navigation/global_route_planner.py class GlobalRoutePlanner (line 20) | class GlobalRoutePlanner(object): method __init__ (line 27) | def __init__(self, dao): method setup (line 39) | def setup(self): method _build_graph (line 49) | def _build_graph(self): method _find_loose_ends (line 108) | def _find_loose_ends(self): method _localize (line 147) | def _localize(self, location): method _lane_change_link (line 167) | def _lane_change_link(self): method _distance_heuristic (line 205) | def _distance_heuristic(self, n1, n2): method _path_search (line 214) | def _path_search(self, origin, destination): method _successive_last_intersection_edge (line 232) | def _successive_last_intersection_edge(self, index, route): method _turn_decision (line 254) | def _turn_decision(self, index, route, threshold=math.radians(35)): method abstract_route_plan (line 312) | def abstract_route_plan(self, origin, destination): method _find_closest_in_list (line 332) | def _find_closest_in_list(self, current_waypoint, waypoint_list): method trace_route (line 344) | def trace_route(self, origin, destination): FILE: agents/navigation/global_route_planner_dao.py class GlobalRoutePlannerDAO (line 13) | class GlobalRoutePlannerDAO(object): method __init__ (line 19) | def __init__(self, wmap, sampling_resolution): method get_topology (line 29) | def get_topology(self): method get_waypoint (line 67) | def get_waypoint(self, location): method get_resolution (line 77) | def get_resolution(self): FILE: agents/navigation/local_planner.py class RoadOption (line 17) | class RoadOption(Enum): class LocalPlanner (line 30) | class LocalPlanner(object): method __init__ (line 43) | def __init__(self, vehicle, opt_dict=None): method __del__ (line 81) | def __del__(self): method reset_vehicle (line 86) | def reset_vehicle(self): method _init_controller (line 90) | def _init_controller(self, opt_dict): method set_speed (line 153) | def set_speed(self, speed): method _compute_next_waypoints (line 162) | def _compute_next_waypoints(self, k=1): method set_global_plan (line 193) | def set_global_plan(self, current_plan): method run_step (line 219) | def run_step(self, debug=False): method done (line 274) | def done(self): function _retrieve_options (line 282) | def _retrieve_options(list_waypoints, current_waypoint): function _compute_connection (line 304) | def _compute_connection(current_waypoint, next_waypoint, threshold=35): FILE: agents/navigation/local_planner_behavior.py class RoadOption (line 20) | class RoadOption(Enum): class LocalPlanner (line 34) | class LocalPlanner(object): method __init__ (line 52) | def __init__(self, agent): method reset_vehicle (line 76) | def reset_vehicle(self): method _init_controller (line 81) | def _init_controller(self): method set_speed (line 129) | def set_speed(self, speed): method set_global_plan (line 138) | def set_global_plan(self, current_plan, clean=False): method get_incoming_waypoint_and_direction (line 158) | def get_incoming_waypoint_and_direction(self, steps=3): method run_step (line 176) | def run_step(self, target_speed=None, debug=False): FILE: agents/navigation/roaming_agent.py class RoamingAgent (line 16) | class RoamingAgent(Agent): method __init__ (line 24) | def __init__(self, vehicle): method run_step (line 34) | def run_step(self, debug=False): FILE: agents/navigation/types_behavior.py class Cautious (line 7) | class Cautious(object): class Normal (line 19) | class Normal(object): class Aggressive (line 31) | class Aggressive(object): FILE: agents/tools/misc.py function draw_waypoints (line 15) | def draw_waypoints(world, waypoints, z=0.5): function get_speed (line 31) | def get_speed(vehicle): function is_within_distance_ahead (line 42) | def is_within_distance_ahead(target_transform, current_transform, max_di... function is_within_distance (line 68) | def is_within_distance(target_location, current_location, orientation, m... function compute_magnitude_angle (line 98) | def compute_magnitude_angle(target_location, current_location, orientati... function distance_vehicle (line 116) | def distance_vehicle(waypoint, vehicle_transform): function vector (line 130) | def vector(location_1, location_2): function compute_distance (line 144) | def compute_distance(location_1, location_2): function positive (line 157) | def positive(num): FILE: camera_calibration/collect_data_for_calibration.py class gnssSensor (line 166) | class gnssSensor(object): method __init__ (line 167) | def __init__(self, parent_actor): method _on_gnss_event (line 191) | def _on_gnss_event(weak_self, event): method destroy (line 200) | def destroy(self): function resize_img (line 208) | def resize_img(img): function euler_to_quaternion (line 217) | def euler_to_quaternion(yaw, pitch, roll): function draw_rgb_image (line 226) | def draw_rgb_image(surface, image_rgb): function draw_depth_image (line 235) | def draw_depth_image(surface, image_depth): function get_font (line 244) | def get_font(): function create_main_actors (line 252) | def create_main_actors(start_pose, waypoint): function get_actor_display_name (line 313) | def get_actor_display_name(actor, truncate=250): function _RGB_sensor_callback (line 318) | def _RGB_sensor_callback(sensor_data, ts, display): function _DEPTH_sensor_callback (line 324) | def _DEPTH_sensor_callback(sensor_data, ts, display): class CarlaSyncMode (line 336) | class CarlaSyncMode(object): method __init__ (line 346) | def __init__(self, world, *sensors, **kwargs): method __enter__ (line 354) | def __enter__(self): method tick (line 371) | def tick(self, timeout): method __exit__ (line 377) | def __exit__(self, *args, **kwargs): method _retrieve_data (line 380) | def _retrieve_data(self, sensor_queue, timeout): function main (line 391) | def main(): FILE: dataset/tools/generate_random_routes.py function interpolate_trajectory (line 254) | def interpolate_trajectory(world_map, waypoints_trajectory, hop_resoluti... function kill_carla (line 293) | def kill_carla(): function main (line 298) | def main(): FILE: leaderboard/leaderboard/autoagents/agent_wrapper.py class AgentError (line 40) | class AgentError(Exception): method __init__ (line 45) | def __init__(self, message): class AgentWrapper (line 49) | class AgentWrapper(object): method __init__ (line 72) | def __init__(self, agent): method __call__ (line 78) | def __call__(self): method setup_sensors (line 84) | def setup_sensors(self, vehicle, debug_mode=False): method validate_sensor_configuration (line 221) | def validate_sensor_configuration(sensors, agent_track, selected_track): method cleanup (line 271) | def cleanup(self): FILE: leaderboard/leaderboard/autoagents/autonomous_agent.py class Track (line 21) | class Track(Enum): class AutonomousAgent (line 29) | class AutonomousAgent(object): method __init__ (line 35) | def __init__(self, path_to_conf_file): method setup (line 49) | def setup(self, path_to_conf_file): method sensors (line 57) | def sensors(self): # pylint: disable=no-self-use method run_step (line 79) | def run_step(self, input_data, timestamp): method destroy (line 92) | def destroy(self): method __call__ (line 99) | def __call__(self): method set_global_plan (line 120) | def set_global_plan(self, global_plan_gps, global_plan_world_coord, wp... FILE: leaderboard/leaderboard/autoagents/dummy_agent.py function get_entry_point (line 16) | def get_entry_point(): class DummyAgent (line 19) | class DummyAgent(AutonomousAgent): method setup (line 25) | def setup(self, path_to_conf_file): method sensors (line 31) | def sensors(self): method run_step (line 68) | def run_step(self, input_data, timestamp): FILE: leaderboard/leaderboard/autoagents/human_agent.py function get_entry_point (line 36) | def get_entry_point(): class HumanInterface (line 39) | class HumanInterface(object): method __init__ (line 45) | def __init__(self): method run_interface (line 56) | def run_interface(self, input_data): method _quit (line 70) | def _quit(self): class HumanAgent (line 74) | class HumanAgent(AutonomousAgent): method setup (line 83) | def setup(self, path_to_conf_file): method sensors (line 94) | def sensors(self): method run_step (line 120) | def run_step(self, input_data, timestamp): method destroy (line 132) | def destroy(self): class KeyboardControl (line 139) | class KeyboardControl(object): method __init__ (line 145) | def __init__(self, path_to_conf_file): method _json_to_control (line 179) | def _json_to_control(self): method parse_events (line 192) | def parse_events(self, timestamp): method _parse_vehicle_keys (line 208) | def _parse_vehicle_keys(self, keys, milliseconds): method _parse_json_control (line 239) | def _parse_json_control(self): method _record_control (line 247) | def _record_control(self): method __del__ (line 262) | def __del__(self): FILE: leaderboard/leaderboard/autoagents/npc_agent.py function get_entry_point (line 18) | def get_entry_point(): class NpcAgent (line 21) | class NpcAgent(AutonomousAgent): method setup (line 30) | def setup(self, path_to_conf_file): method sensors (line 39) | def sensors(self): method run_step (line 64) | def run_step(self, input_data, timestamp): FILE: leaderboard/leaderboard/autoagents/ros_agent.py class RosAgent (line 40) | class RosAgent(AutonomousAgent): method setup (line 65) | def setup(self, path_to_conf_file): method destroy (line 163) | def destroy(self): method on_vehicle_control (line 184) | def on_vehicle_control(self, data): method build_camera_info (line 202) | def build_camera_info(self, attributes): # pylint: disable=no-self-use method publish_plan (line 225) | def publish_plan(self): method sensors (line 248) | def sensors(self): method get_header (line 257) | def get_header(self): method publish_lidar (line 265) | def publish_lidar(self, sensor_id, data): method publish_gnss (line 286) | def publish_gnss(self, sensor_id, data): method publish_camera (line 302) | def publish_camera(self, sensor_id, data): method publish_can (line 316) | def publish_can(self, sensor_id, data): method publish_hd_map (line 358) | def publish_hd_map(self, sensor_id, data): method use_stepping_mode (line 403) | def use_stepping_mode(self): # pylint: disable=no-self-use method run_step (line 409) | def run_step(self, input_data, timestamp): FILE: leaderboard/leaderboard/envs/sensor_interface.py function threaded (line 16) | def threaded(fn): class SensorConfigurationInvalid (line 26) | class SensorConfigurationInvalid(Exception): method __init__ (line 31) | def __init__(self, message): class SensorReceivedNoData (line 35) | class SensorReceivedNoData(Exception): method __init__ (line 40) | def __init__(self, message): class GenericMeasurement (line 44) | class GenericMeasurement(object): method __init__ (line 45) | def __init__(self, data, frame): class BaseReader (line 50) | class BaseReader(object): method __init__ (line 51) | def __init__(self, vehicle, reading_frequency=1.0): method __call__ (line 58) | def __call__(self): method run (line 62) | def run(self): method listen (line 79) | def listen(self, callback): method stop (line 83) | def stop(self): method destroy (line 86) | def destroy(self): class SpeedometerReader (line 90) | class SpeedometerReader(BaseReader): method _get_forward_speed (line 96) | def _get_forward_speed(self, transform=None, velocity=None): method __call__ (line 110) | def __call__(self): class OpenDriveMapReader (line 128) | class OpenDriveMapReader(BaseReader): method __call__ (line 129) | def __call__(self): class CallBack (line 133) | class CallBack(object): method __init__ (line 134) | def __init__(self, tag, sensor_type, sensor, data_provider): method __call__ (line 140) | def __call__(self, data): method _parse_image_cb (line 159) | def _parse_image_cb(self, image, tag): method _parse_lidar_cb (line 165) | def _parse_lidar_cb(self, lidar_data, tag): method _parse_semantic_lidar_cb (line 171) | def _parse_semantic_lidar_cb(self, semantic_lidar_data, tag): method _parse_radar_cb (line 177) | def _parse_radar_cb(self, radar_data, tag): method _parse_gnss_cb (line 185) | def _parse_gnss_cb(self, gnss_data, tag): method _parse_imu_cb (line 191) | def _parse_imu_cb(self, imu_data, tag): method _parse_pseudosensor (line 202) | def _parse_pseudosensor(self, package, tag): class SensorInterface (line 206) | class SensorInterface(object): method __init__ (line 207) | def __init__(self): method register_sensor (line 217) | def register_sensor(self, tag, sensor_type, sensor): method update_sensor (line 226) | def update_sensor(self, tag, data, timestamp): method get_data (line 233) | def get_data(self): FILE: leaderboard/leaderboard/leaderboard_evaluator.py function str2bool (line 43) | def str2bool(v): function kill_carla (line 90) | def kill_carla(): class LeaderboardEvaluator (line 95) | class LeaderboardEvaluator(object): method __init__ (line 108) | def __init__(self, args, statistics_manager): method _signal_handler (line 157) | def _signal_handler(self, signum, frame): method __del__ (line 166) | def __del__(self): method _cleanup (line 177) | def _cleanup(self): method _prepare_ego_vehicles (line 213) | def _prepare_ego_vehicles(self, ego_vehicles, wait_for_ego_vehicles=Fa... method _load_and_wait_for_world (line 249) | def _load_and_wait_for_world(self, args, town, ego_vehicles=None): method _register_statistics (line 295) | def _register_statistics(self, config, checkpoint, entry_status, crash... method _load_and_run_scenario (line 311) | def _load_and_run_scenario(self, args, config): method run (line 440) | def run(self, args): function main (line 479) | def main(): FILE: leaderboard/leaderboard/scenarios/background_activity.py class BackgroundActivity (line 20) | class BackgroundActivity(BasicScenario): method __init__ (line 45) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 62) | def _initialize_actors(self, config): method _create_behavior (line 88) | def _create_behavior(self): method _create_test_criteria (line 94) | def _create_test_criteria(self): method __del__ (line 101) | def __del__(self): FILE: leaderboard/leaderboard/scenarios/master_scenario.py class MasterScenario (line 28) | class MasterScenario(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 59) | def _create_behavior(self): method _create_test_criteria (line 71) | def _create_test_criteria(self): method __del__ (line 116) | def __del__(self): FILE: leaderboard/leaderboard/scenarios/route_scenario.py function oneshot_behavior (line 70) | def oneshot_behavior(name, variable_name, behaviour): function convert_json_to_transform (line 103) | def convert_json_to_transform(actor_dict): function convert_json_to_actor (line 112) | def convert_json_to_actor(actor_dict): function convert_transform_to_location (line 125) | def convert_transform_to_location(transform_vec): function compare_scenarios (line 136) | def compare_scenarios(scenario_choice, existent_scenario): class RouteScenario (line 174) | class RouteScenario(BasicScenario): method __init__ (line 183) | def __init__(self, world, config, debug_mode=0, criteria_enable=True): method _update_route (line 212) | def _update_route(self, world, config, debug_mode): method _update_ego_vehicle (line 244) | def _update_ego_vehicle(self): method _estimate_route_timeout (line 263) | def _estimate_route_timeout(self): method _draw_waypoints (line 278) | def _draw_waypoints(self, world, waypoints, vertical_shift, persistenc... method _scenario_sampling (line 307) | def _scenario_sampling(self, potential_scenarios_definitions, random_s... method _build_scenario_instances (line 388) | def _build_scenario_instances(self, world, ego_vehicle, scenario_defin... method _get_actors_instances (line 443) | def _get_actors_instances(self, list_of_antagonist_actors): method _initialize_actors (line 473) | def _initialize_actors(self, config): method _create_behavior (line 514) | def _create_behavior(self): method _create_test_criteria (line 559) | def _create_test_criteria(self): method __del__ (line 595) | def __del__(self): FILE: leaderboard/leaderboard/scenarios/scenario_manager.py class ScenarioManager (line 30) | class ScenarioManager(object): method __init__ (line 48) | def __init__(self, timeout, debug_mode=False): method signal_handler (line 82) | def signal_handler(self, signum, frame): method cleanup (line 88) | def cleanup(self): method load_scenario (line 99) | def load_scenario(self, scenario, agent, rep_number): method run_scenario (line 119) | def run_scenario(self): method _tick_scenario (line 140) | def _tick_scenario(self, timestamp): method get_running_status (line 185) | def get_running_status(self): method stop_scenario (line 192) | def stop_scenario(self): method analyze_scenario (line 214) | def analyze_scenario(self): FILE: leaderboard/leaderboard/scenarios/scenarioatomics/atomic_criteria.py class ActorSpeedAboveThresholdTest (line 25) | class ActorSpeedAboveThresholdTest(Criterion): method __init__ (line 37) | def __init__(self, actor, speed_threshold, below_threshold_max_time, method update (line 49) | def update(self): method _set_event_message (line 78) | def _set_event_message(event, location): method _set_event_dict (line 87) | def _set_event_dict(event, location): FILE: leaderboard/leaderboard/utils/checkpoint_tools.py function autodetect_proxy (line 10) | def autodetect_proxy(): function fetch_dict (line 24) | def fetch_dict(endpoint): function create_default_json_msg (line 50) | def create_default_json_msg(): function save_dict (line 67) | def save_dict(endpoint, data): FILE: leaderboard/leaderboard/utils/result_writer.py class ResultOutputProvider (line 19) | class ResultOutputProvider(object): method __init__ (line 26) | def __init__(self, data, global_result): method create_output_text (line 41) | def create_output_text(self): FILE: leaderboard/leaderboard/utils/route_indexer.py class RouteIndexer (line 13) | class RouteIndexer(): method __init__ (line 14) | def __init__(self, routes_file, scenarios_file, repetitions): method peek (line 37) | def peek(self): method next (line 40) | def next(self): method resume (line 49) | def resume(self, endpoint): method save_state (line 66) | def save_state(self, endpoint): FILE: leaderboard/leaderboard/utils/route_manipulation.py function _location_to_gps (line 21) | def _location_to_gps(lat_ref, lon_ref, location): function location_route_to_gps (line 44) | def location_route_to_gps(route, lat_ref, lon_ref): function _get_latlon_ref (line 61) | def _get_latlon_ref(world): function downsample_route (line 86) | def downsample_route(route, sample_factor): function interpolate_trajectory (line 132) | def interpolate_trajectory(world, waypoints_trajectory, hop_resolution=1... FILE: leaderboard/leaderboard/utils/route_parser.py class RouteParser (line 41) | class RouteParser(object): method parse_annotations_file (line 48) | def parse_annotations_file(annotation_filename): method parse_routes_file (line 65) | def parse_routes_file(route_filename, scenario_file, single_route=None): method parse_weather (line 100) | def parse_weather(route): method parse_preset_weather (line 140) | def parse_preset_weather(route): method check_trigger_position (line 154) | def check_trigger_position(new_trigger, existing_triggers): method convert_waypoint_float (line 176) | def convert_waypoint_float(waypoint): method match_world_location_to_route (line 186) | def match_world_location_to_route(world_location, route_description): method get_scenario_type (line 216) | def get_scenario_type(scenario, match_position, trajectory): method scan_route_for_scenarios (line 297) | def scan_route_for_scenarios(route_name, trajectory, world_annotations): FILE: leaderboard/leaderboard/utils/statistics_manager.py class RouteRecord (line 32) | class RouteRecord(): method __init__ (line 33) | def __init__(self): function to_route_record (line 58) | def to_route_record(record_dict): function compute_route_length (line 66) | def compute_route_length(config): class StatisticsManager (line 82) | class StatisticsManager(object): method __init__ (line 89) | def __init__(self): method resume (line 93) | def resume(self, endpoint): method set_route (line 102) | def set_route(self, route_id, index): method set_scenario (line 115) | def set_scenario(self, scenario): method compute_route_statistics (line 121) | def compute_route_statistics(self, config, duration_time_system=-1, du... method compute_global_statistics (line 209) | def compute_global_statistics(self, total_routes): method save_record (line 243) | def save_record(route_record, index, endpoint): method save_global_record (line 261) | def save_global_record(route_record, sensors, total_routes, endpoint): method save_sensors (line 322) | def save_sensors(sensors, endpoint): method save_entry_status (line 333) | def save_entry_status(entry_status, eligible, endpoint): method clear_record (line 343) | def clear_record(endpoint): FILE: leaderboard/team_code/auto_pilot.py function get_entry_point (line 52) | def get_entry_point(): function _numpy (line 56) | def _numpy(carla_vector, normalize=False): function _location (line 65) | def _location(x, y, z): function _orientation (line 69) | def _orientation(yaw): function get_collision (line 73) | def get_collision(p1, v1, p2, v2): function check_episode_has_noise (line 86) | def check_episode_has_noise(lat_noise_percent, long_noise_percent): class AutoPilot (line 98) | class AutoPilot(MapAgent): method setup (line 105) | def setup(self, path_to_conf_file): method _init (line 108) | def _init(self): method _get_angle_to (line 119) | def _get_angle_to(self, pos, theta, target): method _get_control (line 131) | def _get_control(self, target, far_target, tick_data): method run_step (line 167) | def run_step(self, input_data, timestamp): method _should_brake (line 197) | def _should_brake(self): method _point_inside_boundingbox (line 212) | def _point_inside_boundingbox(self, point, bb_center, bb_extent): method _get_forward_speed (line 228) | def _get_forward_speed(self, transform=None, velocity=None): method _is_actor_affected_by_stop (line 242) | def _is_actor_affected_by_stop(self, actor, stop, multi_step=20): method _is_stop_sign_hazard (line 272) | def _is_stop_sign_hazard(self, stop_sign_list): method _is_light_red (line 307) | def _is_light_red(self, lights_list): method _is_walker_hazard (line 317) | def _is_walker_hazard(self, walkers_list): method _is_vehicle_hazard (line 339) | def _is_vehicle_hazard(self, vehicle_list): FILE: leaderboard/team_code/base_agent.py class BaseAgent (line 20) | class BaseAgent(autonomous_agent.AutonomousAgent): method setup (line 21) | def setup(self, path_to_conf_file): method _init (line 65) | def _init(self): method _get_position (line 77) | def _get_position(self, tick_data): method sensors (line 83) | def sensors(self): method tick (line 202) | def tick(self, input_data): method save (line 286) | def save(self, near_node, far_node, near_command, steer, throttle, bra... method _weather_to_dict (line 346) | def _weather_to_dict(self, carla_weather): method _create_bb_points (line 362) | def _create_bb_points(self, bb): method _translate_tl_state (line 380) | def _translate_tl_state(self, state): method _get_affordances (line 396) | def _get_affordances(self): method _get_3d_bbs (line 412) | def _get_3d_bbs(self, max_distance=50): method _get_2d_bbs (line 428) | def _get_2d_bbs(self, seg_cam, affordances, bb_3d, seg_img): method _draw_2d_bbs (line 493) | def _draw_2d_bbs(self, seg_img, bbs): method _find_obstacle_3dbb (line 524) | def _find_obstacle_3dbb(self, obstacle_type, max_distance=50): method _get_2d_bb_baseline (line 571) | def _get_2d_bb_baseline(self, obstacle, distance=2, cam='seg_front'): method _baseline_to_box (line 602) | def _baseline_to_box(self, baseline, cam, height=1): method _coords_to_2d_bb (line 620) | def _coords_to_2d_bb(self, cords): method _change_seg_stop (line 650) | def _change_seg_stop(self, seg_img, depth_img, stop_signs, cam, _regio... method _trig_to_world (line 701) | def _trig_to_world(self, bb, parent, trigger): method _create_2d_bb_points (line 719) | def _create_2d_bb_points(self, actor_bb, scale_factor=1): method _get_sensor_position (line 735) | def _get_sensor_position(self, cam): method _world_to_sensor (line 748) | def _world_to_sensor(self, cords, sensor, move_cords=False): method get_matrix (line 775) | def get_matrix(self, transform): method _change_seg_tl (line 803) | def _change_seg_tl(self, seg_img, depth_img, traffic_lights, _region_s... method _get_dist (line 830) | def _get_dist(self, p1, p2): method _get_distance (line 847) | def _get_distance(self, target): method _get_depth (line 866) | def _get_depth(self, data): method _find_obstacle (line 884) | def _find_obstacle(self, obstacle_type='*traffic_light*'): method _get_camera_to_car_calibration (line 924) | def _get_camera_to_car_calibration(self, sensor): FILE: leaderboard/team_code/map_agent.py class MapAgent (line 10) | class MapAgent(BaseAgent): method sensors (line 11) | def sensors(self): method set_global_plan (line 23) | def set_global_plan(self, global_plan_gps, global_plan_world_coord, wp... method _init (line 29) | def _init(self): method tick (line 40) | def tick(self, input_data): function get_nearby_lights (line 55) | def get_nearby_lights(vehicle, lights, pixels_per_meter=5.5, size=512, r... function draw_traffic_lights (line 96) | def draw_traffic_lights(image, vehicle, lights, pixels_per_meter=5.5, si... function draw_stop_signs (line 139) | def draw_stop_signs(image, vehicle, lights, pixels_per_meter=5.5, size=5... FILE: leaderboard/team_code/pid_controller.py class PIDController (line 6) | class PIDController(object): method __init__ (line 7) | def __init__(self, K_P=1.0, K_I=0.0, K_D=0.0, n=20): method step (line 16) | def step(self, error): FILE: leaderboard/team_code/planner.py class Plotter (line 10) | class Plotter(object): method __init__ (line 11) | def __init__(self, size): method clear (line 16) | def clear(self): method dot (line 22) | def dot(self, pos, node, color=(255, 255, 255), r=2): method show (line 29) | def show(self): class RoutePlanner (line 39) | class RoutePlanner(object): method __init__ (line 40) | def __init__(self, min_distance, max_distance, debug_size=256): method set_route (line 52) | def set_route(self, global_plan, gps=False, global_plan_world = None): method run_step (line 78) | def run_step(self, gps): FILE: leaderboard/team_code/roach_ap_agent_data_collection.py function array_to_bytes (line 30) | def array_to_bytes(x: np.ndarray) -> bytes: function bytes_to_array (line 35) | def bytes_to_array(b: bytes) -> np.ndarray: function np_encoder (line 43) | def np_encoder(object): function get_entry_point (line 52) | def get_entry_point(): function _numpy (line 55) | def _numpy(carla_vector, normalize=False): function _location (line 62) | def _location(x, y, z): function get_xyz (line 66) | def get_xyz(_): function _orientation (line 70) | def _orientation(yaw): function get_collision (line 74) | def get_collision(p1, v1, p2, v2): function get_nearby_object (line 85) | def get_nearby_object(vehicle_position, actor_list, radius): class ROACHAgent (line 94) | class ROACHAgent(autonomous_agent.AutonomousAgent): method setup (line 95) | def setup(self, path_to_conf_file, ckpt="roach/log/ckpt_11833344.pth"): method _init (line 164) | def _init(self): method _get_angle_to (line 193) | def _get_angle_to(self, pos, theta, target): method _truncate_global_route_till_local_target (line 204) | def _truncate_global_route_till_local_target(self, windows_size=5): method _get_position (line 221) | def _get_position(self, tick_data): method set_global_plan (line 226) | def set_global_plan(self, global_plan_gps, global_plan_world_coord, wp... method sensors (line 237) | def sensors(self): method tick (line 350) | def tick(self, input_data, timestamp): method im_render (line 431) | def im_render(self, render_dict): method run_step (line 447) | def run_step(self, input_data, timestamp): method collision_detect (line 511) | def collision_detect(self): method _is_walker_hazard (line 519) | def _is_walker_hazard(self, walkers_list): method _is_vehicle_hazard (line 536) | def _is_vehicle_hazard(self, vehicle_list): method save (line 571) | def save(self, near_node, far_node, near_command, far_command, tick_da... method get_target_gps (line 645) | def get_target_gps(self, gps, compass): method process_act (line 683) | def process_act(self, action): method _weather_to_dict (line 699) | def _weather_to_dict(self, carla_weather): method _get_forward_speed (line 714) | def _get_forward_speed(self, transform=None, velocity=None): method get_points_in_bbox (line 727) | def get_points_in_bbox(self, ego_mat, vec_inv_mat, dx, lidar): method _get_3d_bbs (line 738) | def _get_3d_bbs(self, lidar=None, max_distance=50): method _find_obstacle_3dbb (line 825) | def _find_obstacle_3dbb(self, obstacle_type, max_distance=50): method get_matrix (line 872) | def get_matrix(self, transform): FILE: leaderboard/team_code/thinktwice_agent.py function get_entry_point (line 39) | def get_entry_point(): class GlobalConfig (line 42) | class GlobalConfig: method __init__ (line 43) | def __init__(self, init_dic): function obtain_transform_matrix (line 47) | def obtain_transform_matrix(x, y, yaw): function InverseRotateVector (line 62) | def InverseRotateVector(x, y, yaw): function obtain_inv_transform_matrix (line 74) | def obtain_inv_transform_matrix(x, y, yaw): class EgoModel (line 92) | class EgoModel(): method __init__ (line 93) | def __init__(self, dt=1./4): method forward (line 104) | def forward(self, locs, yaws, spds, acts): class ThinkTwiceAgent (line 132) | class ThinkTwiceAgent(autonomous_agent.AutonomousAgent): method setup (line 133) | def setup(self, path_to_conf_file): method _init (line 219) | def _init(self): method _get_position (line 226) | def _get_position(self, tick_data): method sensors (line 231) | def sensors(self): method tick (line 294) | def tick(self, input_data): method offset_then_rotate (line 360) | def offset_then_rotate(self, target_2d_world_coor, ref_2d_wolrd_coor, ... method run_step (line 369) | def run_step(self, input_data, timestamp): method save (line 531) | def save(self, tick_data): method destroy (line 543) | def destroy(self): method update_gps_buffer (line 547) | def update_gps_buffer(self, control, theta, speed): FILE: leaderboard/team_code/thinktwice_agent_old.py function get_entry_point (line 39) | def get_entry_point(): class GlobalConfig (line 42) | class GlobalConfig: method __init__ (line 43) | def __init__(self, init_dic): function obtain_transform_matrix (line 47) | def obtain_transform_matrix(x, y, yaw): function InverseRotateVector (line 62) | def InverseRotateVector(x, y, yaw): function obtain_inv_transform_matrix (line 74) | def obtain_inv_transform_matrix(x, y, yaw): class EgoModel (line 92) | class EgoModel(): method __init__ (line 93) | def __init__(self, dt=1./4): method forward (line 104) | def forward(self, locs, yaws, spds, acts): class ThinkTwiceAgent (line 132) | class ThinkTwiceAgent(autonomous_agent.AutonomousAgent): method setup (line 133) | def setup(self, path_to_conf_file): method _init (line 219) | def _init(self): method _get_position (line 226) | def _get_position(self, tick_data): method sensors (line 231) | def sensors(self): method tick (line 294) | def tick(self, input_data): method offset_then_rotate (line 360) | def offset_then_rotate(self, target_2d_world_coor, ref_2d_wolrd_coor, ... method run_step (line 369) | def run_step(self, input_data, timestamp): method save (line 528) | def save(self, tick_data): method destroy (line 540) | def destroy(self): method update_gps_buffer (line 544) | def update_gps_buffer(self, control, theta, speed): FILE: open_loop_training/code/apis/mmdet_train.py function custom_train_detector (line 28) | def custom_train_detector(model, FILE: open_loop_training/code/apis/train.py function custom_train_model (line 11) | def custom_train_model(model, function train_model (line 38) | def train_model(model, FILE: open_loop_training/code/core/evaluation/epoch_hook.py class MySetEpochInfoHook (line 6) | class MySetEpochInfoHook(Hook): method before_train_epoch (line 8) | def before_train_epoch(self, runner): FILE: open_loop_training/code/core/evaluation/eval_hooks.py function _calc_dynamic_intervals (line 18) | def _calc_dynamic_intervals(start_interval, dynamic_interval_list): class CustomEvalHook (line 30) | class CustomEvalHook(BaseEvalHook): method __init__ (line 31) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 38) | def _decide_interval(self, runner): method before_train_epoch (line 45) | def before_train_epoch(self, runner): method before_train_iter (line 50) | def before_train_iter(self, runner): method _do_evaluate (line 54) | def _do_evaluate(self, runner): class CustomDistEvalHook (line 91) | class CustomDistEvalHook(BaseDistEvalHook): method __init__ (line 93) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 100) | def _decide_interval(self, runner): method before_train_epoch (line 107) | def before_train_epoch(self, runner): method before_train_iter (line 112) | def before_train_iter(self, runner): method _do_evaluate (line 116) | def _do_evaluate(self, runner): FILE: open_loop_training/code/core/evaluation/eval_tool.py function custom_encode_mask_results (line 51) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 71) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 119) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 165) | def collect_results_gpu(result_part, size): FILE: open_loop_training/code/datasets/base_dataset.py function expanduser (line 16) | def expanduser(path): class BaseDataset (line 23) | class BaseDataset(Dataset): method __init__ (line 37) | def __init__(self, method load_annotations (line 50) | def load_annotations(self): method pre_pipeline (line 54) | def pre_pipeline(self, results): method __len__ (line 60) | def __len__(self): method __getitem__ (line 63) | def __getitem__(self, idx): method evaluate (line 69) | def evaluate(self, FILE: open_loop_training/code/datasets/builder.py function build_dataloader (line 19) | def build_dataloader(dataset, function worker_init_fn (line 97) | def worker_init_fn(worker_id, num_workers, rank, seed): function custom_build_dataset (line 124) | def custom_build_dataset(cfg, default_args=None): FILE: open_loop_training/code/datasets/carla_dataset.py class CarlaDataset (line 25) | class CarlaDataset(BaseDataset): method __init__ (line 28) | def __init__(self, method load_json (line 92) | def load_json(self, fname): method load_npy (line 99) | def load_npy(self, fname): method offset_then_rotate (line 106) | def offset_then_rotate(self, target_2d_world_coor, ref_2d_wolrd_coor, ... method get_data_info (line 115) | def get_data_info(self, data_folder, route_index, is_current): method prepare_train_data (line 205) | def prepare_train_data(self, index): method __getitem__ (line 228) | def __getitem__(self, idx): method _rand_another (line 236) | def _rand_another(self, idx): method prepare_test_data (line 245) | def prepare_test_data(self, index): function get_ego_shift (line 252) | def get_ego_shift(delta_x, delta_y, ego_angle): function union2one (line 263) | def union2one(full_queue_pipeline, queue): FILE: open_loop_training/code/datasets/pipelines/formating.py class CarlaFormatBundle (line 15) | class CarlaFormatBundle(object): method __init__ (line 16) | def __init__(self, ): method __call__ (line 18) | def __call__(self, results): method __repr__ (line 28) | def __repr__(self): class CarlaCollect (line 34) | class CarlaCollect(object): method __init__ (line 35) | def __init__(self, method __call__ (line 47) | def __call__(self, results): method __repr__ (line 70) | def __repr__(self): FILE: open_loop_training/code/datasets/pipelines/loading.py class LoadMultiImages (line 27) | class LoadMultiImages(object): method __init__ (line 28) | def __init__(self, method load_img (line 40) | def load_img(self, filename): method __call__ (line 45) | def __call__(self, results): method __repr__ (line 50) | def __repr__(self): class LoadPoints (line 58) | class LoadPoints(LoadPointsFromFile): method __init__ (line 59) | def __init__(self, method _load_points (line 69) | def _load_points(self, pts_filename): class LoadDepth (line 77) | class LoadDepth(LoadMultiImages): method __init__ (line 78) | def __init__(self, method __call__ (line 84) | def __call__(self, results): function red_green_yellow (line 96) | def red_green_yellow(rgb_image): class LoadSeg (line 117) | class LoadSeg(LoadMultiImages): method __init__ (line 118) | def __init__(self, method load_img (line 127) | def load_img(self, filename): method __call__ (line 132) | def __call__(self, results): FILE: open_loop_training/code/datasets/pipelines/transform.py class InitMultiImage (line 66) | class InitMultiImage(object): method __init__ (line 71) | def __init__(self, cfg): method __call__ (line 95) | def __call__(self, queue): method __repr__ (line 134) | def __repr__(self): class ImageTransformMulti (line 142) | class ImageTransformMulti(object): method __init__ (line 143) | def __init__(self, aug, batch_size): method __call__ (line 149) | def __call__(self, queue): method __repr__ (line 166) | def __repr__(self): function augmenter (line 171) | def augmenter(image_iteration): class IDAImageTransform (line 222) | class IDAImageTransform(object): method __init__ (line 223) | def __init__(self, cfg, ida_aug_conf, is_train=False): method sample_ida_augmentation (line 248) | def sample_ida_augmentation(self): method __call__ (line 275) | def __call__(self, queue): function img_transform (line 346) | def img_transform(img, resize, resize_dims, crop, flip, rotate=0): function get_rot (line 380) | def get_rot(h): function depth_transform (line 386) | def depth_transform(depth, resize_dims, crop, flip): FILE: open_loop_training/code/datasets/samplers/distributed_sampler.py class DistributedSampler (line 9) | class DistributedSampler(_DistributedSampler): method __init__ (line 11) | def __init__(self, method __iter__ (line 22) | def __iter__(self): FILE: open_loop_training/code/datasets/samplers/group_sampler.py class DistributedGroupSampler (line 14) | class DistributedGroupSampler(Sampler): method __init__ (line 32) | def __init__(self, method __iter__ (line 61) | def __iter__(self): method __len__ (line 101) | def __len__(self): method set_epoch (line 104) | def set_epoch(self, epoch): FILE: open_loop_training/code/datasets/samplers/sampler.py function build_sampler (line 6) | def build_sampler(cfg, default_args): FILE: open_loop_training/code/encoder_decoder_framework.py class EncoderDecoder (line 24) | class EncoderDecoder(BaseModule): method __init__ (line 25) | def __init__(self, method set_epoch (line 77) | def set_epoch(self, epoch): method build_fusion_and_flatten_network_for_BEV (line 81) | def build_fusion_and_flatten_network_for_BEV(self): method train_step (line 140) | def train_step(self, data, optimizer): method forward_train (line 148) | def forward_train(self, batch): method forward_inference (line 194) | def forward_inference(self, batch): method get_fusion_feat (line 213) | def get_fusion_feat(self, cam_feat, lidar_feat,): method extract_sensor_feat (line 238) | def extract_sensor_feat(self, img, state, img_metas, points, is_train=... method plot (line 252) | def plot(self, cam_feats, fusion_feats, img_metas): method process_action (line 268) | def process_action(self, pred, command, speed, target_point): method _get_action_beta (line 291) | def _get_action_beta(self, alpha, beta): method control_pid (line 309) | def control_pid(self, waypoints, velocity, target, stuck_desired_speed... method forward (line 393) | def forward(self, is_eval=True, **kwargs): method _parse_losses (line 410) | def _parse_losses(self, losses): method get_downsampled_gt_depth (line 443) | def get_downsampled_gt_depth(self, gt_depths, min_pooling=True): method get_downsampled_gt_seg (line 485) | def get_downsampled_gt_seg(self, gt_seg): FILE: open_loop_training/code/model_code/backbones/lidarnet.py class SparseEncoder_fp32 (line 25) | class SparseEncoder_fp32(SparseEncoder): method forward (line 28) | def forward(self, voxel_features, coors, batch_size): class LidarNet (line 62) | class LidarNet(MVXTwoStageDetector): method __init__ (line 63) | def __init__(self, method forward (line 87) | def forward(self, pts): FILE: open_loop_training/code/model_code/backbones/lss.py class _ASPPModule (line 20) | class _ASPPModule(nn.Module): method __init__ (line 21) | def __init__(self, inplanes, planes, kernel_size, padding, dilation, method forward (line 35) | def forward(self, x): method _init_weight (line 40) | def _init_weight(self): class ASPP (line 49) | class ASPP(nn.Module): method __init__ (line 50) | def __init__(self, inplanes, mid_channels=256, BatchNorm=nn.BatchNorm2d): method forward (line 94) | def forward(self, x): method _init_weight (line 112) | def _init_weight(self): class Mlp (line 121) | class Mlp(nn.Module): method __init__ (line 122) | def __init__(self, method forward (line 137) | def forward(self, x): class SELayer (line 146) | class SELayer(nn.Module): method __init__ (line 147) | def __init__(self, channels, act_layer=nn.ReLU, gate_layer=nn.Sigmoid): method forward (line 154) | def forward(self, x, x_se): class DepthNet (line 161) | class DepthNet(nn.Module): method __init__ (line 162) | def __init__(self, in_channels, mid_channels, context_channels, method forward (line 205) | def forward(self, x, mats_dict): # mats_dict B x T x N class UnetLayer (line 243) | class UnetLayer(nn.Module): method __init__ (line 244) | def __init__(self, in_channels, middle_channels, out_channels): method forward (line 254) | def forward(self, x1, x2): class UNet (line 260) | class UNet(nn.Module): method __init__ (line 261) | def __init__(self, n_class, fpn_in_channels): method forward (line 275) | def forward(self, input): class PAFPN_fp32 (line 287) | class PAFPN_fp32(PAFPN): method forward (line 289) | def forward(self, inputs): class LSS (line 352) | class LSS(BaseModule): method __init__ (line 353) | def __init__(self, x_bound, y_bound, z_bound, d_bound, final_dim, method _configure_depth_net (line 443) | def _configure_depth_net(self, depth_net_conf): method _configure_seg_net (line 451) | def _configure_seg_net(self, seg_net_conf, fpn_in_channels): method create_frustum (line 454) | def create_frustum(self): method get_geometry (line 474) | def get_geometry(self, sensor2ego_mat, intrin_mat, ida_mat, bda_mat): method get_cam_feats (line 515) | def get_cam_feats(self, imgs): method neck_conv_fp32 (line 530) | def neck_conv_fp32(self, input): method _forward_depth_net (line 534) | def _forward_depth_net(self, feat, mats_dict): method _forward_voxel_net (line 538) | def _forward_voxel_net(self, img_feat_with_depth): method _forward_single_sweep (line 542) | def _forward_single_sweep(self, method seg_res_to_image_feature_forward (line 625) | def seg_res_to_image_feature_forward(self, input): method voxel_pooling_method (line 629) | def voxel_pooling_method(self, geom_xyz, img_feat_with_depth, voxel_num): method forward (line 635) | def forward(self, FILE: open_loop_training/code/model_code/dense_heads/multi_scale_deformable_attn_function.py function inverse_sigmoid (line 28) | def inverse_sigmoid(x, eps=1e-5): class MultiScaleDeformableAttnFunction_fp16 (line 45) | class MultiScaleDeformableAttnFunction_fp16(Function): method forward (line 49) | def forward(ctx, value, value_spatial_shapes, value_level_start_index, method backward (line 87) | def backward(ctx, grad_output): class MultiScaleDeformableAttnFunction_fp32 (line 120) | class MultiScaleDeformableAttnFunction_fp32(Function): method forward (line 124) | def forward(ctx, value, value_spatial_shapes, value_level_start_index, method backward (line 163) | def backward(ctx, grad_output): class PositionwiseFeedForward (line 197) | class PositionwiseFeedForward(nn.Module): method __init__ (line 199) | def __init__(self, d_in, d_hid, dropout=0.0): method forward (line 210) | def forward(self, x): class SpatialCrossAttention (line 216) | class SpatialCrossAttention(BaseModule): method __init__ (line 229) | def __init__(self, method init_weight (line 270) | def init_weight(self): method forward (line 279) | def forward(self, class MSDeformableAttention3D (line 346) | class MSDeformableAttention3D(BaseModule): method __init__ (line 371) | def __init__(self, method init_weights (line 403) | def init_weights(self): method forward (line 423) | def forward(self, FILE: open_loop_training/code/model_code/dense_heads/thinktwice_decoder.py function inv_softplus (line 22) | def inv_softplus(x): class PredictionModule (line 26) | class PredictionModule(nn.Module): method __init__ (line 27) | def __init__(self, act): method forward (line 41) | def forward(self, current_BEV_feature, current_wp, current_ctrl, futur... class LookModule (line 51) | class LookModule(nn.Module): method __init__ (line 52) | def __init__(self, act): method obtain_lidar_look_features (line 79) | def obtain_lidar_look_features(self, wp, lidar_grid): method obtain_cam_ref_points_query (line 88) | def obtain_cam_ref_points_query(self, reference_points, transform_mat,... method forward (line 154) | def forward(self, current_wp, current_ctrl_softplus, measurement_feat,... class ThinkTwiceDecoderLayer (line 189) | class ThinkTwiceDecoderLayer(nn.Module): method __init__ (line 190) | def __init__(self, act): method forward (line 236) | def forward(self, BEV_feat, current_wp, current_ctrl, future_bev_feat_... class ThinkTwiceDecoder (line 263) | class ThinkTwiceDecoder(BaseModule): method __init__ (line 264) | def __init__(self, method build_layers (line 292) | def build_layers(self): method build_coarse_output_layer (line 298) | def build_coarse_output_layer(self): method build_refine_layers (line 363) | def build_refine_layers(self): method transform_fpn_feats (line 381) | def transform_fpn_feats(self, mlvl_feats): method grid2feat (line 405) | def grid2feat(self, grid_feat, parent_module): method forward (line 419) | def forward(self, flattend_BEV_feat, BEV_feat, measurement_feat, targe... method loss (line 536) | def loss(self, method _get_action_beta (line 623) | def _get_action_beta(self, alpha, beta): FILE: open_loop_training/code/model_code/dense_heads/utils.py function sigmoid_focal_loss (line 6) | def sigmoid_focal_loss( function init_weights (line 26) | def init_weights(m): class SpatialGRU (line 53) | class SpatialGRU(nn.Module): method __init__ (line 56) | def __init__(self, input_size, hidden_size, act, gru_bias_init=0.0): method forward (line 82) | def forward(self, x, state=None): method gru_cell (line 95) | def gru_cell(self, x, state): FILE: open_loop_training/code/utils.py class PIDController (line 7) | class PIDController(object): method __init__ (line 8) | def __init__(self, K_P=1.0, K_I=0.0, K_D=0.0, n=20): method step (line 17) | def step(self, error): class FocalLoss (line 31) | class FocalLoss(nn.Module): method __init__ (line 32) | def __init__(self, alpha=0.5, gamma=2, weight=None, ignore_index=255): method forward (line 43) | def forward(self, preds, labels): function set_dropout_zero (line 49) | def set_dropout_zero(m): function init_weights (line 59) | def init_weights(m): class SEModule (line 84) | class SEModule(nn.Module): method __init__ (line 85) | def __init__(self, channels, act): method forward (line 90) | def forward(self, x): class SEBasicBlock (line 99) | class SEBasicBlock(nn.Module): method __init__ (line 100) | def __init__(self, inplanes, act): method forward (line 110) | def forward(self, x): FILE: open_loop_training/ops/voxel_pooling/src/voxel_pooling_forward.cpp function voxel_pooling_forward_wrapper (line 24) | int voxel_pooling_forward_wrapper(int batch_size, int num_points, int nu... function PYBIND11_MODULE (line 39) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: open_loop_training/ops/voxel_pooling/voxel_pooling.py class VoxelPooling (line 8) | class VoxelPooling(Function): method forward (line 10) | def forward(ctx, geom_xyz: torch.Tensor, input_features: torch.Tensor, method backward (line 58) | def backward(ctx, grad_output_features): FILE: open_loop_training/setup.py function make_cuda_ext (line 7) | def make_cuda_ext(name, FILE: open_loop_training/train.py function str2bool (line 32) | def str2bool(v): function parse_args (line 43) | def parse_args(): function main (line 114) | def main(): FILE: roach/criteria/blocked.py class Blocked (line 4) | class Blocked(): method __init__ (line 6) | def __init__(self, speed_threshold=0.1, below_threshold_max_time=90.0): method tick (line 11) | def tick(self, vehicle, timestamp): method _calculate_speed (line 29) | def _calculate_speed(carla_velocity): FILE: roach/criteria/collision.py class Collision (line 6) | class Collision(): method __init__ (line 7) | def __init__(self, vehicle, carla_world, intensity_threshold=0.0, method tick (line 27) | def tick(self, vehicle, timestamp): method _on_collision (line 50) | def _on_collision(weakself, event): method clean (line 114) | def clean(self): FILE: roach/criteria/encounter_light.py class EncounterLight (line 4) | class EncounterLight(): method __init__ (line 6) | def __init__(self, dist_threshold=7.5): method tick (line 10) | def tick(self, vehicle, timestamp): FILE: roach/criteria/outside_route_lane.py class OutsideRouteLane (line 5) | class OutsideRouteLane(): method __init__ (line 7) | def __init__(self, carla_map, vehicle_loc, method tick (line 21) | def tick(self, vehicle, timestamp, distance_traveled): method _is_outside_driving_lanes (line 39) | def _is_outside_driving_lanes(self, location): method _is_at_wrong_lane (line 62) | def _is_at_wrong_lane(self, location, yaw): FILE: roach/criteria/route_deviation.py class RouteDeviation (line 1) | class RouteDeviation(): method __init__ (line 3) | def __init__(self, offroad_min=15, offroad_max=30, max_route_percentag... method tick (line 9) | def tick(self, vehicle, timestamp, ref_waypoint, distance_traveled, ro... FILE: roach/criteria/run_red_light.py class RunRedLight (line 6) | class RunRedLight(): method __init__ (line 8) | def __init__(self, carla_map, distance_light=30): method tick (line 13) | def tick(self, vehicle, timestamp): method _is_vehicle_crossing_line (line 57) | def _is_vehicle_crossing_line(seg1, seg2): FILE: roach/criteria/run_stop_sign.py class RunStopSign (line 5) | class RunStopSign(): method __init__ (line 7) | def __init__(self, carla_world, proximity_threshold=50.0, speed_thresh... method tick (line 23) | def tick(self, vehicle, timestamp): method _scan_for_stop_sign (line 75) | def _scan_for_stop_sign(self, vehicle_transform): method is_affected_by_stop (line 94) | def is_affected_by_stop(self, vehicle_loc, stop, multi_step=20): method _calculate_speed (line 127) | def _calculate_speed(carla_velocity): method point_inside_boundingbox (line 131) | def point_inside_boundingbox(point, bb_center, bb_extent): FILE: roach/models/distributions.py function sum_independent_dims (line 9) | def sum_independent_dims(tensor: th.Tensor) -> th.Tensor: class DiagGaussianDistribution (line 17) | class DiagGaussianDistribution(): method __init__ (line 18) | def __init__(self, action_dim: int, dist_init=None, action_dependent_s... method proba_distribution_net (line 44) | def proba_distribution_net(self, latent_dim: int) -> Tuple[nn.Module, ... method proba_distribution (line 66) | def proba_distribution(self, mean_actions: th.Tensor, log_std: th.Tens... method log_prob (line 73) | def log_prob(self, actions: th.Tensor) -> th.Tensor: method entropy_loss (line 77) | def entropy_loss(self) -> th.Tensor: method exploration_loss (line 81) | def exploration_loss(self, exploration_suggests) -> th.Tensor: method sample (line 100) | def sample(self) -> th.Tensor: method mode (line 103) | def mode(self) -> th.Tensor: method get_actions (line 106) | def get_actions(self, deterministic: bool = False) -> th.Tensor: class SquashedDiagGaussianDistribution (line 112) | class SquashedDiagGaussianDistribution(): method __init__ (line 113) | def __init__(self, action_dim: int, log_std_init: float = 0.0, action_... method proba_distribution_net (line 128) | def proba_distribution_net(self, latent_dim: int): method proba_distribution (line 136) | def proba_distribution(self, mean_actions: th.Tensor, log_std: th.Tens... method log_prob (line 143) | def log_prob(self, actions: th.Tensor, gaussian_actions: Optional[th.T... method entropy (line 159) | def entropy(self) -> Optional[th.Tensor]: method sample (line 162) | def sample(self) -> th.Tensor: method mode (line 165) | def mode(self) -> th.Tensor: method get_actions (line 168) | def get_actions(self, deterministic: bool = False) -> th.Tensor: class BetaDistribution (line 174) | class BetaDistribution(): method __init__ (line 175) | def __init__(self, action_dim=2, dist_init=None): method proba_distribution_net (line 201) | def proba_distribution_net(self, latent_dim: int) -> Tuple[nn.Module, ... method proba_distribution (line 220) | def proba_distribution(self, alpha, beta): method log_prob (line 224) | def log_prob(self, actions: th.Tensor) -> th.Tensor: method entropy_loss (line 228) | def entropy_loss(self) -> th.Tensor: method exploration_loss (line 232) | def exploration_loss(self, exploration_suggests) -> th.Tensor: method sample (line 251) | def sample(self) -> th.Tensor: method mode (line 255) | def mode(self) -> th.Tensor: method get_actions (line 275) | def get_actions(self, deterministic: bool = False) -> th.Tensor: FILE: roach/models/ppo.py class PPO (line 14) | class PPO(): method __init__ (line 15) | def __init__(self, policy, env, method collect_rollouts (line 66) | def collect_rollouts(self, env: VecEnv, callback: BaseCallback, method train (line 103) | def train(self): method learn (line 212) | def learn(self, total_timesteps, callback=None, seed=2021): method _get_init_kwargs (line 249) | def _get_init_kwargs(self): method save (line 270) | def save(self, path: str) -> None: method get_env (line 276) | def get_env(self): FILE: roach/models/ppo_buffer.py class PpoBufferSamples (line 23) | class PpoBufferSamples(NamedTuple): class PpoBuffer (line 35) | class PpoBuffer(): method __init__ (line 36) | def __init__(self, buffer_size: int, observation_space: spaces.Space, ... method reset (line 56) | def reset(self) -> None: method compute_returns_and_advantage (line 78) | def compute_returns_and_advantage(self, last_value: th.Tensor, dones: ... method add (line 98) | def add(self, method update_values (line 133) | def update_values(self, policy): method get (line 141) | def get(self, batch_size: Optional[int] = None) -> Generator[PpoBuffer... method _get_samples (line 166) | def _get_samples(self, batch_inds: np.ndarray) -> PpoBufferSamples: method flatten (line 188) | def flatten(arr: np.ndarray) -> np.ndarray: method render (line 195) | def render(self): method start_caching (line 243) | def start_caching(self, batch_size): method cache_to_cuda (line 247) | def cache_to_cuda(self, batch_size): method size (line 255) | def size(self) -> int: FILE: roach/models/ppo_policy.py class PpoPolicy (line 11) | class PpoPolicy(nn.Module): method __init__ (line 13) | def __init__(self, method reset_noise (line 62) | def reset_noise(self, n_envs: int = 1) -> None: method _build (line 66) | def _build(self) -> None: method _get_features (line 102) | def _get_features(self, birdview: th.Tensor, state: th.Tensor) -> th.T... method _get_action_dist_from_features (line 111) | def _get_action_dist_from_features(self, features: th.Tensor): method evaluate_actions (line 120) | def evaluate_actions(self, obs_dict: Dict[str, th.Tensor], actions: th... method evaluate_values (line 136) | def evaluate_values(self, obs_dict: Dict[str, th.Tensor]): method forward (line 142) | def forward(self, obs_dict: Dict[str, np.ndarray], deterministic: bool... method forward_value (line 167) | def forward_value(self, obs_dict: Dict[str, np.ndarray]) -> np.ndarray: method forward_policy (line 175) | def forward_policy(self, obs_dict: Dict[str, np.ndarray]) -> np.ndarray: method scale_action (line 182) | def scale_action(self, action: th.Tensor, eps=1e-7) -> th.Tensor: method unscale_action (line 194) | def unscale_action(self, action: np.ndarray, eps=0.0) -> np.ndarray: method get_init_kwargs (line 208) | def get_init_kwargs(self) -> Dict[str, Any]: method load (line 222) | def load(cls, path): method init_weights (line 243) | def init_weights(module: nn.Module, gain: float = 1) -> None: FILE: roach/models/torch_layers.py class XtMaCNN (line 10) | class XtMaCNN(nn.Module): method __init__ (line 15) | def __init__(self, observation_space, features_dim=256, states_neurons... method _weights_init (line 69) | def _weights_init(m): method forward (line 74) | def forward(self, birdview, state): class ImpalaCNN (line 92) | class ImpalaCNN(nn.Module): method __init__ (line 93) | def __init__(self, observation_space, chans=(16, 32, 32, 64, 64), stat... method forward (line 121) | def forward(self, birdview, state): FILE: roach/models/torch_util.py function NormedLinear (line 7) | def NormedLinear(*args, scale=1.0, dtype=th.float32, **kwargs): function NormedConv2d (line 18) | def NormedConv2d(*args, scale=1, **kwargs): function intprod (line 29) | def intprod(xs): class CnnBasicBlock (line 39) | class CnnBasicBlock(nn.Module): method __init__ (line 45) | def __init__(self, inchan, scale=1, batch_norm=False): method residual (line 56) | def residual(self, x): method forward (line 70) | def forward(self, x): class CnnDownStack (line 74) | class CnnDownStack(nn.Module): method __init__ (line 79) | def __init__(self, inchan, nblock, outchan, scale=1, pool=True, **kwar... method forward (line 90) | def forward(self, x): method output_shape (line 98) | def output_shape(self, inshape): FILE: roach/obs_manager/actor_state/control.py class ObsManager (line 7) | class ObsManager(): method __init__ (line 9) | def __init__(self, obs_configs): method attach_ego_vehicle (line 11) | def attach_ego_vehicle(self, parent_actor): method get_observation (line 14) | def get_observation(self): method clean (line 26) | def clean(self): FILE: roach/obs_manager/actor_state/route.py class ObsManager (line 8) | class ObsManager(ObsManagerBase): method __init__ (line 10) | def __init__(self, obs_configs): method _define_obs_space (line 15) | def _define_obs_space(self): method attach_ego_vehicle (line 23) | def attach_ego_vehicle(self, parent_actor): method get_observation (line 26) | def get_observation(self): method clean (line 70) | def clean(self): FILE: roach/obs_manager/actor_state/speed.py class ObsManager (line 7) | class ObsManager(ObsManagerBase): method __init__ (line 12) | def __init__(self, obs_configs): method _define_obs_space (line 16) | def _define_obs_space(self): method attach_ego_vehicle (line 23) | def attach_ego_vehicle(self, parent_actor): method get_observation (line 26) | def get_observation(self): method clean (line 45) | def clean(self): FILE: roach/obs_manager/actor_state/velocity.py class ObsManager (line 8) | class ObsManager(ObsManagerBase): method __init__ (line 10) | def __init__(self, obs_configs): method _define_obs_space (line 13) | def _define_obs_space(self): method attach_ego_vehicle (line 23) | def attach_ego_vehicle(self, parent_actor): method get_observation (line 26) | def get_observation(self): method clean (line 42) | def clean(self): FILE: roach/obs_manager/birdview/chauffeurnet.py function tint (line 27) | def tint(color, factor): class ObsManager (line 38) | class ObsManager(): method __init__ (line 39) | def __init__(self, obs_configs, criteria_stop=None): method attach_ego_vehicle (line 60) | def attach_ego_vehicle(self, ego_vehicle): method _get_stops (line 76) | def _get_stops(criteria_stop): method get_observation (line 88) | def get_observation(self, route_plan): method _get_history_masks (line 195) | def _get_history_masks(self, M_warp): method _get_mask_from_stopline_vtx (line 212) | def _get_mask_from_stopline_vtx(self, stopline_vtx, M_warp): method _get_mask_from_actor_list (line 221) | def _get_mask_from_actor_list(self, actor_list, M_warp): method _get_surrounding_actors (line 240) | def _get_surrounding_actors(bbox_list, criterium, scale=None): method _get_warp_transform (line 255) | def _get_warp_transform(self, ev_loc, ev_rot): method _world_to_pixel (line 272) | def _world_to_pixel(self, location, projective=False): method _world_to_pixel_width (line 283) | def _world_to_pixel_width(self, width): method clean (line 287) | def clean(self): FILE: roach/obs_manager/birdview/hdmap_generate.py function tint (line 24) | def tint(color, factor): FILE: roach/rl_birdview_agent.py class RlBirdviewAgent (line 9) | class RlBirdviewAgent(): method __init__ (line 10) | def __init__(self, path_to_conf_file='config_agent.yaml', ckpt = None): method setup (line 17) | def setup(self, path_to_conf_file): method run_step (line 36) | def run_step(self, input_data, timestamp): method obs_configs (line 57) | def obs_configs(self): FILE: roach/utils/config_utils.py function check_h5_maps (line 12) | def check_h5_maps(env_configs, obs_configs, carla_sh_path): function load_entry_point (line 51) | def load_entry_point(name): function load_obs_configs (line 58) | def load_obs_configs(agent_configs_dict): function init_agents (line 65) | def init_agents(agent_configs_dict, **kwargs): function parse_routes_file (line 73) | def parse_routes_file(routes_xml_filename): function get_single_route (line 105) | def get_single_route(routes_xml_filename, route_id): function to_camel_case (line 131) | def to_camel_case(snake_str, init_capital=False): function get_free_tcp_port (line 141) | def get_free_tcp_port(): FILE: roach/utils/expert_noiser.py class ExpertNoiser (line 5) | class ExpertNoiser(object): method __init__ (line 10) | def __init__(self, noise_type, frequency=15, intensity=10, min_noise_t... method set_noise (line 26) | def set_noise(self): method get_noise (line 37) | def get_noise(self): method get_noise_removing (line 51) | def get_noise_removing(self): method is_time_for_noise (line 63) | def is_time_for_noise(self, steer): method set_noise_exist (line 107) | def set_noise_exist(self, noise_exist): method compute_noise (line 110) | def compute_noise(self, action, speed): FILE: roach/utils/rl_birdview_wrapper.py class RlBirdviewWrapper (line 23) | class RlBirdviewWrapper(gym.Wrapper): method __init__ (line 24) | def __init__(self, env, input_states=[], acc_as_action=False): method step (line 66) | def step(self, action): method process_obs (line 90) | def process_obs(obs, input_states, train=True): method process_act (line 124) | def process_act(action, acc_as_action, train=True): FILE: roach/utils/traffic_light.py function _get_traffic_light_waypoints (line 7) | def _get_traffic_light_waypoints(traffic_light, carla_map): class TrafficLightHandler (line 79) | class TrafficLightHandler: method reset (line 89) | def reset(world): method get_light_state (line 114) | def get_light_state(vehicle, offset=0.0, dist_threshold=15.0): method get_junctoin_paths (line 159) | def get_junctoin_paths(veh_loc, color=0, dist_threshold=50.0): method get_stopline_vtx (line 181) | def get_stopline_vtx(veh_loc, color, dist_threshold=50.0): FILE: roach/utils/transforms.py function loc_global_to_ref (line 5) | def loc_global_to_ref(target_loc_in_global, ref_trans_in_global): function vec_global_to_ref (line 21) | def vec_global_to_ref(target_vec_in_global, ref_rot_in_global): function rot_global_to_ref (line 36) | def rot_global_to_ref(target_rot_in_global, ref_rot_in_global): function rot_ref_to_global (line 44) | def rot_ref_to_global(target_rot_in_ref, ref_rot_in_global): function carla_rot_to_mat (line 53) | def carla_rot_to_mat(carla_rotation): function get_loc_rot_vel_in_ev (line 83) | def get_loc_rot_vel_in_ev(actor_list, ev_transform, get_acceleration = F... function get_loc_rot_in_global (line 117) | def get_loc_rot_in_global(actor_list): function cast_angle (line 126) | def cast_angle(x): FILE: roach/utils/wandb_callback.py class WandbCallback (line 10) | class WandbCallback(BaseCallback): method __init__ (line 11) | def __init__(self, cfg, vec_env): method _init_callback (line 33) | def _init_callback(self): method _on_step (line 38) | def _on_step(self) -> bool: method _on_training_start (line 41) | def _on_training_start(self) -> None: method _on_rollout_start (line 44) | def _on_rollout_start(self): method _on_training_end (line 48) | def _on_training_end(self) -> None: method _on_rollout_end (line 99) | def _on_rollout_end(self): method evaluate_policy (line 139) | def evaluate_policy(env, policy, video_path, min_eval_steps=3000): method get_avg_ep_stat (line 195) | def get_avg_ep_stat(ep_stat_buffer, prefix=''): FILE: scenario_runner/manual_control.py function get_actor_display_name (line 72) | def get_actor_display_name(actor, truncate=250): class WorldSR (line 81) | class WorldSR(World): method restart (line 85) | def restart(self): method tick (line 122) | def tick(self, clock): function game_loop (line 133) | def game_loop(args): function main (line 176) | def main(): FILE: scenario_runner/metrics_manager.py class MetricsManager (line 31) | class MetricsManager(object): method __init__ (line 37) | def __init__(self, args): method _get_recorder (line 60) | def _get_recorder(self, log): method _get_criteria (line 81) | def _get_criteria(self, criteria_file): method _get_metric_class (line 93) | def _get_metric_class(self, metric_file): method _get_recorder_map (line 116) | def _get_recorder_map(self, recorder_str): function main (line 127) | def main(): FILE: scenario_runner/no_rendering_mode.py function get_actor_display_name (line 157) | def get_actor_display_name(actor, truncate=250): class Util (line 162) | class Util(object): method blits (line 165) | def blits(destination_surface, source_surfaces, rect=None, blend_mode=0): method length (line 170) | def length(v): method get_bounding_box (line 174) | def get_bounding_box(actor): class ModuleManager (line 191) | class ModuleManager(object): method __init__ (line 192) | def __init__(self): method register_module (line 195) | def register_module(self, module): method clear_modules (line 198) | def clear_modules(self): method tick (line 201) | def tick(self, clock): method render (line 206) | def render(self, display): method get_module (line 211) | def get_module(self, name): method start_modules (line 216) | def start_modules(self): class FadingText (line 226) | class FadingText(object): method __init__ (line 227) | def __init__(self, font, dim, pos): method set_text (line 234) | def set_text(self, text, color=COLOR_WHITE, seconds=2.0): method tick (line 241) | def tick(self, clock): method render (line 246) | def render(self, display): class HelpText (line 255) | class HelpText(object): method __init__ (line 256) | def __init__(self, font, width, height): method toggle (line 270) | def toggle(self): method render (line 273) | def render(self, display): class ModuleHUD (line 283) | class ModuleHUD (object): method __init__ (line 285) | def __init__(self, name, width, height): method start (line 291) | def start(self): method _init_hud_params (line 294) | def _init_hud_params(self): method _init_data_params (line 306) | def _init_data_params(self): method notification (line 311) | def notification(self, text, seconds=2.0): method tick (line 314) | def tick(self, clock): method add_info (line 317) | def add_info(self, module_name, info): method render_vehicles_ids (line 320) | def render_vehicles_ids(self, vehicle_id_surface, list_actors, world_t... method render (line 344) | def render(self, display): class TrafficLightSurfaces (line 396) | class TrafficLightSurfaces(object): method __init__ (line 399) | def __init__(self): method rotozoom (line 424) | def rotozoom(self, angle, scale): class MapImage (line 434) | class MapImage(object): method __init__ (line 435) | def __init__(self, carla_world, carla_map, pixels_per_meter, show_trig... method draw_road_map (line 458) | def draw_road_map(self, map_surface, carla_world, carla_map, world_to_... method world_to_pixel (line 763) | def world_to_pixel(self, location, offset=(0, 0)): method world_to_pixel_width (line 768) | def world_to_pixel_width(self, width): method scale_map (line 771) | def scale_map(self, scale): class ModuleWorld (line 778) | class ModuleWorld(object): method __init__ (line 779) | def __init__(self, name, args, timeout): method _get_data_from_carla (line 819) | def _get_data_from_carla(self): method start (line 836) | def start(self): method select_hero_actor (line 888) | def select_hero_actor(self): method _spawn_hero (line 897) | def _spawn_hero(self): method tick (line 914) | def tick(self, clock): method update_hud_info (line 921) | def update_hud_info(self, clock): method on_world_tick (line 966) | def on_world_tick(weak_self, timestamp): method _split_actors (line 975) | def _split_actors(self): method _render_traffic_lights (line 1009) | def _render_traffic_lights(self, surface, list_tl, world_to_pixel): method _render_speed_limits (line 1039) | def _render_speed_limits(self, surface, list_sl, world_to_pixel, world... method _render_walkers (line 1074) | def _render_walkers(self, surface, list_w, world_to_pixel): method _render_vehicles (line 1090) | def _render_vehicles(self, surface, list_v, world_to_pixel): method render_actors (line 1111) | def render_actors(self, surface, vehicles, traffic_lights, speed_limit... method clip_surfaces (line 1121) | def clip_surfaces(self, clipping_rect): method _compute_scale (line 1126) | def _compute_scale(self, scale_factor): method render (line 1147) | def render(self, display): method destroy (line 1235) | def destroy(self): class ModuleInput (line 1243) | class ModuleInput(object): method __init__ (line 1244) | def __init__(self, name): method start (line 1254) | def start(self): method render (line 1258) | def render(self, display): method tick (line 1261) | def tick(self, clock): method _parse_events (line 1264) | def _parse_events(self): method _parse_keys (line 1327) | def _parse_keys(self, milliseconds): method _parse_mouse (line 1342) | def _parse_mouse(self): method parse_input (line 1349) | def parse_input(self, clock): method _is_quit_shortcut (line 1361) | def _is_quit_shortcut(key): function game_loop (line 1376) | def game_loop(args): function exit_game (line 1418) | def exit_game(): function main (line 1428) | def main(): FILE: scenario_runner/scenario_runner.py class ScenarioRunner (line 47) | class ScenarioRunner(object): method __init__ (line 75) | def __init__(self, args): method destroy (line 114) | def destroy(self): method _signal_handler (line 127) | def _signal_handler(self, signum, frame): method _get_scenario_class_or_fail (line 138) | def _get_scenario_class_or_fail(self, scenario): method _cleanup (line 166) | def _cleanup(self): method _prepare_ego_vehicles (line 195) | def _prepare_ego_vehicles(self, ego_vehicles): method _analyze_scenario (line 234) | def _analyze_scenario(self, config): method _record_criteria (line 258) | def _record_criteria(self, criteria, name): method _load_and_wait_for_world (line 290) | def _load_and_wait_for_world(self, town, ego_vehicles=None): method _load_and_run_scenario (line 338) | def _load_and_run_scenario(self, config): method _run_scenarios (line 415) | def _run_scenarios(self): method _run_route (line 437) | def _run_route(self): method _run_openscenario (line 460) | def _run_openscenario(self): method run (line 477) | def run(self): function main (line 493) | def main(): FILE: scenario_runner/srunner/autoagents/agent_wrapper.py class AgentWrapper (line 20) | class AgentWrapper(object): method __init__ (line 29) | def __init__(self, agent): method __call__ (line 35) | def __call__(self): method setup_sensors (line 41) | def setup_sensors(self, vehicle, debug_mode=False): method cleanup (line 89) | def cleanup(self): FILE: scenario_runner/srunner/autoagents/autonomous_agent.py class AutonomousAgent (line 19) | class AutonomousAgent(object): method __init__ (line 25) | def __init__(self, path_to_conf_file): method setup (line 36) | def setup(self, path_to_conf_file): method sensors (line 42) | def sensors(self): # pylint: disable=no-self-use method run_step (line 64) | def run_step(self, input_data, timestamp): method destroy (line 77) | def destroy(self): method __call__ (line 84) | def __call__(self): method all_sensors_ready (line 100) | def all_sensors_ready(self): method set_global_plan (line 107) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): FILE: scenario_runner/srunner/autoagents/dummy_agent.py class DummyAgent (line 17) | class DummyAgent(AutonomousAgent): method setup (line 23) | def setup(self, path_to_conf_file): method sensors (line 28) | def sensors(self): method run_step (line 61) | def run_step(self, input_data, timestamp): FILE: scenario_runner/srunner/autoagents/human_agent.py class HumanInterface (line 34) | class HumanInterface(object): method __init__ (line 40) | def __init__(self, parent): method run (line 55) | def run(self): class HumanAgent (line 91) | class HumanAgent(AutonomousAgent): method setup (line 100) | def setup(self, path_to_conf_file): method sensors (line 115) | def sensors(self): method run_step (line 151) | def run_step(self, input_data, timestamp): method destroy (line 159) | def destroy(self): class KeyboardControl (line 167) | class KeyboardControl(object): method __init__ (line 173) | def __init__(self): method parse_events (line 180) | def parse_events(self, control, clock): method _parse_vehicle_keys (line 194) | def _parse_vehicle_keys(self, keys, milliseconds): FILE: scenario_runner/srunner/autoagents/npc_agent.py class NpcAgent (line 19) | class NpcAgent(AutonomousAgent): method setup (line 28) | def setup(self, path_to_conf_file): method sensors (line 36) | def sensors(self): method run_step (line 62) | def run_step(self, input_data, timestamp): FILE: scenario_runner/srunner/autoagents/ros_agent.py class RosAgent (line 40) | class RosAgent(AutonomousAgent): method setup (line 65) | def setup(self, path_to_conf_file): method destroy (line 162) | def destroy(self): method on_vehicle_control (line 183) | def on_vehicle_control(self, data): method build_camera_info (line 201) | def build_camera_info(self, attributes): # pylint: disable=no-self-use method publish_plan (line 224) | def publish_plan(self): method sensors (line 247) | def sensors(self): method get_header (line 256) | def get_header(self): method publish_lidar (line 264) | def publish_lidar(self, sensor_id, data): method publish_gnss (line 285) | def publish_gnss(self, sensor_id, data): method publish_camera (line 301) | def publish_camera(self, sensor_id, data): method publish_can (line 315) | def publish_can(self, sensor_id, data): method publish_hd_map (line 357) | def publish_hd_map(self, sensor_id, data): method use_stepping_mode (line 402) | def use_stepping_mode(self): # pylint: disable=no-self-use method run_step (line 408) | def run_step(self, input_data, timestamp): FILE: scenario_runner/srunner/autoagents/sensor_interface.py class CallBack (line 18) | class CallBack(object): method __init__ (line 24) | def __init__(self, tag, sensor, data_provider): method __call__ (line 33) | def __call__(self, data): method _parse_image_cb (line 47) | def _parse_image_cb(self, image, tag): method _parse_lidar_cb (line 56) | def _parse_lidar_cb(self, lidar_data, tag): method _parse_gnss_cb (line 65) | def _parse_gnss_cb(self, gnss_data, tag): class SensorInterface (line 75) | class SensorInterface(object): method __init__ (line 81) | def __init__(self): method register_sensor (line 89) | def register_sensor(self, tag, sensor): method update_sensor (line 100) | def update_sensor(self, tag, data, timestamp): method all_sensors_ready (line 109) | def all_sensors_ready(self): method get_data (line 121) | def get_data(self): FILE: scenario_runner/srunner/metrics/examples/basic_metric.py class BasicMetric (line 13) | class BasicMetric(object): method __init__ (line 18) | def __init__(self, town_map, log, criteria=None): method _create_metric (line 31) | def _create_metric(self, town_map, log, criteria): FILE: scenario_runner/srunner/metrics/examples/criteria_filter.py class CriteriaFilter (line 21) | class CriteriaFilter(BasicMetric): method _create_metric (line 26) | def _create_metric(self, town_map, log, criteria): FILE: scenario_runner/srunner/metrics/examples/distance_between_vehicles.py class DistanceBetweenVehicles (line 23) | class DistanceBetweenVehicles(BasicMetric): method _create_metric (line 28) | def _create_metric(self, town_map, log, criteria): FILE: scenario_runner/srunner/metrics/examples/distance_to_lane_center.py class DistanceToLaneCenter (line 22) | class DistanceToLaneCenter(BasicMetric): method _create_metric (line 27) | def _create_metric(self, town_map, log, criteria): FILE: scenario_runner/srunner/metrics/tools/metrics_log.py class MetricsLog (line 20) | class MetricsLog(object): # pylint: disable=too-many-public-methods method __init__ (line 25) | def __init__(self, recorder): method get_actor_collisions (line 34) | def get_actor_collisions(self, actor_id): method get_total_frame_count (line 52) | def get_total_frame_count(self): method get_elapsed_time (line 59) | def get_elapsed_time(self, frame): method get_delta_time (line 66) | def get_delta_time(self, frame): method get_platform_time (line 73) | def get_platform_time(self, frame): method get_ego_vehicle_id (line 81) | def get_ego_vehicle_id(self): method get_actor_ids_with_role_name (line 87) | def get_actor_ids_with_role_name(self, role_name): method get_actor_ids_with_type_id (line 103) | def get_actor_ids_with_type_id(self, type_id): method get_actor_attributes (line 119) | def get_actor_attributes(self, actor_id): method get_actor_bounding_box (line 131) | def get_actor_bounding_box(self, actor_id): method get_traffic_light_trigger_volume (line 146) | def get_traffic_light_trigger_volume(self, traffic_light_id): method get_actor_alive_frames (line 161) | def get_actor_alive_frames(self, actor_id): method _get_actor_state (line 184) | def _get_actor_state(self, actor_id, state, frame): method _get_all_actor_states (line 208) | def _get_all_actor_states(self, actor_id, state, first_frame=None, las... method _get_states_at_frame (line 234) | def _get_states_at_frame(self, frame, state, actor_list=None): method get_actor_transform (line 256) | def get_actor_transform(self, actor_id, frame): method get_all_actor_transforms (line 262) | def get_all_actor_transforms(self, actor_id, first_frame=None, last_fr... method get_actor_transforms_at_frame (line 268) | def get_actor_transforms_at_frame(self, frame, actor_list=None): method get_actor_velocity (line 276) | def get_actor_velocity(self, actor_id, frame): method get_all_actor_velocities (line 282) | def get_all_actor_velocities(self, actor_id, first_frame=None, last_fr... method get_actor_velocities_at_frame (line 288) | def get_actor_velocities_at_frame(self, frame, actor_list=None): method get_actor_angular_velocity (line 296) | def get_actor_angular_velocity(self, actor_id, frame): method get_all_actor_angular_velocities (line 302) | def get_all_actor_angular_velocities(self, actor_id, first_frame=None,... method get_actor_angular_velocities_at_frame (line 308) | def get_actor_angular_velocities_at_frame(self, frame, actor_list=None): method get_actor_acceleration (line 316) | def get_actor_acceleration(self, actor_id, frame): method get_all_actor_accelerations (line 322) | def get_all_actor_accelerations(self, actor_id, first_frame=None, last... method get_actor_accelerations_at_frame (line 328) | def get_actor_accelerations_at_frame(self, frame, actor_list=None): method get_vehicle_control (line 336) | def get_vehicle_control(self, vehicle_id, frame): method get_vehicle_physics_control (line 342) | def get_vehicle_physics_control(self, vehicle_id, frame): method get_walker_speed (line 356) | def get_walker_speed(self, walker_id, frame): method get_traffic_light_state (line 363) | def get_traffic_light_state(self, traffic_light_id, frame): method is_traffic_light_frozen (line 369) | def is_traffic_light_frozen(self, traffic_light_id, frame): method get_traffic_light_elapsed_time (line 375) | def get_traffic_light_elapsed_time(self, traffic_light_id, frame): method get_traffic_light_state_time (line 381) | def get_traffic_light_state_time(self, traffic_light_id, state, frame): method get_vehicle_lights (line 398) | def get_vehicle_lights(self, vehicle_id, frame): method is_vehicle_light_active (line 404) | def is_vehicle_light_active(self, light, vehicle_id, frame): method get_scene_light_state (line 416) | def get_scene_light_state(self, light_id, frame): FILE: scenario_runner/srunner/metrics/tools/metrics_parser.py function parse_actor (line 17) | def parse_actor(info): function parse_transform (line 37) | def parse_transform(info): function parse_control (line 60) | def parse_control(info): function parse_vehicle_lights (line 80) | def parse_vehicle_lights(info): function parse_traffic_light (line 109) | def parse_traffic_light(info): function parse_velocity (line 133) | def parse_velocity(info): function parse_angular_velocity (line 149) | def parse_angular_velocity(info): function parse_scene_lights (line 165) | def parse_scene_lights(info): function parse_bounding_box (line 187) | def parse_bounding_box(info): function parse_state_times (line 211) | def parse_state_times(info): function parse_vector_list (line 228) | def parse_vector_list(info): function parse_gears_control (line 246) | def parse_gears_control(info): function parse_wheels_control (line 262) | def parse_wheels_control(info): class MetricsParser (line 282) | class MetricsParser(object): method __init__ (line 287) | def __init__(self, recorder_info): method get_row_elements (line 294) | def get_row_elements(self, indent_num, split_string): method next_row (line 300) | def next_row(self): method parse_recorder_info (line 307) | def parse_recorder_info(self): FILE: scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py class OpenScenarioConfiguration (line 27) | class OpenScenarioConfiguration(ScenarioConfiguration): method __init__ (line 34) | def __init__(self, filename, client): method _validate_openscenario_configuration (line 61) | def _validate_openscenario_configuration(self): method _validate_openscenario_catalog_configuration (line 71) | def _validate_openscenario_catalog_configuration(self, catalog_xml_tree): method _parse_openscenario_configuration (line 81) | def _parse_openscenario_configuration(self): method _check_version (line 95) | def _check_version(self): method _load_catalogs (line 103) | def _load_catalogs(self): method _set_scenario_name (line 141) | def _set_scenario_name(self): method _set_carla_town (line 151) | def _set_carla_town(self): method _set_parameters (line 183) | def _set_parameters(self): method _set_actor_information (line 199) | def _set_actor_information(self): method _extract_vehicle_information (line 255) | def _extract_vehicle_information(self, obj, rolename, vehicle, args): method _extract_pedestrian_information (line 278) | def _extract_pedestrian_information(self, obj, rolename, pedestrian, a... method _extract_misc_information (line 289) | def _extract_misc_information(self, obj, rolename, misc, args): method _get_actor_transform (line 304) | def _get_actor_transform(self, actor_name): method _get_actor_speed (line 342) | def _get_actor_speed(self, actor_name): method _validate_result (line 370) | def _validate_result(self): FILE: scenario_runner/srunner/scenarioconfigs/route_scenario_configuration.py class RouteConfiguration (line 18) | class RouteConfiguration(object): method __init__ (line 24) | def __init__(self, route=None): method parse_xml (line 28) | def parse_xml(self, node): class RouteScenarioConfiguration (line 44) | class RouteScenarioConfiguration(ScenarioConfiguration): FILE: scenario_runner/srunner/scenarioconfigs/scenario_configuration.py class ActorConfigurationData (line 15) | class ActorConfigurationData(object): method __init__ (line 21) | def __init__(self, model, transform, rolename='other', speed=0, autopi... method parse_from_node (line 34) | def parse_from_node(node, rolename): class ScenarioConfiguration (line 65) | class ScenarioConfiguration(object): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py class ActorControl (line 28) | class ActorControl(object): method __init__ (line 63) | def __init__(self, actor, control_py_module, args): method reset (line 87) | def reset(self): method update_target_speed (line 93) | def update_target_speed(self, target_speed, start_time=None): method update_waypoints (line 105) | def update_waypoints(self, waypoints, start_time=None): method check_reached_waypoint_goal (line 117) | def check_reached_waypoint_goal(self): method get_last_longitudinal_command (line 126) | def get_last_longitudinal_command(self): method get_last_waypoint_command (line 135) | def get_last_waypoint_command(self): method set_init_speed (line 144) | def set_init_speed(self): method run_step (line 150) | def run_step(self): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py class BasicControl (line 17) | class BasicControl(object): method __init__ (line 49) | def __init__(self, actor): method update_target_speed (line 55) | def update_target_speed(self, speed): method update_waypoints (line 65) | def update_waypoints(self, waypoints, start_time=None): method set_init_speed (line 75) | def set_init_speed(self): method check_reached_waypoint_goal (line 81) | def check_reached_waypoint_goal(self): method reset (line 90) | def reset(self): method run_step (line 99) | def run_step(self): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py class ExternalControl (line 19) | class ExternalControl(BasicControl): method __init__ (line 29) | def __init__(self, actor, args=None): method reset (line 32) | def reset(self): method run_step (line 39) | def run_step(self): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py class NpcVehicleControl (line 22) | class NpcVehicleControl(BasicControl): method __init__ (line 35) | def __init__(self, actor, args=None): method _update_plan (line 46) | def _update_plan(self): method reset (line 57) | def reset(self): method run_step (line 67) | def run_step(self): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py class PedestrianControl (line 19) | class PedestrianControl(BasicControl): method __init__ (line 28) | def __init__(self, actor, args=None): method reset (line 34) | def reset(self): method run_step (line 41) | def run_step(self): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py class SimpleVehicleControl (line 29) | class SimpleVehicleControl(BasicControl): method __init__ (line 77) | def __init__(self, actor, args=None): method _on_obstacle (line 109) | def _on_obstacle(self, event): method _on_camera_update (line 121) | def _on_camera_update(self, image): method reset (line 136) | def reset(self): method run_step (line 149) | def run_step(self): method _set_new_velocity (line 211) | def _set_new_velocity(self, next_location): FILE: scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py class VehicleLongitudinalControl (line 19) | class VehicleLongitudinalControl(BasicControl): method __init__ (line 30) | def __init__(self, actor, args=None): method reset (line 33) | def reset(self): method run_step (line 40) | def run_step(self): FILE: scenario_runner/srunner/scenariomanager/carla_data_provider.py function calculate_velocity (line 23) | def calculate_velocity(actor): class CarlaDataProvider (line 32) | class CarlaDataProvider(object): # pylint: disable=too-many-public-methods method register_actor (line 70) | def register_actor(actor): method register_actors (line 94) | def register_actors(actors): method on_carla_tick (line 102) | def on_carla_tick(): method get_velocity (line 123) | def get_velocity(actor): method get_location (line 137) | def get_location(actor): method get_transform (line 151) | def get_transform(actor): method set_client (line 165) | def set_client(client): method get_client (line 172) | def get_client(): method set_ego (line 179) | def set_ego(vehicle): method get_ego (line 186) | def get_ego(): method set_world (line 193) | def set_world(world): method set_weather (line 205) | def set_weather(weather): method get_world (line 212) | def get_world(): method get_map (line 219) | def get_map(world=None): method is_sync_mode (line 235) | def is_sync_mode(): method find_weather_presets (line 242) | def find_weather_presets(): method prepare_map (line 252) | def prepare_map(): method annotate_trafficlight_in_group (line 270) | def annotate_trafficlight_in_group(traffic_light): method get_trafficlight_trigger_location (line 306) | def get_trafficlight_trigger_location(traffic_light): # pylint: dis... method update_light_states (line 330) | def update_light_states(ego_light, annotations, states, freeze=False, ... method reset_lights (line 362) | def reset_lights(reset_params): method get_next_traffic_light (line 373) | def get_next_traffic_light(actor, use_cached_location=True): method set_ego_vehicle_route (line 412) | def set_ego_vehicle_route(route): method get_ego_vehicle_route (line 421) | def get_ego_vehicle_route(): method generate_spawn_points (line 429) | def generate_spawn_points(): method create_blueprint (line 439) | def create_blueprint(model, rolename='scenario', color=None, actor_cat... method handle_actor_batch (line 502) | def handle_actor_batch(batch): method request_new_actor (line 536) | def request_new_actor(model, spawn_point, rolename='scenario', autopil... method request_new_actors (line 582) | def request_new_actors(actor_list): method request_new_batch_actors (line 649) | def request_new_batch_actors(model, amount, spawn_points, autopilot=Fa... method get_actors (line 705) | def get_actors(): method actor_id_exists (line 714) | def actor_id_exists(actor_id): method get_hero_actor (line 724) | def get_hero_actor(): method get_actor_by_id (line 734) | def get_actor_by_id(actor_id): method remove_actor_by_id (line 746) | def remove_actor_by_id(actor_id): method remove_actors_in_surrounding (line 758) | def remove_actors_in_surrounding(location, distance): method get_traffic_manager_port (line 772) | def get_traffic_manager_port(): method set_traffic_manager_port (line 779) | def set_traffic_manager_port(tm_port): method set_time_step (line 786) | def set_time_step(time_step): method get_time_step (line 790) | def get_time_step(): method cleanup (line 797) | def cleanup(): FILE: scenario_runner/srunner/scenariomanager/result_writer.py class ResultOutputProvider (line 19) | class ResultOutputProvider(object): method __init__ (line 26) | def __init__(self, data, result, stdout=True, filename=None, junit=None): method write (line 46) | def write(self): method create_output_text (line 60) | def create_output_text(self): method _write_to_junit (line 135) | def _write_to_junit(self): FILE: scenario_runner/srunner/scenariomanager/scenario_manager.py class ScenarioManager (line 26) | class ScenarioManager(object): method __init__ (line 44) | def __init__(self, debug_mode=False, sync_mode=False, timeout=2.0): method _reset (line 68) | def _reset(self): method cleanup (line 80) | def cleanup(self): method load_scenario (line 94) | def load_scenario(self, scenario, agent=None): method run_scenario (line 114) | def run_scenario(self): method _tick_scenario (line 149) | def _tick_scenario(self, timestamp): method get_running_status (line 187) | def get_running_status(self): method stop_scenario (line 194) | def stop_scenario(self): method analyze_scenario (line 200) | def analyze_scenario(self, stdout, filename, junit): FILE: scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py function calculate_distance (line 48) | def calculate_distance(location, other_location, global_planner=None): function get_actor_control (line 75) | def get_actor_control(actor): class AtomicBehavior (line 89) | class AtomicBehavior(py_trees.behaviour.Behaviour): method __init__ (line 100) | def __init__(self, name, actor=None): method setup (line 109) | def setup(self, unused_timeout=15): method initialise (line 116) | def initialise(self): method terminate (line 132) | def terminate(self, new_status): class RunScript (line 139) | class RunScript(AtomicBehavior): method __init__ (line 159) | def __init__(self, script, base_path=None, name="RunScript"): method update (line 168) | def update(self): class ChangeWeather (line 190) | class ChangeWeather(AtomicBehavior): method __init__ (line 207) | def __init__(self, weather, name="ChangeWeather"): method update (line 214) | def update(self): class ChangeRoadFriction (line 225) | class ChangeRoadFriction(AtomicBehavior): method __init__ (line 241) | def __init__(self, friction, name="ChangeRoadFriction"): method update (line 248) | def update(self): class ChangeActorControl (line 274) | class ChangeActorControl(AtomicBehavior): method __init__ (line 294) | def __init__(self, actor, control_py_module, args, name="ChangeActorCo... method update (line 302) | def update(self): class UpdateAllActorControls (line 329) | class UpdateAllActorControls(AtomicBehavior): method __init__ (line 341) | def __init__(self, name="UpdateAllActorControls"): method update (line 347) | def update(self): class ChangeActorTargetSpeed (line 369) | class ChangeActorTargetSpeed(AtomicBehavior): method __init__ (line 420) | def __init__(self, actor, target_speed, init_speed=False, method initialise (line 441) | def initialise(self): method update (line 481) | def update(self): class ChangeActorWaypoints (line 531) | class ChangeActorWaypoints(AtomicBehavior): method __init__ (line 554) | def __init__(self, actor, waypoints, name="ChangeActorWaypoints"): method initialise (line 563) | def initialise(self): method update (line 589) | def update(self): class ChangeActorWaypointsToReachPosition (line 619) | class ChangeActorWaypointsToReachPosition(ChangeActorWaypoints): method __init__ (line 645) | def __init__(self, actor, position, name="ChangeActorWaypointsToReachP... method initialise (line 658) | def initialise(self): class ChangeActorLateralMotion (line 681) | class ChangeActorLateralMotion(AtomicBehavior): method __init__ (line 719) | def __init__(self, actor, direction='left', distance_lane_change=25, method initialise (line 736) | def initialise(self): method update (line 774) | def update(self): class ActorTransformSetterToOSCPosition (line 815) | class ActorTransformSetterToOSCPosition(AtomicBehavior): method __init__ (line 835) | def __init__(self, actor, osc_position, physics=True, name="ActorTrans... method initialise (line 844) | def initialise(self): method update (line 852) | def update(self): class AccelerateToVelocity (line 874) | class AccelerateToVelocity(AtomicBehavior): method __init__ (line 889) | def __init__(self, actor, throttle_value, target_velocity, name="Accel... method initialise (line 900) | def initialise(self): method update (line 908) | def update(self): class AccelerateToCatchUp (line 927) | class AccelerateToCatchUp(AtomicBehavior): method __init__ (line 947) | def __init__(self, actor, other_actor, throttle_value=1, delta_velocit... method initialise (line 965) | def initialise(self): method update (line 971) | def update(self): class KeepVelocity (line 1006) | class KeepVelocity(AtomicBehavior): method __init__ (line 1024) | def __init__(self, actor, target_velocity, duration=float("inf"), dist... method initialise (line 1043) | def initialise(self): method update (line 1054) | def update(self): method terminate (line 1084) | def terminate(self, new_status): class ChangeAutoPilot (line 1099) | class ChangeAutoPilot(AtomicBehavior): method __init__ (line 1115) | def __init__(self, actor, activate, parameters=None, name="ChangeAutoP... method update (line 1126) | def update(self): class StopVehicle (line 1164) | class StopVehicle(AtomicBehavior): method __init__ (line 1177) | def __init__(self, actor, brake_value, name="Stopping"): method update (line 1188) | def update(self): class SyncArrival (line 1210) | class SyncArrival(AtomicBehavior): method __init__ (line 1229) | def __init__(self, actor, actor_reference, target_location, gain=1, na... method update (line 1242) | def update(self): method terminate (line 1276) | def terminate(self, new_status): class AddNoiseToVehicle (line 1288) | class AddNoiseToVehicle(AtomicBehavior): method __init__ (line 1302) | def __init__(self, actor, steer_value, throttle_value, name="Jittering"): method update (line 1312) | def update(self): class ChangeNoiseParameters (line 1327) | class ChangeNoiseParameters(AtomicBehavior): method __init__ (line 1338) | def __init__(self, new_steer_noise, new_throttle_noise, method update (line 1354) | def update(self): class BasicAgentBehavior (line 1367) | class BasicAgentBehavior(AtomicBehavior): method __init__ (line 1384) | def __init__(self, actor, target_location, name="BasicAgentBehavior"): method update (line 1395) | def update(self): method terminate (line 1409) | def terminate(self, new_status): class Idle (line 1416) | class Idle(AtomicBehavior): method __init__ (line 1428) | def __init__(self, duration=float("inf"), name="Idle"): method initialise (line 1437) | def initialise(self): method update (line 1444) | def update(self): class WaypointFollower (line 1456) | class WaypointFollower(AtomicBehavior): method __init__ (line 1498) | def __init__(self, actor, target_speed=None, plan=None, blackboard_que... method initialise (line 1517) | def initialise(self): method _apply_local_planner (line 1544) | def _apply_local_planner(self, actor): method update (line 1582) | def update(self): method terminate (line 1657) | def terminate(self, new_status): class LaneChange (line 1676) | class LaneChange(WaypointFollower): method __init__ (line 1700) | def __init__(self, actor, speed=10, direction='left', method initialise (line 1714) | def initialise(self): method update (line 1725) | def update(self): class SetInitSpeed (line 1745) | class SetInitSpeed(AtomicBehavior): method __init__ (line 1752) | def __init__(self, actor, init_speed=10, name='SetInitSpeed'): method initialise (line 1760) | def initialise(self): method update (line 1772) | def update(self): class HandBrakeVehicle (line 1780) | class HandBrakeVehicle(AtomicBehavior): method __init__ (line 1793) | def __init__(self, vehicle, hand_brake_value, name="Braking"): method update (line 1803) | def update(self): class ActorDestroy (line 1820) | class ActorDestroy(AtomicBehavior): method __init__ (line 1832) | def __init__(self, actor, name="ActorDestroy"): method update (line 1839) | def update(self): class ActorTransformSetter (line 1849) | class ActorTransformSetter(AtomicBehavior): method __init__ (line 1869) | def __init__(self, actor, transform, physics=True, name="ActorTransfor... method initialise (line 1878) | def initialise(self): method update (line 1885) | def update(self): class TrafficLightStateSetter (line 1902) | class TrafficLightStateSetter(AtomicBehavior): method __init__ (line 1914) | def __init__(self, actor, state, name="TrafficLightStateSetter"): method update (line 1924) | def update(self): class ActorSource (line 1942) | class ActorSource(AtomicBehavior): method __init__ (line 1959) | def __init__(self, actor_type_list, transform, threshold, blackboard_q... method update (line 1973) | def update(self): class ActorSink (line 2000) | class ActorSink(AtomicBehavior): method __init__ (line 2014) | def __init__(self, sink_location, threshold, name="ActorSink"): method update (line 2022) | def update(self): class StartRecorder (line 2028) | class StartRecorder(AtomicBehavior): method __init__ (line 2043) | def __init__(self, recorder_name, name="StartRecorder"): method update (line 2051) | def update(self): class StopRecorder (line 2056) | class StopRecorder(AtomicBehavior): method __init__ (line 2065) | def __init__(self, name="StopRecorder"): method update (line 2072) | def update(self): class TrafficLightManipulator (line 2077) | class TrafficLightManipulator(AtomicBehavior): method __init__ (line 2129) | def __init__(self, ego_vehicle, subtype, debug=False, name="TrafficLig... method update (line 2149) | def update(self): method passed_enough_time (line 2265) | def passed_enough_time(self, time_limit): method set_intersection_state (line 2288) | def set_intersection_state(self, choice): method get_waiting_time (line 2300) | def get_waiting_time(self, annotation, direction): method get_traffic_light_configuration (line 2316) | def get_traffic_light_configuration(self, subtype, annotations): method variable_cleanup (line 2353) | def variable_cleanup(self): class ScenarioTriggerer (line 2368) | class ScenarioTriggerer(AtomicBehavior): method __init__ (line 2379) | def __init__(self, actor, route, blackboard_list, distance, method update (line 2400) | def update(self): FILE: scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py class Criterion (line 31) | class Criterion(py_trees.behaviour.Behaviour): method __init__ (line 47) | def __init__(self, method initialise (line 67) | def initialise(self): method terminate (line 73) | def terminate(self, new_status): class MaxVelocityTest (line 83) | class MaxVelocityTest(Criterion): method __init__ (line 94) | def __init__(self, actor, max_velocity_allowed, optional=False, name="... method update (line 100) | def update(self): class DrivenDistanceTest (line 126) | class DrivenDistanceTest(Criterion): method __init__ (line 140) | def __init__(self, method initialise (line 152) | def initialise(self): method update (line 156) | def update(self): method terminate (line 192) | def terminate(self, new_status): class AverageVelocityTest (line 202) | class AverageVelocityTest(Criterion): method __init__ (line 216) | def __init__(self, method initialise (line 232) | def initialise(self): method update (line 236) | def update(self): method terminate (line 276) | def terminate(self, new_status): class CollisionTest (line 285) | class CollisionTest(Criterion): method __init__ (line 303) | def __init__(self, actor, other_actor=None, other_actor_type=None, method update (line 322) | def update(self): method terminate (line 354) | def terminate(self, new_status): method _count_collisions (line 365) | def _count_collisions(weak_self, event): # pylint: disable=too-man... class ActorSpeedAboveThresholdTest (line 440) | class ActorSpeedAboveThresholdTest(Criterion): method __init__ (line 452) | def __init__(self, actor, speed_threshold, below_threshold_max_time, method update (line 464) | def update(self): method _set_event_message (line 493) | def _set_event_message(event, location): method _set_event_dict (line 504) | def _set_event_dict(event, location): class KeepLaneTest (line 515) | class KeepLaneTest(Criterion): method __init__ (line 525) | def __init__(self, actor, optional=False, name="CheckKeepLane"): method update (line 537) | def update(self): method terminate (line 555) | def terminate(self, new_status): method _count_lane_invasion (line 565) | def _count_lane_invasion(weak_self, event): class ReachedRegionTest (line 575) | class ReachedRegionTest(Criterion): method __init__ (line 586) | def __init__(self, actor, min_x, max_x, min_y, max_y, name="ReachedReg... method update (line 599) | def update(self): class OffRoadTest (line 626) | class OffRoadTest(Criterion): method __init__ (line 642) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 656) | def update(self): class EndofRoadTest (line 707) | class EndofRoadTest(Criterion): method __init__ (line 721) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 736) | def update(self): class OnSidewalkTest (line 776) | class OnSidewalkTest(Criterion): method __init__ (line 791) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 812) | def update(self): method terminate (line 977) | def terminate(self, new_status): method _set_event_message (line 1013) | def _set_event_message(self, event, location, distance): method _set_event_dict (line 1031) | def _set_event_dict(self, event, location, distance): class OutsideRouteLanesTest (line 1042) | class OutsideRouteLanesTest(Criterion): method __init__ (line 1059) | def __init__(self, actor, route, optional=False, name="OutsideRouteLan... method update (line 1082) | def update(self): method _is_outside_driving_lanes (line 1137) | def _is_outside_driving_lanes(self, location): method _is_at_wrong_lane (line 1160) | def _is_at_wrong_lane(self, location): method terminate (line 1209) | def terminate(self, new_status): class WrongLaneTest (line 1238) | class WrongLaneTest(Criterion): method __init__ (line 1250) | def __init__(self, actor, optional=False, name="WrongLaneTest"): method update (line 1268) | def update(self): method terminate (line 1362) | def terminate(self, new_status): method _set_event_message (line 1384) | def _set_event_message(self, event, location, distance, road_id, lane_... method _set_event_dict (line 1400) | def _set_event_dict(self, event, location, distance, road_id, lane_id): class InRadiusRegionTest (line 1413) | class InRadiusRegionTest(Criterion): method __init__ (line 1423) | def __init__(self, actor, x, y, radius, name="InRadiusRegionTest"): method update (line 1433) | def update(self): class InRouteTest (line 1461) | class InRouteTest(Criterion): method __init__ (line 1477) | def __init__(self, actor, route, offroad_min=-1, offroad_max=30, name=... method update (line 1514) | def update(self): class RouteCompletionTest (line 1593) | class RouteCompletionTest(Criterion): method __init__ (line 1606) | def __init__(self, actor, route, name="RouteCompletionTest", terminate... method update (line 1637) | def update(self): method terminate (line 1685) | def terminate(self, new_status): class RunningRedLightTest (line 1696) | class RunningRedLightTest(Criterion): method __init__ (line 1707) | def __init__(self, actor, name="RunningRedLightTest", terminate_on_fai... method is_vehicle_crossing_line (line 1728) | def is_vehicle_crossing_line(self, seg1, seg2): method update (line 1738) | def update(self): method rotate_point (line 1836) | def rotate_point(self, point, angle): method get_traffic_light_waypoints (line 1844) | def get_traffic_light_waypoints(self, traffic_light): class RunningStopTest (line 1884) | class RunningStopTest(Criterion): method __init__ (line 1897) | def __init__(self, actor, name="RunningStopTest", terminate_on_failure... method point_inside_boundingbox (line 1917) | def point_inside_boundingbox(point, bb_center, bb_extent): method is_actor_affected_by_stop (line 1942) | def is_actor_affected_by_stop(self, actor, stop, multi_step=20): method _scan_for_stop_sign (line 1975) | def _scan_for_stop_sign(self): method update (line 1995) | def update(self): FILE: scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py class AtomicCondition (line 42) | class AtomicCondition(py_trees.behaviour.Behaviour): method __init__ (line 53) | def __init__(self, name): method setup (line 61) | def setup(self, unused_timeout=15): method initialise (line 68) | def initialise(self): method terminate (line 74) | def terminate(self, new_status): class InTriggerDistanceToOSCPosition (line 81) | class InTriggerDistanceToOSCPosition(AtomicCondition): method __init__ (line 96) | def __init__(self, actor, osc_position, distance, along_route=False, method initialise (line 118) | def initialise(self): method update (line 122) | def update(self): class InTimeToArrivalToOSCPosition (line 149) | class InTimeToArrivalToOSCPosition(AtomicCondition): method __init__ (line 164) | def __init__(self, actor, osc_position, time, along_route=False, method initialise (line 186) | def initialise(self): method update (line 190) | def update(self): class StandStill (line 230) | class StandStill(AtomicCondition): method __init__ (line 243) | def __init__(self, actor, name, duration=float("inf")): method initialise (line 254) | def initialise(self): method update (line 261) | def update(self): class RelativeVelocityToOtherActor (line 280) | class RelativeVelocityToOtherActor(AtomicCondition): method __init__ (line 295) | def __init__(self, actor, other_actor, speed, comparison_operator=oper... method update (line 307) | def update(self): class TriggerVelocity (line 330) | class TriggerVelocity(AtomicCondition): method __init__ (line 344) | def __init__(self, actor, target_velocity, comparison_operator=operato... method update (line 354) | def update(self): class TriggerAcceleration (line 374) | class TriggerAcceleration(AtomicCondition): method __init__ (line 388) | def __init__(self, actor, target_acceleration, comparison_operator=ope... method update (line 398) | def update(self): class TimeOfDayComparison (line 421) | class TimeOfDayComparison(AtomicCondition): method __init__ (line 435) | def __init__(self, dattime, comparison_operator=operator.gt, name="Tim... method update (line 443) | def update(self): class OSCStartEndCondition (line 467) | class OSCStartEndCondition(AtomicCondition): method __init__ (line 480) | def __init__(self, element_type, element_name, rule, name="OSCStartEnd... method initialise (line 492) | def initialise(self): method update (line 499) | def update(self): class InTriggerRegion (line 516) | class InTriggerRegion(AtomicCondition): method __init__ (line 529) | def __init__(self, actor, min_x, max_x, min_y, max_y, name="TriggerReg... method update (line 542) | def update(self): class InTriggerDistanceToVehicle (line 563) | class InTriggerDistanceToVehicle(AtomicCondition): method __init__ (line 579) | def __init__(self, reference_actor, actor, distance, comparison_operat... method update (line 591) | def update(self): class InTriggerDistanceToLocation (line 611) | class InTriggerDistanceToLocation(AtomicCondition): method __init__ (line 626) | def __init__(self, method update (line 642) | def update(self): class InTriggerDistanceToNextIntersection (line 663) | class InTriggerDistanceToNextIntersection(AtomicCondition): method __init__ (line 677) | def __init__(self, actor, distance, name="InTriggerDistanceToNextInter... method update (line 693) | def update(self): class InTriggerDistanceToLocationAlongRoute (line 710) | class InTriggerDistanceToLocationAlongRoute(AtomicCondition): method __init__ (line 727) | def __init__(self, actor, route, location, distance, name="InTriggerDi... method update (line 740) | def update(self): class InTimeToArrivalToLocation (line 761) | class InTimeToArrivalToLocation(AtomicCondition): method __init__ (line 778) | def __init__(self, actor, time, location, comparison_operator=operator... method update (line 789) | def update(self): class InTimeToArrivalToVehicle (line 816) | class InTimeToArrivalToVehicle(AtomicCondition): method __init__ (line 833) | def __init__(self, actor, other_actor, time, along_route=False, method update (line 856) | def update(self): class InTimeToArrivalToVehicleSideLane (line 892) | class InTimeToArrivalToVehicleSideLane(InTimeToArrivalToLocation): method __init__ (line 910) | def __init__(self, actor, other_actor, time, side_lane, method update (line 937) | def update(self): class WaitUntilInFront (line 965) | class WaitUntilInFront(AtomicCondition): method __init__ (line 978) | def __init__(self, actor, other_actor, factor=1, check_distance=True, ... method update (line 998) | def update(self): class DriveDistance (line 1042) | class DriveDistance(AtomicCondition): method __init__ (line 1054) | def __init__(self, actor, distance, name="DriveDistance"): method initialise (line 1065) | def initialise(self): method update (line 1069) | def update(self): class AtRightmostLane (line 1086) | class AtRightmostLane(AtomicCondition): method __init__ (line 1097) | def __init__(self, actor, name="AtRightmostLane"): method update (line 1106) | def update(self): class WaitForTrafficLightState (line 1128) | class WaitForTrafficLightState(AtomicCondition): method __init__ (line 1141) | def __init__(self, actor, state, name="WaitForTrafficLightState"): method update (line 1150) | def update(self): class WaitEndIntersection (line 1167) | class WaitEndIntersection(AtomicCondition): method __init__ (line 1174) | def __init__(self, actor, debug=False, name="WaitEndIntersection"): method update (line 1181) | def update(self): class WaitForBlackboardVariable (line 1201) | class WaitForBlackboardVariable(AtomicCondition): method __init__ (line 1210) | def __init__(self, variable_name, variable_value, var_init_value=None, method update (line 1222) | def update(self): FILE: scenario_runner/srunner/scenariomanager/timer.py class GameTime (line 17) | class GameTime(object): method on_carla_tick (line 33) | def on_carla_tick(timestamp): method restart (line 47) | def restart(): method get_time (line 55) | def get_time(): method get_carla_time (line 62) | def get_carla_time(): method get_wallclocktime (line 69) | def get_wallclocktime(): method get_frame (line 76) | def get_frame(): class SimulationTimeCondition (line 83) | class SimulationTimeCondition(py_trees.behaviour.Behaviour): method __init__ (line 94) | def __init__(self, timeout, success_rule="greaterThan", name="Simulati... method initialise (line 107) | def initialise(self): method update (line 114) | def update(self): class TimeOut (line 133) | class TimeOut(SimulationTimeCondition): method __init__ (line 141) | def __init__(self, timeout, name="TimeOut"): method update (line 148) | def update(self): FILE: scenario_runner/srunner/scenariomanager/traffic_events.py class TrafficEventType (line 13) | class TrafficEventType(Enum): class TrafficEvent (line 35) | class TrafficEvent(object): method __init__ (line 41) | def __init__(self, event_type, message=None, dictionary=None): method get_type (line 53) | def get_type(self): method get_message (line 59) | def get_message(self): method set_message (line 68) | def set_message(self, message): method get_dict (line 74) | def get_dict(self): method set_dict (line 80) | def set_dict(self, dictionary): FILE: scenario_runner/srunner/scenariomanager/watchdog.py class Watchdog (line 21) | class Watchdog(object): method __init__ (line 35) | def __init__(self, timeout=1.0): method start (line 43) | def start(self): method update (line 51) | def update(self): method _event (line 58) | def _event(self): method stop (line 68) | def stop(self): method get_status (line 74) | def get_status(self): FILE: scenario_runner/srunner/scenariomanager/weather_sim.py class Weather (line 26) | class Weather(object): method __init__ (line 51) | def __init__(self, carla_weather, dtime=None, animation=False): method update (line 70) | def update(self, delta_time=0): class WeatherBehavior (line 90) | class WeatherBehavior(py_trees.behaviour.Behaviour): method __init__ (line 110) | def __init__(self, name="WeatherBehavior"): method initialise (line 118) | def initialise(self): method update (line 124) | def update(self): FILE: scenario_runner/srunner/scenarios/background_activity.py class BackgroundActivity (line 16) | class BackgroundActivity(BasicScenario): method __init__ (line 38) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 55) | def _initialize_actors(self, config): method _create_behavior (line 81) | def _create_behavior(self): method _create_test_criteria (line 87) | def _create_test_criteria(self): method __del__ (line 94) | def __del__(self): FILE: scenario_runner/srunner/scenarios/basic_scenario.py class BasicScenario (line 26) | class BasicScenario(object): method __init__ (line 32) | def __init__(self, name, ego_vehicles, config, world, method _initialize_environment (line 85) | def _initialize_environment(self, world): method _initialize_actors (line 108) | def _initialize_actors(self, config): method _setup_scenario_trigger (line 121) | def _setup_scenario_trigger(self, config): method _setup_scenario_end (line 154) | def _setup_scenario_end(self, config): method _create_behavior (line 171) | def _create_behavior(self): method _create_test_criteria (line 179) | def _create_test_criteria(self): method change_control (line 188) | def change_control(self, control): # pylint: disable=no-self-use method remove_all_actors (line 198) | def remove_all_actors(self): class Scenario (line 210) | class Scenario(object): method __init__ (line 225) | def __init__(self, behavior, criteria, name, timeout=60, terminate_on_... method _extract_nodes_from_tree (line 261) | def _extract_nodes_from_tree(self, tree): # pylint: disable=no-self-use method get_criteria (line 281) | def get_criteria(self): method terminate (line 288) | def terminate(self): FILE: scenario_runner/srunner/scenarios/change_lane.py class ChangeLane (line 36) | class ChangeLane(BasicScenario): method __init__ (line 50) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 111) | def _create_behavior(self): method _create_test_criteria (line 164) | def _create_test_criteria(self): method __del__ (line 177) | def __del__(self): FILE: scenario_runner/srunner/scenarios/control_loss.py class ControlLoss (line 29) | class ControlLoss(BasicScenario): method __init__ (line 37) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 72) | def _initialize_actors(self, config): method _create_behavior (line 121) | def _create_behavior(self): method _create_test_criteria (line 171) | def _create_test_criteria(self): method change_control (line 183) | def change_control(self, control): method __del__ (line 194) | def __del__(self): FILE: scenario_runner/srunner/scenarios/cut_in.py class CutIn (line 32) | class CutIn(BasicScenario): method __init__ (line 41) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 68) | def _initialize_actors(self, config): method _create_behavior (line 91) | def _create_behavior(self): method _create_test_criteria (line 142) | def _create_test_criteria(self): method __del__ (line 154) | def __del__(self): FILE: scenario_runner/srunner/scenarios/follow_leading_vehicle.py class FollowLeadingVehicle (line 41) | class FollowLeadingVehicle(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 87) | def _initialize_actors(self, config): method _create_behavior (line 107) | def _create_behavior(self): method _create_test_criteria (line 155) | def _create_test_criteria(self): method __del__ (line 168) | def __del__(self): class FollowLeadingVehicleWithObstacle (line 175) | class FollowLeadingVehicleWithObstacle(BasicScenario): method __init__ (line 186) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 209) | def _initialize_actors(self, config): method _create_behavior (line 250) | def _create_behavior(self): method _create_test_criteria (line 308) | def _create_test_criteria(self): method __del__ (line 321) | def __del__(self): FILE: scenario_runner/srunner/scenarios/freeride.py class FreeRide (line 19) | class FreeRide(BasicScenario): method __init__ (line 25) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _setup_scenario_trigger (line 39) | def _setup_scenario_trigger(self, config): method _create_behavior (line 44) | def _create_behavior(self): method _create_test_criteria (line 51) | def _create_test_criteria(self): method __del__ (line 64) | def __del__(self): FILE: scenario_runner/srunner/scenarios/junction_crossing_route.py class SignalJunctionCrossingRoute (line 23) | class SignalJunctionCrossingRoute(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 57) | def _initialize_actors(self, config): method _create_behavior (line 62) | def _create_behavior(self): method _create_test_criteria (line 88) | def _create_test_criteria(self): method __del__ (line 110) | def __del__(self): class NoSignalJunctionCrossingRoute (line 118) | class NoSignalJunctionCrossingRoute(BasicScenario): method __init__ (line 131) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 147) | def _initialize_actors(self, config): method _create_behavior (line 152) | def _create_behavior(self): method _create_test_criteria (line 177) | def _create_test_criteria(self): method __del__ (line 199) | def __del__(self): FILE: scenario_runner/srunner/scenarios/maneuver_opposite_direction.py class ManeuverOppositeDirection (line 32) | class ManeuverOppositeDirection(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 118) | def _create_behavior(self): method _create_test_criteria (line 156) | def _create_test_criteria(self): method __del__ (line 168) | def __del__(self): FILE: scenario_runner/srunner/scenarios/master_scenario.py class MasterScenario (line 25) | class MasterScenario(BasicScenario): method __init__ (line 35) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 54) | def _create_behavior(self): method _create_test_criteria (line 66) | def _create_test_criteria(self): method __del__ (line 110) | def __del__(self): FILE: scenario_runner/srunner/scenarios/no_signal_junction_crossing.py class NoSignalJunctionCrossing (line 28) | class NoSignalJunctionCrossing(BasicScenario): method __init__ (line 46) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 63) | def _initialize_actors(self, config): method _create_behavior (line 77) | def _create_behavior(self): method _create_test_criteria (line 148) | def _create_test_criteria(self): method __del__ (line 160) | def __del__(self): FILE: scenario_runner/srunner/scenarios/object_crash_intersection.py function get_opponent_transform (line 33) | def get_opponent_transform(added_dist, waypoint, trigger_location): function get_right_driving_lane (line 60) | def get_right_driving_lane(waypoint): function is_lane_a_parking (line 85) | def is_lane_a_parking(waypoint): class VehicleTurningRight (line 107) | class VehicleTurningRight(BasicScenario): method __init__ (line 118) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 146) | def _initialize_actors(self, config): method _create_behavior (line 192) | def _create_behavior(self): method _create_test_criteria (line 256) | def _create_test_criteria(self): method __del__ (line 267) | def __del__(self): class VehicleTurningLeft (line 274) | class VehicleTurningLeft(BasicScenario): method __init__ (line 285) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 313) | def _initialize_actors(self, config): method _create_behavior (line 359) | def _create_behavior(self): method _create_test_criteria (line 423) | def _create_test_criteria(self): method __del__ (line 434) | def __del__(self): class VehicleTurningRoute (line 441) | class VehicleTurningRoute(BasicScenario): method __init__ (line 453) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 481) | def _initialize_actors(self, config): method _create_behavior (line 527) | def _create_behavior(self): method _create_test_criteria (line 591) | def _create_test_criteria(self): method __del__ (line 602) | def __del__(self): FILE: scenario_runner/srunner/scenarios/object_crash_vehicle.py class StationaryObjectCrossing (line 33) | class StationaryObjectCrossing(BasicScenario): method __init__ (line 44) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 66) | def _initialize_actors(self, config): method _create_behavior (line 87) | def _create_behavior(self): method _create_test_criteria (line 114) | def _create_test_criteria(self): method __del__ (line 126) | def __del__(self): class DynamicObjectCrossing (line 133) | class DynamicObjectCrossing(BasicScenario): method __init__ (line 144) | def __init__(self, world, ego_vehicles, config, randomize=False, method _calculate_base_transform (line 179) | def _calculate_base_transform(self, _start_distance, waypoint): method _spawn_adversary (line 201) | def _spawn_adversary(self, transform, orientation_yaw): method _spawn_blocker (line 218) | def _spawn_blocker(self, transform, orientation_yaw): method _initialize_actors (line 243) | def _initialize_actors(self, config): method _create_behavior (line 303) | def _create_behavior(self): method _create_test_criteria (line 388) | def _create_test_criteria(self): method __del__ (line 400) | def __del__(self): FILE: scenario_runner/srunner/scenarios/open_scenario.py function repeatable_behavior (line 25) | def repeatable_behavior(behaviour, name=None): class ClearBlackboardVariablesStartingWith (line 46) | class ClearBlackboardVariablesStartingWith(py_trees.behaviours.Success): method __init__ (line 56) | def __init__(self, method initialise (line 63) | def initialise(self): class StoryElementStatusToBlackboard (line 73) | class StoryElementStatusToBlackboard(Decorator): method __init__ (line 84) | def __init__(self, child, story_element_type, element_name): method initialise (line 90) | def initialise(self): method update (line 101) | def update(self): method terminate (line 108) | def terminate(self, new_status): function get_xml_path (line 147) | def get_xml_path(tree, node): class OpenScenario (line 170) | class OpenScenario(BasicScenario): method __init__ (line 176) | def __init__(self, world, ego_vehicles, config, config_file, debug_mod... method _initialize_environment (line 190) | def _initialize_environment(self, world): method _create_environment_behavior (line 196) | def _create_environment_behavior(self): method _create_init_behavior (line 211) | def _create_init_behavior(self): method _create_behavior (line 245) | def _create_behavior(self): method _create_condition_container (line 396) | def _create_condition_container(self, node, name='Conditions Group', s... method _create_test_criteria (line 430) | def _create_test_criteria(self): method __del__ (line 451) | def __del__(self): FILE: scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py class OppositeVehicleRunningRedLight (line 36) | class OppositeVehicleRunningRedLight(BasicScenario): method __init__ (line 61) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 99) | def _initialize_actors(self, config): method _create_behavior (line 112) | def _create_behavior(self): method _create_test_criteria (line 195) | def _create_test_criteria(self): method __del__ (line 222) | def __del__(self): FILE: scenario_runner/srunner/scenarios/other_leading_vehicle.py class OtherLeadingVehicle (line 33) | class OtherLeadingVehicle(BasicScenario): method __init__ (line 43) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 69) | def _initialize_actors(self, config): method _create_behavior (line 91) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 150) | def __del__(self): FILE: scenario_runner/srunner/scenarios/route_scenario.py function convert_json_to_transform (line 67) | def convert_json_to_transform(actor_dict): function convert_json_to_actor (line 76) | def convert_json_to_actor(actor_dict): function convert_transform_to_location (line 89) | def convert_transform_to_location(transform_vec): function compare_scenarios (line 100) | def compare_scenarios(scenario_choice, existent_scenario): class RouteScenario (line 138) | class RouteScenario(BasicScenario): method __init__ (line 145) | def __init__(self, world, config, debug_mode=False, criteria_enable=Tr... method _update_route (line 174) | def _update_route(self, world, config, debug_mode): method _update_ego_vehicle (line 206) | def _update_ego_vehicle(self): method _estimate_route_timeout (line 220) | def _estimate_route_timeout(self): method _draw_waypoints (line 235) | def _draw_waypoints(self, world, waypoints, vertical_shift, persistenc... method _scenario_sampling (line 264) | def _scenario_sampling(self, potential_scenarios_definitions, random_s... method _build_scenario_instances (line 303) | def _build_scenario_instances(self, world, ego_vehicle, scenario_defin... method _get_actors_instances (line 362) | def _get_actors_instances(self, list_of_antagonist_actors): method _initialize_actors (line 392) | def _initialize_actors(self, config): method _create_behavior (line 435) | def _create_behavior(self): method _create_test_criteria (line 479) | def _create_test_criteria(self): method __del__ (line 517) | def __del__(self): FILE: scenario_runner/srunner/scenarios/signalized_junction_left_turn.py class SignalizedJunctionLeftTurn (line 30) | class SignalizedJunctionLeftTurn(BasicScenario): method __init__ (line 42) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 89) | def _create_behavior(self): method _create_test_criteria (line 136) | def _create_test_criteria(self): method __del__ (line 148) | def __del__(self): FILE: scenario_runner/srunner/scenarios/signalized_junction_right_turn.py class SignalizedJunctionRightTurn (line 35) | class SignalizedJunctionRightTurn(BasicScenario): method __init__ (line 45) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 78) | def _initialize_actors(self, config): method _create_behavior (line 92) | def _create_behavior(self): method _create_test_criteria (line 148) | def _create_test_criteria(self): method __del__ (line 160) | def __del__(self): FILE: scenario_runner/srunner/tools/openscenario_parser.py class OpenScenarioParser (line 69) | class OpenScenarioParser(object): method get_traffic_light_from_osc_name (line 98) | def get_traffic_light_from_osc_name(name): method set_osc_filepath (line 130) | def set_osc_filepath(filepath): method set_use_carla_coordinate_system (line 138) | def set_use_carla_coordinate_system(): method set_parameters (line 147) | def set_parameters(xml_tree, additional_parameter_dict=None): method set_global_parameters (line 189) | def set_global_parameters(parameter_dict): method get_catalog_entry (line 199) | def get_catalog_entry(catalogs, catalog_reference): method assign_catalog_parameters (line 219) | def assign_catalog_parameters(entry_instance, catalog_reference): method get_friction_from_env_action (line 260) | def get_friction_from_env_action(xml_tree, catalogs): method get_weather_from_env_action (line 289) | def get_weather_from_env_action(xml_tree, catalogs): method get_controller (line 340) | def get_controller(xml_tree, catalogs): method get_route (line 379) | def get_route(xml_tree, catalogs): method convert_position_to_transform (line 411) | def convert_position_to_transform(position, actor_list=None): method convert_condition_to_atomic (line 590) | def convert_condition_to_atomic(condition, actor_list): method convert_maneuver_to_atomic (line 895) | def convert_maneuver_to_atomic(action, actor, catalogs): FILE: scenario_runner/srunner/tools/py_trees_port.py class Decorator (line 18) | class Decorator(py_trees.behaviour.Behaviour): method __init__ (line 28) | def __init__(self, child, name): method tick (line 48) | def tick(self): method stop (line 74) | def stop(self, new_status=py_trees.common.Status.INVALID): method tip (line 91) | def tip(self): function oneshot_behavior (line 103) | def oneshot_behavior(variable_name, behaviour, name=None): FILE: scenario_runner/srunner/tools/route_manipulation.py function _location_to_gps (line 22) | def _location_to_gps(lat_ref, lon_ref, location): function location_route_to_gps (line 45) | def location_route_to_gps(route, lat_ref, lon_ref): function _get_latlon_ref (line 62) | def _get_latlon_ref(world): function downsample_route (line 87) | def downsample_route(route, sample_factor): function interpolate_trajectory (line 133) | def interpolate_trajectory(world, waypoints_trajectory, hop_resolution=1... FILE: scenario_runner/srunner/tools/route_parser.py class RouteParser (line 23) | class RouteParser(object): method parse_annotations_file (line 30) | def parse_annotations_file(annotation_filename): method parse_routes_file (line 48) | def parse_routes_file(route_filename, scenario_file, single_route=None): method parse_weather (line 83) | def parse_weather(route): method check_trigger_position (line 120) | def check_trigger_position(new_trigger, existing_triggers): method convert_waypoint_float (line 142) | def convert_waypoint_float(waypoint): method match_world_location_to_route (line 152) | def match_world_location_to_route(world_location, route_description): method get_scenario_type (line 182) | def get_scenario_type(scenario, match_position, trajectory): method scan_route_for_scenarios (line 263) | def scan_route_for_scenarios(route_name, trajectory, world_annotations): FILE: scenario_runner/srunner/tools/scenario_helper.py function get_distance_along_route (line 25) | def get_distance_along_route(route, target_location): function get_crossing_point (line 121) | def get_crossing_point(actor): function get_geometric_linear_intersection (line 138) | def get_geometric_linear_intersection(ego_actor, other_actor): function get_location_in_distance (line 172) | def get_location_in_distance(actor, distance): function get_location_in_distance_from_wp (line 189) | def get_location_in_distance_from_wp(waypoint, distance, stop_at_junctio... function get_waypoint_in_distance (line 209) | def get_waypoint_in_distance(waypoint, distance): function generate_target_waypoint_list (line 224) | def generate_target_waypoint_list(waypoint, turn=0): function generate_target_waypoint_list_multilane (line 259) | def generate_target_waypoint_list_multilane(waypoint, change='left', function generate_target_waypoint (line 318) | def generate_target_waypoint(waypoint, turn=0): function generate_target_waypoint_in_route (line 343) | def generate_target_waypoint_in_route(waypoint, route): function choose_at_junction (line 382) | def choose_at_junction(current_waypoint, next_choices, direction=0): function get_intersection (line 412) | def get_intersection(ego_actor, other_actor): function detect_lane_obstacle (line 445) | def detect_lane_obstacle(actor, extension_factor=3, margin=1.02): class RotatedRectangle (line 483) | class RotatedRectangle(object): method __init__ (line 489) | def __init__(self, c_x, c_y, width, height, angle): method get_contour (line 496) | def get_contour(self): method intersection (line 506) | def intersection(self, other): FILE: scenario_runner/srunner/tools/scenario_parser.py class ScenarioConfigurationParser (line 20) | class ScenarioConfigurationParser(object): method parse_scenario_configuration (line 27) | def parse_scenario_configuration(scenario_name, config_file_name): method get_list_of_scenarios (line 103) | def get_list_of_scenarios(config_file_name):