MCPcopy Create free account

hub / github.com/adept-thu/DIVER / functions

Functions2,470 in github.com/adept-thu/DIVER

↓ 1 callersMethod_stop_road_back_vehicles
Stops all road vehicles behind the ego. Use `_start_road_back_vehicles` to make them move again.
scenario_runner/srunner/scenarios/background_activity.py:1767
↓ 1 callersMethod_stop_road_front_vehicles
Stops all road vehicles in front of the ego. Use `_start_road_front_vehicles` to make them move again.
scenario_runner/srunner/scenarios/background_activity.py:1740
↓ 1 callersMethod_successive_last_intersection_edge
This method returns the last successive intersection edge from a starting index on the route. This helps moving past tiny int
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:298
↓ 1 callersMethod_switch_route_sources
Disables all sources that are part of the ego's route
scenario_runner/srunner/scenarios/background_activity.py:1802
↓ 1 callersMethod_switch_to_junction_mode
Prepares the junction mode, removing all road behaviours. Actors that are stopped via a scenario will still wait.
scenario_runner/srunner/scenarios/background_activity.py:841
↓ 1 callersMethod_tailgating
This method is in charge of tailgating behaviors. :param location: current location of the agent :param waypoint: cu
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:150
↓ 1 callersMethod_tick_scenario
Run next tick of scenario and the agent and tick the world.
leaderboard/leaderboard/scenarios/scenario_manager.py:163
↓ 1 callersMethod_tick_scenario
Run next tick of scenario and the agent. If running synchornously, it also handles the ticking of the world.
scenario_runner/srunner/scenariomanager/scenario_manager.py:150
↓ 1 callersMethod_turn_all_lights_off
Turns off the lights of all object
scenario_runner/srunner/scenariomanager/lights_sim.py:134
↓ 1 callersMethod_turn_close_lights_on
Turns on the lights of all the objects close to the ego vehicle
scenario_runner/srunner/scenariomanager/lights_sim.py:91
↓ 1 callersMethod_turn_decision
This method returns the turn decision (RoadOption) for pair of edges around current index of route list
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:320
↓ 1 callersMethod_union_ped
merge close ped crossings. Args: ped_geoms (list): list of Polygon Returns: union_ped_geoms
mmdet3d_plugin/datasets/map_utils/nuscmap_extractor.py:36
↓ 1 callersMethod_update_ego_data
Checks the ego location to see if it has moved closer to the next route waypoint, updating its information. This never checks for bac
scenario_runner/srunner/scenarios/background_activity.py:2556
↓ 1 callersMethod_update_information
This method updates the information regarding the ego vehicle based on the surrounding world.
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:65
↓ 1 callersMethod_update_junction_actors
Handles an actor depending on their previous state. Actors entering the junction have its exit monitored through their waypoint. When
scenario_runner/srunner/scenarios/background_activity.py:2366
↓ 1 callersMethod_update_junction_sources
Checks the actor sources to see if new actors have to be created
scenario_runner/srunner/scenarios/background_activity.py:1298
↓ 1 callersMethod_update_offset
Update the plan (waypoint list) of the LocalPlanner
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:59
↓ 1 callersMethod_update_opposite_actors
Updates the opposite actors. This involves tracking their position, removing them if too far behind the ego.
scenario_runner/srunner/scenarios/background_activity.py:2471
↓ 1 callersMethod_update_opposite_sources
Checks the opposite actor sources to see if new actors have to be created
scenario_runner/srunner/scenarios/background_activity.py:1578
↓ 1 callersMethod_update_parameters
Changes those parameters that have dynamic behaviors and / or that can be changed by external source. This is done using py_trees' Bl
scenario_runner/srunner/scenarios/background_activity.py:1609
↓ 1 callersMethod_update_road_actors
Dynamically controls the actor speed in front of the ego. Not applied to those behind it so that they can catch up it
scenario_runner/srunner/scenarios/background_activity.py:2194
↓ 1 callersMethod_update_road_sources
Manages the sources that spawn actors behind the ego. These are always behind the ego and will continuously spawn actors. The
scenario_runner/srunner/scenarios/background_activity.py:1063
↓ 1 callersMethod_validate_openscenario_catalog_configuration
Validate the given OpenSCENARIO catalog config against the 1.0 XSD Note: This will throw if the catalog config is not valid. But thi
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:74
↓ 1 callersMethod_validate_openscenario_configuration
Validate the given OpenSCENARIO config against the 1.0 XSD Note: This will throw if the config is not valid. But this is fine here.
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:64
↓ 1 callersMethod_validate_result
Check that the current scenario configuration is valid
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:405
↓ 1 callersMethod_vehicle_obstacle_detected
Method to check if there is a vehicle in front of the agent blocking its path. :param vehicle_list (list of carla.Vehicle): list
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:251
↓ 1 callersMethod_write_to_junit
Writing to Junit XML
scenario_runner/srunner/scenariomanager/result_writer.py:206
↓ 1 callersMethod_write_to_reportjson
Write a machine-readable report to JSON The resulting report has the following format: { criteria: [
scenario_runner/srunner/scenariomanager/result_writer.py:137
↓ 1 callersMethodactor_id_exists
Check if a certain id is still at the simulation
scenario_runner/srunner/scenariomanager/carla_data_provider.py:773
↓ 1 callersMethodadd_blackboard
Adds new blackboards to the list. Used by the runtime initialization of scenarios
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3873
↓ 1 callersFunctionadd_data
(points, tmap, world, spectator, grp)
leaderboard/scripts/route_creator.py:82
↓ 1 callersMethodadd_emergency_stop
Overwrites the throttle a brake values of a control to perform an emergency stop. The steering is kept the same to avoid going out of
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:73
↓ 1 callersMethodadd_runtime
(self, eval_time: float)
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:314
↓ 1 callersMethodanalyze_scenario
Analyzes and prints the results of the route
leaderboard/leaderboard/scenarios/scenario_manager.py:280
↓ 1 callersMethodanalyze_scenario
This function is intended to be called from outside and provide the final statistics about the scenario (human-readable, in form of a
scenario_runner/srunner/scenariomanager/scenario_manager.py:201
↓ 1 callersFunctionangle_diff
Get the smallest angle difference between 2 angles: the angle from y to x. :param x: To angle. :param y: From angle. :param period: P
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:43
↓ 1 callersMethodanno2geom
(self, annos)
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:294
↓ 1 callersMethodanno2geom
(self, annos)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:282
↓ 1 callersMethodannotate_trafficlight_in_group
Get dictionary with traffic light group info for a given traffic light
scenario_runner/srunner/scenariomanager/carla_data_provider.py:317
↓ 1 callersFunctionapply_trans
(vec,world2ego)
adzoo/sparsedrive/tools/data_converter/B2D_converter.py:134
↓ 1 callersMethodassign
Computes one-to-one matching based on the weighted costs. This method assign each query prediction to a ground truth or
mmdet3d_plugin/models/map/target.py:115
↓ 1 callersMethodassign_catalog_parameters
Parse catalog_reference, and replace all parameter references in entry_instance by the values provided in catalog_reference.
scenario_runner/srunner/tools/openscenario_parser.py:373
↓ 1 callersFunctionattr_acc
Computes the classification accuracy for the attribute of this class (if any). If the GT class has no attributes or the annotation is missing
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:60
↓ 1 callersMethodaug_test
(self, img, **data)
mmdet3d_plugin/models/MomAD.py:143
↓ 1 callersMethodaug_test
(self, img, **data)
mmdet3d_plugin/models/sparsedrive.py:142
↓ 1 callersFunctionaverage_precision
Calculate average precision. Args: recalls (ndarray): shape (num_dets, ) precisions (ndarray): shape (num_dets, ) mode (
mmdet3d_plugin/datasets/evaluation/map/AP.py:6
↓ 1 callersMethodbox_rotate
(bbox_3d, angle)
mmdet3d_plugin/datasets/pipelines/augment.py:119
↓ 1 callersMethodbuild_camera_info
Private function to compute camera info camera info doesn't change over time
scenario_runner/srunner/autoagents/ros_agent.py:201
↓ 1 callersFunctionbuild_projection_matrix
(w, h, fov, is_behind_camera=False)
tools/utils.py:137
↓ 1 callersFunctionbuild_skeleton
(ped, sk_links)
tools/utils.py:181
↓ 1 callersMethodcache
( self, instance_feature, anchor, confidence, metas=None, feat
mmdet3d_plugin/models/instance_bank.py:195
↓ 1 callersMethodcache_dn
( self, dn_instance_feature, dn_anchor, dn_cls_target, valid_mask,
mmdet3d_plugin/models/detection3d/target.py:398
↓ 1 callersFunctioncalc_ap
Calculated average precision.
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:716
↓ 1 callersFunctioncalculate_cube_vertices
(center, extent)
adzoo/sparsedrive/tools/data_converter/B2D_converter.py:69
↓ 1 callersFunctioncalculate_occlusion_stats
Draws each vertex in vertices_pos2d if it is in front of the camera The color is based on whether the object is occluded or not. Retu
adzoo/sparsedrive/tools/data_converter/B2D_converter.py:84
↓ 1 callersFunctioncalculate_velocity
Method to calculate the velocity of a actor
scenario_runner/srunner/scenariomanager/carla_data_provider.py:25
↓ 1 callersMethodcar_following_manager
Module in charge of car-following behaviors when there's someone in front of us. :param vehicle: car to follow
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:253
↓ 1 callersFunctioncenter_distance
L2 distance between the box centers (xy only). :param gt_box: GT annotation sample. :param pred_box: Predicted sample. :return: L2 di
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:8
↓ 1 callersFunctionchamfer_distance_batch
Calculate chamfer distance between two group of lines. Make sure the lines are interpolated. Args: pred_lines (array or tensor): sh
mmdet3d_plugin/datasets/evaluation/map/distance.py:37
↓ 1 callersFunctioncheck_collision
ego_box: tensor with shape [7], [x, y, z, w, l, h, yaw] boxes: tensor with shape [N, 7]
mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py:13
↓ 1 callersFunctioncheck_duplicates
Checks that all route ids are present only once in the files
leaderboard/scripts/merge_statistics.py:7
↓ 1 callersFunctioncheck_missing_data
Checks that there is no missing data, by changing their route id to an integer
leaderboard/scripts/merge_statistics.py:14
↓ 1 callersMethodcheck_reached_waypoint_goal
Check if the actor reached the end of the waypoint list returns: True if the end was reached, False otherwise.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:93
↓ 1 callersFunctionchunk_array
(arr, m)
tools/efficiency_smoothness_benchmark.py:36
↓ 1 callersFunctionchunk_arrays
(arrays, m)
tools/efficiency_smoothness_benchmark.py:32
↓ 1 callersMethodcleanup
Reset all parameters
leaderboard/leaderboard/scenarios/scenario_manager.py:92
↓ 1 callersMethodcleanup
This function triggers a proper termination of a scenario
scenario_runner/srunner/scenariomanager/scenario_manager.py:79
↓ 1 callersMethodclear_modules
(self)
scenario_runner/no_rendering_mode.py:198
↓ 1 callersMethodclear_records
Cleanes up the file
leaderboard/leaderboard/utils/statistics_manager.py:218
↓ 1 callersFunctioncluster_trajectories
对轨迹数据进行自适应聚类,返回按簇大小排序的索引列表 参数: traj_array: 形状为[N,6,2]的轨迹数组 min_samples: DBSCAN的最小样本数参数 percentile: 用于自动计算eps的百分位数 返
adzoo/sparsedrive/tools/kmeans/kmeans_plan_vis.py:27
↓ 1 callersFunctioncluster_trajectories1
对轨迹数据进行自适应聚类,返回按簇大小排序的索引列表 参数: traj_array: 形状为[N,6,2]的轨迹数组 min_samples: DBSCAN的最小样本数参数 percentile: 用于自动计算eps的百分位数 返
adzoo/sparsedrive/tools/kmeans/kmeans_plan_vis.py:67
↓ 1 callersMethodcollision_and_car_avoid_manager
This module is in charge of warning in case of a collision and managing possible tailgating chances. :param location: cu
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:188
↓ 1 callersMethodcommand2hot
(self,command,max_dim=6)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:526
↓ 1 callersMethodcompute_L2
trajs: torch.Tensor (B, n_future, 3) gt_trajs: torch.Tensor (B, n_future, 3)
mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py:107
↓ 1 callersFunctioncompute_distance
Euclidean distance between 3D points :param location_1, location_2: 3D points
scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py:152
↓ 1 callersMethodcompute_reward
reg_all: Tensor [B, M, T, 2] - 多模态预测轨迹 data: 包含 'gt_agent_fut_trajs'(list)和 'gt_agent_fut_masks'(list) return: -
mmdet3d_plugin/models/motion/motion_planning_head_DriveStyle.py:1140
↓ 1 callersFunctioncompute_route_length
(route)
leaderboard/leaderboard/utils/statistics_manager.py:178
↓ 1 callersFunctionconditions_match
(weather, conditions)
tools/utils.py:122
↓ 1 callersFunctionconditions_match
(weather, conditions)
leaderboard/leaderboard/leaderboard_evaluator.py:68
↓ 1 callersMethodcontains_wp
Checks whether or not a carla.Waypoint is inside the junction
scenario_runner/srunner/scenarios/background_activity.py:154
↓ 1 callersFunctionconvert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/highway_cut_in.py:30
↓ 1 callersFunctionconvert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/cross_bicycle_flow.py:27
↓ 1 callersFunctionconvert_elem_to_location
Convert an ElementTree.Element to a CARLA Location
leaderboard/scripts/route_summarizer.py:40
↓ 1 callersFunctionconvert_elem_to_location
Convert an ElementTree.Element to a CARLA Location
leaderboard/scripts/route_creator.py:41
↓ 1 callersFunctionconvert_elem_to_location
Convert an ElementTree.Element to a CARLA Location
leaderboard/scripts/scenario_creator.py:209
↓ 1 callersFunctionconvert_elem_to_transform
Convert an ElementTree.Element to a CARLA transform
leaderboard/leaderboard/utils/route_parser.py:22
↓ 1 callersFunctionconvert_elem_to_transform
Convert an ElementTree.Element to a CARLA transform
scenario_runner/srunner/tools/route_parser.py:24
↓ 1 callersMethodconvert_maneuver_to_atomic
Convert an OpenSCENARIO maneuver action into a Behavior atomic Note not all OpenSCENARIO actions are currently supported
scenario_runner/srunner/tools/openscenario_parser.py:1108
↓ 1 callersFunctioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_1_10.py:70
↓ 1 callersFunctioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
adzoo/sparsedrive/tools/data_converter/nuscenes_converter.py:70
↓ 1 callersFunctioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_hrad_planing_scene.py:72
↓ 1 callersFunctioncreate_nuscenes_infos
Create info file of nuscene dataset. Given the raw data, generate its related info file in pkl format. Args: root_path (str): Path o
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_6s.py:70
↓ 1 callersMethodcreate_output_text
Creates the output message
leaderboard/leaderboard/utils/result_writer.py:58
↓ 1 callersMethodcreate_output_text
Creates the output message
scenario_runner/srunner/scenariomanager/result_writer.py:65
↓ 1 callersMethodcreate_route_data
Creates the basic route data. This is done at the beginning to ensure the data is saved, even if a crash occurs
leaderboard/leaderboard/utils/statistics_manager.py:313
↓ 1 callersFunctioncreate_scenarios
Creates new S7 to S10 by moving 5 meters backwards from an already existing S4. They have to be manually added to the json file but informati
leaderboard/scripts/manage_scenarios.py:65
↓ 1 callersFunctioncreate_video
(images_folder, output_video, fps, font_scale, text_color, text_position)
tools/generate_video.py:8
↓ 1 callersFunctioncustom_encode_mask_results
Encode bitmap mask to RLE code. Semantic Masks only Args: mask_results (list | tuple[list]): bitmap mask results. In mask scor
mmdet3d_plugin/apis/test.py:26
↓ 1 callersFunctioncustom_train_detector
( model, dataset, cfg, distributed=False, validate=False, timestamp=None, meta=Non
mmdet3d_plugin/apis/mmdet_train.py:38
↓ 1 callersMethoddecode
(self, depth)
mmdet3d_plugin/datasets/pipelines/transform.py:74
← previousnext →701–800 of 2,470, ranked by callers