Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adept-thu/DIVER
/ functions
Functions
2,470 in github.com/adept-thu/DIVER
⨍
Functions
2,470
◇
Types & classes
452
↓ 1 callers
Method
_clear_junction_middle
Clears the junction, and all subsequent actors that enter it
scenario_runner/srunner/scenarios/background_activity.py:1964
↓ 1 callers
Method
_cls_cost
(self, cls_pred, cls_target)
mmdet3d_plugin/models/detection3d/target.py:122
↓ 1 callers
Function
_compute_connection
Compute the type of topological connection between an active waypoint (current_waypoint) and a target waypoint (next_waypoint). :param c
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:309
↓ 1 callers
Method
_compute_next_waypoints
Add new waypoints to the trajectory queue. :param k: how many waypoints to compute :return:
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:150
↓ 1 callers
Method
_compute_parameters
Computes the parameters that are dependent on the speed of the ego.
scenario_runner/srunner/scenarios/background_activity.py:1733
↓ 1 callers
Method
_compute_scale
(self, scale_factor)
scenario_runner/no_rendering_mode.py:1126
↓ 1 callers
Method
_count_collisions
Update collision count
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:359
↓ 1 callers
Method
_count_lane_invasion
Callback to update lane invasion count
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:526
↓ 1 callers
Method
_create_behavior
Pure virtual function to setup user-defined scenario behavior
scenario_runner/srunner/scenarios/basic_scenario.py:211
↓ 1 callers
Method
_create_cones_side
Creates the cones at the side
scenario_runner/srunner/scenarios/construction_crash_vehicle.py:135
↓ 1 callers
Method
_create_construction_setup
Create construction setup
scenario_runner/srunner/scenarios/construction_crash_vehicle.py:155
↓ 1 callers
Method
_create_criterion_tree
We can make use of the blackboard variables used by the behaviors themselves, as we already have an atomic that handles their (de)act
leaderboard/leaderboard/scenarios/route_scenario.py:465
↓ 1 callers
Method
_create_criterion_tree
We can make use of the blackboard variables used by the behaviors themselves, as we already have an atomic that handles their (de)act
scenario_runner/srunner/scenarios/route_scenario.py:355
↓ 1 callers
Method
_create_environment_behavior
(self)
scenario_runner/srunner/scenarios/open_scenario.py:224
↓ 1 callers
Method
_create_init_behavior
(self)
scenario_runner/srunner/scenarios/open_scenario.py:239
↓ 1 callers
Method
_create_junction_dict
Extracts the junctions the ego vehicle will pass through.
scenario_runner/srunner/scenarios/background_activity.py:362
↓ 1 callers
Method
_create_lights_behavior
Default empty initialization of the lights behavior, responsible of controlling the street lights during the simulation. Over
scenario_runner/srunner/scenarios/basic_scenario.py:236
↓ 1 callers
Method
_create_metric
Pure virtual function to setup the metrics by the user. Args: town_map (carla.Map): Map of the simulation. Used to acces
scenario_runner/srunner/metrics/examples/basic_metric.py:31
↓ 1 callers
Method
_create_obstacle
(self)
scenario_runner/srunner/scenarios/invading_turn.py:112
↓ 1 callers
Method
_create_test_criteria
Pure virtual function to setup user-defined evaluation criteria for the scenario
scenario_runner/srunner/scenarios/basic_scenario.py:219
↓ 1 callers
Method
_create_timeout_behavior
Default initialization of the timeout behavior. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/basic_scenario.py:244
↓ 1 callers
Method
_create_weather_behavior
Default empty initialization of the weather behavior, responsible of controlling the weather during the simulation. Override
scenario_runner/srunner/scenarios/basic_scenario.py:228
↓ 1 callers
Method
_destroy_walker
(self, walker, controller)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4252
↓ 1 callers
Method
_draw_waypoints
Draw a list of waypoints at a certain height given in vertical_shift.
leaderboard/leaderboard/scenarios/route_scenario.py:241
↓ 1 callers
Method
_draw_waypoints
Draw a list of waypoints at a certain height given in vertical_shift.
scenario_runner/srunner/scenarios/route_scenario.py:145
↓ 1 callers
Method
_end_junction_behavior
Destroys unneeded actors (those that aren't part of the route's road), moving the rest to other data structures and cleaning up the v
scenario_runner/srunner/scenarios/background_activity.py:873
↓ 1 callers
Method
_estimate_route_timeout
Estimate the duration of the route, as a proportinal value of its length
scenario_runner/srunner/scenarios/route_scenario.py:131
↓ 1 callers
Method
_evaluate_single_motion
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:778
↓ 1 callers
Method
_evaluate_single_motion
Evaluation for a single model in nuScenes protocol. Args: result_path (str): Path of the result file. logger (logging
mmdet3d_plugin/datasets/b2d_3d_dataset.py:842
↓ 1 callers
Method
_extent_road_exit_space
Increases the space left by the exit vehicles at a specific road
scenario_runner/srunner/scenarios/background_activity.py:2086
↓ 1 callers
Function
_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_1_10.py:200
↓ 1 callers
Function
_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
adzoo/sparsedrive/tools/data_converter/nuscenes_converter.py:194
↓ 1 callers
Function
_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_hrad_planing_scene.py:197
↓ 1 callers
Function
_fill_trainval_infos
Generate the train/val infos from the raw data. Args: nusc (:obj:`NuScenes`): Dataset class in the nuScenes dataset. train_scenes
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_6s.py:194
↓ 1 callers
Method
_filter_fake_junctions
Filters fake junctions. A fake junction is that which has no intersecting maneuvers (i.e, no two maneuvers start / end at the same la
scenario_runner/srunner/scenarios/background_activity.py:414
↓ 1 callers
Method
_filter_scenarios
Given a list of scenarios, filters out does that don't make sense to be triggered, as they are either too far from the route or don't
leaderboard/leaderboard/scenarios/route_scenario.py:124
↓ 1 callers
Method
_filter_scenarios
Given a list of scenarios, filters out does that don't make sense to be triggered, as they are either too far from the route or don't
scenario_runner/srunner/scenarios/route_scenario.py:101
↓ 1 callers
Method
_find_loose_ends
This method finds road segments that have an unconnected end, and adds them to the internal graph representation
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:173
↓ 1 callers
Method
_get_actor_transform
Get the initial actor transform provided by the Init section Note: - The OpenScenario specification allows multiple definitions. We
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:339
↓ 1 callers
Method
_get_acummulated_percentages
Gets the accumulated percentage of each of the route transforms
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1550
↓ 1 callers
Method
_get_blocker_transform
Processes the driving wp to get a waypoint at the side that looks at the road
scenario_runner/srunner/scenarios/object_crash_vehicle.py:426
↓ 1 callers
Method
_get_complex_junctions
Function to hardcode the topology of some complex junctions. This is done for the roundabouts, as the current API doesn't offer that
scenario_runner/srunner/scenarios/background_activity.py:492
↓ 1 callers
Method
_get_criteria
Parses the criteria argument into a dictionary
scenario_runner/metrics_manager.py:81
↓ 1 callers
Method
_get_data_from_carla
(self)
scenario_runner/no_rendering_mode.py:819
↓ 1 callers
Method
_get_displaced_location
Calculates the transforming such that the actor is at the sidemost part of the lane
scenario_runner/srunner/scenarios/vehicle_opens_door.py:86
↓ 1 callers
Method
_get_entry_exit_route_lanes
(self, wp, route)
scenario_runner/srunner/scenarios/actor_flow.py:531
↓ 1 callers
Method
_get_fake_lane_pairs
Gets a list of entry-exit lanes of the fake junctions
scenario_runner/srunner/scenarios/background_activity.py:580
↓ 1 callers
Method
_get_forward_speed
Convert the vehicle transform directly to forward speed
leaderboard/leaderboard/envs/sensor_interface.py:96
↓ 1 callers
Method
_get_junction_entry_wp
(self, entry_wp)
scenario_runner/srunner/scenarios/actor_flow.py:653
↓ 1 callers
Method
_get_junction_exit_wp
(self, exit_wp)
scenario_runner/srunner/scenarios/actor_flow.py:661
↓ 1 callers
Method
_get_junctions_data
Gets all the junctions the ego passes through
scenario_runner/srunner/scenarios/background_activity.py:371
↓ 1 callers
Function
_get_latlon_ref
Convert from waypoints world coordinates to CARLA GPS coordinates :return: tuple with lat and lon coordinates
leaderboard/leaderboard/utils/route_manipulation.py:60
↓ 1 callers
Function
_get_latlon_ref
Convert from waypoints world coordinates to CARLA GPS coordinates :return: tuple with lat and lon coordinates
scenario_runner/srunner/tools/route_manipulation.py:62
↓ 1 callers
Method
_get_metric_class
Function to extract the metrics class from the path given by the metrics argument. Returns the first class found that is a child of B
scenario_runner/metrics_manager.py:93
↓ 1 callers
Method
_get_night_mode
Check wheather or not the street lights need to be turned on
scenario_runner/srunner/scenariomanager/lights_sim.py:70
↓ 1 callers
Method
_get_parking_slots
Spawn parked vehicles.
leaderboard/leaderboard/scenarios/route_scenario.py:163
↓ 1 callers
Method
_get_recorder
Parses the log argument into readable information
scenario_runner/metrics_manager.py:60
↓ 1 callers
Method
_get_recorder_map
Returns the name of the map the simulation took place in
scenario_runner/metrics_manager.py:116
↓ 1 callers
Method
_get_route
Gets the route from the configuration, interpolating it to the desired density, saving it to the CarlaDataProvider and sending it to
leaderboard/leaderboard/scenarios/route_scenario.py:109
↓ 1 callers
Method
_get_route
Gets the route from the configuration, interpolating it to the desired density, saving it to the CarlaDataProvider and sending it to
scenario_runner/srunner/scenarios/route_scenario.py:84
↓ 1 callers
Method
_get_route_data
Extract the information from the route
scenario_runner/srunner/scenarios/background_activity.py:262
↓ 1 callers
Method
_get_route_percentages
Calculate the accumulated distance percentage at each point in the route
scenario_runner/srunner/scenariomanager/weather_sim.py:218
↓ 1 callers
Method
_get_scenario_class_or_fail
Get scenario class by scenario name If scenario is not supported or not found, exit script
scenario_runner/scenario_runner.py:152
↓ 1 callers
Method
_get_target_waypoint
Gets the first waypoint after the junction. This method depends on the subtype of VehicleTurning scenario
scenario_runner/srunner/scenarios/object_crash_intersection.py:100
↓ 1 callers
Method
_get_traffic_lights
Get the traffic light of the junction, mapping their states
scenario_runner/srunner/scenarios/green_traffic_light.py:67
↓ 1 callers
Method
_get_traffic_lights
Get the traffic light of the junction, mapping their states
scenario_runner/srunner/scenarios/cross_bicycle_flow.py:141
↓ 1 callers
Method
_get_walker_transform
Processes the driving wp to get a waypoint at the side that looks at the road
scenario_runner/srunner/scenarios/object_crash_vehicle.py:441
↓ 1 callers
Method
_get_walker_transform
(self, wp, displacement)
scenario_runner/srunner/scenarios/pedestrian_crossing.py:86
↓ 1 callers
Method
_get_waypoints
Returns a list of waypoints starting from the ego location and a set amount forward
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1888
↓ 1 callers
Method
_get_weights
(self, instance_feature, anchor_embed, metas=None)
mmdet3d_plugin/models/blocks.py:164
↓ 1 callers
Method
_get_weights
(self, instance_feature, metas=None)
mmdet3d_plugin/models/motion/diff_motion_blocks.py:434
↓ 1 callers
Method
_group_indices_per_global_sample_idx
(self, global_sample_idx)
mmdet3d_plugin/datasets/samplers/group_in_batch_sampler.py:115
↓ 1 callers
Method
_handle_junction_scenario
Adapts the BA to the junction scenario by clearing the junction, its entries, exits, and by extending the road exit to add more space
scenario_runner/srunner/scenarios/background_activity.py:1936
↓ 1 callers
Method
_img_transform
(self, img, aug_configs)
mmdet3d_plugin/datasets/pipelines/transform.py:79
↓ 1 callers
Method
_img_transform
(self, img, aug_configs)
mmdet3d_plugin/datasets/pipelines/augment.py:38
↓ 1 callers
Function
_in_projection_packed
(q, k, v, w, b = None)
mmdet3d_plugin/models/attention.py:27
↓ 1 callers
Method
_infinite_group_indices
(self)
mmdet3d_plugin/datasets/samplers/group_in_batch_sampler.py:109
↓ 1 callers
Method
_init
(self)
leaderboard/team_code/sparsedrive_b2d_agent.py:240
↓ 1 callers
Method
_init_controller
Controller initialization
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:114
↓ 1 callers
Method
_init_data_params
(self)
scenario_runner/no_rendering_mode.py:306
↓ 1 callers
Method
_init_hud_params
(self)
scenario_runner/no_rendering_mode.py:294
↓ 1 callers
Method
_initialise_connecting_lanes
Moves the actors currently at the exit lane of the last junction to entry actors of the newly created junction
scenario_runner/srunner/scenarios/background_activity.py:949
↓ 1 callers
Method
_initialise_junction_exits
Computes and stores the max capacity of the exit. Prepares the behavior of the next road by creating actors at the route exit, and th
scenario_runner/srunner/scenarios/background_activity.py:1242
↓ 1 callers
Method
_initialise_junction_sources
Initializes the actor sources to ensure the junction is always populated. They are placed at certain distance from the junction, but
scenario_runner/srunner/scenarios/background_activity.py:1204
↓ 1 callers
Method
_initialise_road_behavior
Initialises the road behavior, consisting on several vehicle in front of the ego, and several on the back and are only spawned outsid
scenario_runner/srunner/scenarios/background_activity.py:1121
↓ 1 callers
Method
_initialize_actors
Default initialization of other actors. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/left_turn_enter_flow.py:85
↓ 1 callers
Method
_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py:77
↓ 1 callers
Method
_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:86
↓ 1 callers
Method
_initialize_actors
Default initialization of other actors. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:85
↓ 1 callers
Method
_initialize_actors
Default initialization of other actors. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/basic_scenario.py:161
↓ 1 callers
Method
_initialize_environment
Default initialization of weather and road friction. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/basic_scenario.py:138
↓ 1 callers
Method
_initialize_parameters
Parse ParameterAction from Init and update global osc parameters.
scenario_runner/srunner/scenarios/open_scenario.py:192
↓ 1 callers
Method
_is_at_wrong_lane
Detects if the ego_vehicle has invaded a wrong lane
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1128
↓ 1 callers
Method
_is_outside_driving_lanes
Detects if the ego_vehicle is outside driving lanes
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1106
↓ 1 callers
Method
_is_quit_shortcut
(key)
scenario_runner/manual_control.py:364
↓ 1 callers
Method
_is_quit_shortcut
(key)
scenario_runner/no_rendering_mode.py:1361
↓ 1 callers
Method
_join_complex_junctions
Joins complex junctions into one. This makes it such that all the junctions, as well as their connecting lanes, are treated as the sa
scenario_runner/srunner/scenarios/background_activity.py:537
↓ 1 callers
Method
_json_to_control
(self)
leaderboard/leaderboard/autoagents/human_agent.py:227
↓ 1 callers
Method
_json_to_control
Parses the json file into a list of carla.VehicleControl
scenario_runner/srunner/autoagents/human_agent.py:180
↓ 1 callers
Method
_lane_change_link
This method places zero cost links in the topology graph representing availability of lane changes.
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:217
← previous
next →
501–600 of 2,470, ranked by callers