MCPcopy Create free account

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

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

↓ 2 callersMethod_decide_interval
(self, runner)
mmdet3d_plugin/core/evaluation/eval_hooks.py:40
↓ 2 callersMethod_destroy_walker
(self, walker, controller)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4174
↓ 2 callersMethod_evaluate_single
( self, result_path, logger=None, result_name="img_bbox", tracking=False )
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:533
↓ 2 callersMethod_evaluate_single
( self, result_path, logger=None, result_name="img_bbox", tracking=False )
mmdet3d_plugin/datasets/b2d_3d_dataset.py:581
↓ 2 callersMethod_extract_misc_information
Helper function to _set_actor_information for getting vehicle information from XML tree
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:324
↓ 2 callersMethod_extract_nodes_from_tree
Returns the list of all nodes from the given tree
scenario_runner/srunner/scenarios/basic_scenario.py:277
↓ 2 callersMethod_extract_pedestrian_information
Helper function to _set_actor_information for getting pedestrian information from XML tree
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:313
↓ 2 callersMethod_extract_vehicle_information
Helper function to _set_actor_information for getting vehicle information from XML tree
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:290
↓ 2 callersMethod_format_bbox
(self, results, jsonfile_prefix=None, tracking=False)
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:449
↓ 2 callersMethod_format_bbox
(self, results, jsonfile_prefix=None, tracking=False)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:540
↓ 2 callersMethod_get_actor_speed
Get the initial actor speed provided by the Init section
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:377
↓ 2 callersMethod_get_displaced_location
Calculates the location such that the actor is at the sidemost part of the lane
scenario_runner/srunner/scenarios/parking_cut_in.py:115
↓ 2 callersMethod_get_road_radius
Computes the min and max radius of the road behaviorm which will determine the speed of the vehicles. Vehicles closer than the min ra
scenario_runner/srunner/scenarios/background_activity.py:282
↓ 2 callersMethod_get_sidewalk_transform
Processes the waypoint transform to find a suitable spawning one at the sidewalk. It first rotates the transform so that it is pointi
scenario_runner/srunner/scenarios/object_crash_vehicle.py:193
↓ 2 callersMethod_initialise_opposite_sources
All opposite lanes have actor sources that will continually create vehicles, creating the sensation of permanent traffic. The actor s
scenario_runner/srunner/scenarios/background_activity.py:1158
↓ 2 callersMethod_initialise_road_checker
Gets the waypoints in front of the ego to continuously check if the road changes
scenario_runner/srunner/scenarios/background_activity.py:1185
↓ 2 callersMethod_is_matching
Returns: True when pattern is matching with text
scenario_runner/srunner/tools/openscenario_parser.py:113
↓ 2 callersFunction_location_to_gps
Convert from world coordinates to GPS coordinates :param lat_ref: latitude reference for the current map :param lon_ref: longitude refere
leaderboard/leaderboard/utils/route_manipulation.py:20
↓ 2 callersFunction_location_to_gps
Convert from world coordinates to GPS coordinates :param lat_ref: latitude reference for the current map :param lon_ref: longitude refere
scenario_runner/srunner/tools/route_manipulation.py:22
↓ 2 callersMethod_move_actors_forward
Teleports the actors forward a set distance
scenario_runner/srunner/scenarios/background_activity.py:1786
↓ 2 callersMethod_move_waypoint_forward
(self, wp, distance)
scenario_runner/srunner/scenarios/route_obstacles.py:318
↓ 2 callersMethod_move_waypoint_forward
(self, wp, distance)
scenario_runner/srunner/scenarios/route_obstacles.py:532
↓ 2 callersMethod_offset_waypoint
Given a transform (which should be the position of a waypoint), displaces it to the side, according to a given offset Args:
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:221
↓ 2 callersMethod_on_camera_update
Callback for the camera sensor Sets the OpenCV image (_cv_image). Requires conversion from BGRA to RGB.
scenario_runner/srunner/scenariomanager/actorcontrols/visualizer.py:94
↓ 2 callersMethod_preprocess_sensor_spec
(self, sensor_spec)
leaderboard/leaderboard/autoagents/agent_wrapper.py:149
↓ 2 callersMethod_render_command
(self, data)
adzoo/sparsedrive/tools/visualization/bev_render.py:427
↓ 2 callersMethod_render_legend
(self)
adzoo/sparsedrive/tools/visualization/bev_render.py:422
↓ 2 callersMethod_render_sdc_car
(self)
adzoo/sparsedrive/tools/visualization/bev_render.py:416
↓ 2 callersMethod_render_traj
(self, traj_points, cam_intrinsic, j, color=(1, 0.5, 0), s=150, points_per_step=10)
adzoo/sparsedrive/tools/visualization/cam_render.py:259
↓ 2 callersMethod_set_event_dict
Sets the dictionary of the event
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1329
↓ 2 callersMethod_set_event_message
Sets the message of the event
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1314
↓ 2 callersMethod_set_new_velocity
Calculate and set the new actor veloctiy given the current actor location and the _next_location_ If _consider_obstacles is
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:241
↓ 2 callersMethod_set_traffic_event
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:2058
↓ 2 callersMethod_spawn_actor
(self, transform)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2912
↓ 2 callersMethod_spawn_actor
Spawn the actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3329
↓ 2 callersMethod_spawn_obstacle
Spawns the obstacle actor by displacing its position to the right
scenario_runner/srunner/scenarios/route_obstacles.py:543
↓ 2 callersMethod_update_plan
Update the plan (waypoint list) of the LocalPlanner
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:48
↓ 2 callersFunctionaccumulate
Average Precision over predefined different recall thresholds for a single distance threshold. The recall/conf thresholds and other raw metri
mmdet3d_plugin/datasets/evaluation/motion/motion_utils.py:314
↓ 2 callersMethodadd_file_records
Reads a file and saves its records onto the statistics manager
leaderboard/leaderboard/utils/statistics_manager.py:208
↓ 2 callersMethodadd_label_ap
(self, detection_name: str, dist_th: float, ap: float)
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:302
↓ 2 callersMethodadd_label_tp
(self, detection_name: str, metric_name: str, tp: float)
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:308
↓ 2 callersMethodaffected_by_traffic_light
(self, traffic_light, center, window_size=50)
tools/data_collect.py:842
↓ 2 callersMethodanchor_projection
( self, anchor, T_src2dst_list, src_timestamp=None, dst_timestamps=Non
mmdet3d_plugin/models/motion/diff_motion_blocks.py:208
↓ 2 callersMethodanchor_projection
( self, anchor, T_src2dst_list, src_timestamp=None, dst_timestamps=Non
mmdet3d_plugin/models/map/map_blocks.py:173
↓ 2 callersFunctionautodetect_proxy
()
leaderboard/leaderboard/utils/checkpoint_tools.py:10
↓ 2 callersMethodblits
(destination_surface, source_surfaces, rect=None, blend_mode=0)
scenario_runner/no_rendering_mode.py:165
↓ 2 callersFunctionbuild_sampler
(cfg, default_args)
mmdet3d_plugin/datasets/samplers/sampler.py:6
↓ 2 callersMethodbuild_scenarios
Initializes the class of all the scenarios that will be present in the route. If a class fails to be initialized, a warning is printe
leaderboard/leaderboard/scenarios/route_scenario.py:294
↓ 2 callersFunctioncalc_tp
Calculates true positive errors.
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:729
↓ 2 callersMethodchange_parameters
Changes the PID parameters
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:253
↓ 2 callersMethodcheck_collision
(self, trajectories, agents, safe_distance=2.0)
mmdet3d_plugin/models/motion/motion_planning_head_DriveStyle.py:419
↓ 2 callersFunctionchoose_at_junction
This function chooses the appropriate waypoint from next_choices based on direction
scenario_runner/srunner/tools/scenario_helper.py:428
↓ 2 callersMethodclip_surfaces
(self, clipping_rect)
scenario_runner/no_rendering_mode.py:1121
↓ 2 callersFunctioncollect_results_gpu
(result_part, size)
mmdet3d_plugin/apis/test.py:170
↓ 2 callersMethodcompute
(self)
mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py:126
↓ 2 callersFunctioncompute_adaptive_eps
自动计算DBSCAN的eps参数
adzoo/sparsedrive/tools/kmeans/kmeans_plan_vis.py:19
↓ 2 callersFunctioncompute_comfort_metric
( acceleration, angular_velocity, forward_vector, right_vector, location, rotation,
tools/efficiency_smoothness_benchmark.py:65
↓ 2 callersMethodcompute_duration_time
Computes system and game duration times
leaderboard/leaderboard/scenarios/scenario_manager.py:270
↓ 2 callersMethodcompute_global_statistics
Computes and saves the global statistics of the routes
leaderboard/leaderboard/utils/statistics_manager.py:434
↓ 2 callersMethodcompute_route_statistics
Compute the current statistics by evaluating all relevant scenario criteria. Failure message will not be empty if an external source
leaderboard/leaderboard/utils/statistics_manager.py:342
↓ 2 callersMethodconvert_condition_to_atomic
Convert an OpenSCENARIO condition into a Behavior/Criterion atomic If there is a delay defined in the condition, then the condition
scenario_runner/srunner/tools/openscenario_parser.py:810
↓ 2 callersFunctionconvert_elem_to_location
Convert an ElementTree.Element to a CARLA Location
leaderboard/scripts/scenario_orderer.py:230
↓ 2 callersFunctioncorners_in_box
(boxes1, boxes2)
mmdet3d_plugin/models/motion/decoder.py:648
↓ 2 callersFunctioncummean
Computes the cumulative mean up to each position in a NaN sensitive way - If all values are NaN return an array of ones. - If some values
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:124
↓ 2 callersFunctioncustom_multi_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mode
mmdet3d_plugin/apis/test.py:49
↓ 2 callersMethoddiffusion_loss_fn
计算损失函数
mmdet3d_plugin/models/motion/motion_planning_head_DriveStyle.py:396
↓ 2 callersMethoddraw_arrow
(surface, transform, color=COLOR_ALUMINIUM_2)
scenario_runner/no_rendering_mode.py:568
↓ 2 callersFunctiondraw_dashed_line
Draw a dashed line on an image. Arguments: - img: The image on which to draw the dashed line. - start_point: The starting point of th
tools/utils.py:74
↓ 2 callersFunctiondraw_keypoint
(world, location)
leaderboard/scripts/route_displayer.py:61
↓ 2 callersFunctiondraw_point
(world, wp, color)
leaderboard/scripts/route_displayer.py:57
↓ 2 callersFunctiondraw_point
(world, wp, option)
leaderboard/scripts/route_creator.py:19
↓ 2 callersMethodencode_reg_target
(self, box_target, device=None)
mmdet3d_plugin/models/detection3d/target.py:48
↓ 2 callersMethodevaluate
( self, results, eval_mode, metric=None, logger=None, jsonfile
mmdet3d_plugin/datasets/b2d_3d_dataset.py:894
↓ 2 callersMethodevaluate_single_coll
(self, traj, fut_boxes)
mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py:73
↓ 2 callersMethodextract_feat
(self, img, return_depth=False, metas=None)
mmdet3d_plugin/models/sparsedrive.py:81
↓ 2 callersFunctionfind_free_port
(starting_port)
leaderboard/leaderboard/leaderboard_evaluator.py:54
↓ 2 callersMethodflush
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:50
↓ 2 callersMethodformat_results
(self, results, jsonfile_prefix=None, tracking=False)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:687
↓ 2 callersFunctionfuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
adzoo/sparsedrive/tools/fuse_conv_bn.py:11
↓ 2 callersMethodgenerate_safe_trajectories
(self, reg_target, gt_agent_fut_trajs, num_trajectories, safe_distance=2.0)
mmdet3d_plugin/models/motion/motion_planning_head_DriveStyle.py:1037
↓ 2 callersFunctiongenerate_target_waypoint_list_multilane
This methods generates a waypoint list which leads the vehicle to a parallel lane. The change input must be 'left' or 'right', depending on w
scenario_runner/srunner/tools/scenario_helper.py:282
↓ 2 callersFunctionget_T_global
(info)
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:1125
↓ 2 callersFunctionget_T_global
(info)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:1109
↓ 2 callersFunctionget_actor_display_name
(actor, truncate=250)
scenario_runner/no_rendering_mode.py:157
↓ 2 callersMethodget_actor_ids_with_role_name
Returns a list of actor ids that match the given role_name. Args: role_name (str): string with the desired role_name to
scenario_runner/srunner/metrics/tools/metrics_log.py:87
↓ 2 callersMethodget_contour
create contour
scenario_runner/srunner/tools/scenario_helper.py:818
↓ 2 callersMethodget_controller
Extract the object controller from the OSC XML or a catalog Args: xml_tree: Containing the controller information,
scenario_runner/srunner/tools/openscenario_parser.py:504
↓ 2 callersMethodget_data_info
(self, index)
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:303
↓ 2 callersMethodget_data_info
(self, index)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:291
↓ 2 callersFunctionget_distance_along_route
Calculate the distance of the given location along the route Note: If the location is not along the route, the route length will be returned
scenario_runner/srunner/tools/scenario_helper.py:25
↓ 2 callersMethodget_ego_vehicle_id
Returns the id of the ego vehicle.
scenario_runner/srunner/metrics/tools/metrics_log.py:81
↓ 2 callersFunctionget_forward_vector
(yaw)
tools/utils.py:44
↓ 2 callersMethodget_friction_from_env_action
Extract the CARLA road friction coefficient from an OSC EnvironmentAction Args: xml_tree: Containing the EnvironmentActi
scenario_runner/srunner/tools/openscenario_parser.py:414
↓ 2 callersFunctionget_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/route_obstacles.py:42
↓ 2 callersFunctionget_location_in_distance_from_wp
Obtain a location in a given distance from the current actor's location. Note: Search is stopped on first intersection. @return obtained
scenario_runner/srunner/tools/scenario_helper.py:208
↓ 2 callersMethodget_parking_slots
Returns occupied parking slots.
scenario_runner/srunner/scenarios/basic_scenario.py:332
↓ 2 callersFunctionget_sidewalk_transform
Processes the waypoint transform to find a suitable spawning one at the sidewalk. It first rotates the transform so that it is pointing towar
scenario_runner/srunner/scenarios/object_crash_intersection.py:37
↓ 2 callersMethodget_total_frame_count
Returns an int with the total amount of frames the simulation lasted.
scenario_runner/srunner/metrics/tools/metrics_log.py:52
↓ 2 callersMethodget_traffic_light_from_osc_name
Returns a carla.TrafficLight instance that matches the name given
scenario_runner/srunner/tools/openscenario_parser.py:255
↓ 2 callersFunctionget_troad_from_transform
This function finds the lateral road position (t) from actor_transform
scenario_runner/srunner/tools/scenario_helper.py:638
← previousnext →301–400 of 2,470, ranked by callers