MCPcopy Create free account

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

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

↓ 3 callersMethod_create_condition_container
This is a generic function to handle conditions utilising ConditionGroups Each ConditionGroup is represented as a Sequence of Conditi
scenario_runner/srunner/scenarios/open_scenario.py:449
↓ 3 callersMethod_find_closest_in_list
(self, current_waypoint, waypoint_list)
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:382
↓ 3 callersMethod_get_displaced_location
Calculates the transforming such that the actor is at the sidemost part of the lane
scenario_runner/srunner/scenarios/parking_exit.py:168
↓ 3 callersMethod_get_junction_entry_wp
For a junction waypoint, returns a waypoint outside of it that entrys into its lane
scenario_runner/srunner/scenarios/background_activity.py:604
↓ 3 callersMethod_get_junction_exit_wp
For a junction waypoint, returns a waypoint outside of it from which the lane exits the junction
scenario_runner/srunner/scenarios/background_activity.py:614
↓ 3 callersMethod_get_noise_parameters
Randomizes the mean to be either positive or negative
scenario_runner/srunner/scenarios/control_loss.py:106
↓ 3 callersMethod_initialise_actor
Save the actor into the needed structures, disable its lane changes and set the leading distance.
scenario_runner/srunner/scenarios/background_activity.py:2109
↓ 3 callersMethod_load_and_run_scenario
Load and run the scenario given by config
scenario_runner/scenario_runner.py:368
↓ 3 callersMethod_set_road_actor_speed
Changes the speed of the vehicle depending on its distance to the ego. - Front vehicles: Gradually reduces the speed the further they
scenario_runner/srunner/scenarios/background_activity.py:2236
↓ 3 callersMethod_spawn_actors
Spawns several actors in batch
scenario_runner/srunner/scenarios/background_activity.py:2140
↓ 3 callersMethod_spawn_obstacle
Spawns the obstacle actor by displacing its position to the right
scenario_runner/srunner/scenarios/route_obstacles.py:127
↓ 3 callersMethod_spawn_source_actor
Given a source, spawns an actor at that source
scenario_runner/srunner/scenarios/background_activity.py:2164
↓ 3 callersMethodadd_boxes
Adds a list of boxes.
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:539
↓ 3 callersMethodadd_info
(self, module_name, info)
scenario_runner/no_rendering_mode.py:317
↓ 3 callersMethodapply_batch_sync
(self, batch, sync_mode=False)
scenario_runner/srunner/tests/carla_mocks/carla.py:293
↓ 3 callersFunctioncheck_collision
A rough check for collision detection: check if any corner point of boxes1 is inside boxes2 and vice versa. box
mmdet3d_plugin/models/motion/decoder.py:634
↓ 3 callersMethodcleanup
Remove and destroy all sensors
scenario_runner/srunner/autoagents/agent_wrapper.py:87
↓ 3 callersFunctioncollect_results_cpu
(result_part, size, tmpdir=None)
mmdet3d_plugin/apis/test.py:122
↓ 3 callersFunctionconvert_elem_to_location
Convert an ElementTree.Element to a CARLA Location
leaderboard/scripts/route_displayer.py:68
↓ 3 callersMethodcreate_blueprint
Function to setup the blueprint of an actor given its model and other relevant parameters
scenario_runner/srunner/scenariomanager/carla_data_provider.py:467
↓ 3 callersFunctioncustom_build_dataset
(cfg, default_args=None)
mmdet3d_plugin/datasets/builder.py:154
↓ 3 callersFunctioncustom_train_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
mmdet3d_plugin/apis/train.py:12
↓ 3 callersMethoddestroy
Destroy (clean-up) the agent :return:
leaderboard/leaderboard/autoagents/ros2_agent.py:139
↓ 3 callersMethoddestroy
Cleanup and delete actors, ScenarioManager and CARLA world
scenario_runner/scenario_runner.py:131
↓ 3 callersMethoddiffusion_reverse_process
反向过程:去噪
mmdet3d_plugin/models/motion/motion_planning_head_DriveStyle.py:384
↓ 3 callersFunctiondraw_arrow
Utility function to draw debugging points
scenario_runner/srunner/scenarios/background_activity.py:93
↓ 3 callersFunctiondraw_keypoint
(world, location)
leaderboard/scripts/route_creator.py:35
↓ 3 callersFunctiondraw_lidar_bbox3d_on_bev
( bboxes_3d, bev_size, bev_range=115, color=(255, 0, 0), thickness=3)
mmdet3d_plugin/datasets/utils.py:155
↓ 3 callersFunctiondraw_lidar_bbox3d_on_img
Project the 3D bbox on 2D plane and draw on input image. Args: bboxes3d (:obj:`LiDARInstance3DBoxes`): 3d bbox in lidar coord
mmdet3d_plugin/datasets/utils.py:94
↓ 3 callersMethodemergency_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/behavior_agent.py:364
↓ 3 callersFunctionexit_game
()
scenario_runner/no_rendering_mode.py:1418
↓ 3 callersMethodextract_feat
(self, img, return_depth=False, metas=None)
mmdet3d_plugin/models/MomAD.py:81
↓ 3 callersFunctionfeature_maps_format
(feature_maps, inverse=False)
mmdet3d_plugin/ops/__init__.py:22
↓ 3 callersMethodgenerate_spawn_points
Generate spawn points for the current map
scenario_runner/srunner/scenariomanager/carla_data_provider.py:457
↓ 3 callersMethodget_actor_alive_frames
Returns a tuple with the first and last frame an actor was alive. It is important to note that frames start at 1, not 0. Arg
scenario_runner/srunner/metrics/tools/metrics_log.py:161
↓ 3 callersMethodget_actor_transform
Returns the transform of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:256
↓ 3 callersMethodget_actors
Return list of actors and their ids Note: iteritems from six is used to allow compatibility with Python 2 and 3
scenario_runner/srunner/scenariomanager/carla_data_provider.py:764
↓ 3 callersMethodget_augmentation
(self)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:220
↓ 3 callersFunctionget_best_reg
( reg_preds, reg_target, reg_weight, )
mmdet3d_plugin/models/motion/target.py:22
↓ 3 callersFunctionget_cls_target
( reg_preds, reg_target, reg_weight, )
mmdet3d_plugin/models/motion/target.py:8
↓ 3 callersMethodget_dict
returns the dictionary
scenario_runner/srunner/scenariomanager/traffic_events.py:82
↓ 3 callersMethodget_incoming_waypoint_and_direction
Returns direction and waypoint at a distance ahead defined by the user. :param steps: number of steps to get the incoming waypoi
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:262
↓ 3 callersMethodget_last_longitudinal_command
Get timestamp of the last issued longitudinal control command (target_speed) returns: Timestamp of last longitudinal con
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:143
↓ 3 callersMethodget_last_waypoint_command
Get timestamp of the last issued waypoint control command returns: Timestamp of last waypoint control command
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:152
↓ 3 callersMethodget_lateral_shifted_transform
(transform, shift)
tools/gen_hdmap.py:319
↓ 3 callersMethodget_lidar_points_in_bbox
Checks for a given vehicle in ego coordinate system, how many LiDAR hit there are in its bounding box. :param vehicle_pos: Relative p
tools/data_collect.py:1621
↓ 3 callersFunctionget_matrix
Creates matrix from carla transform.
tools/utils.py:203
↓ 3 callersMethodget_osc_global_param_value
returns updated global osc parameter value.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:107
↓ 3 callersFunctionget_relative_transform
Returns the position of the vehicle matrix in the ego coordinate system. :param ego_matrix: ndarray 4x4 Matrix of the ego vehicle in global
tools/utils.py:160
↓ 3 callersMethodget_running_status
returns: bool: False if watchdog exception occured, True otherwise
leaderboard/leaderboard/scenarios/scenario_manager.py:234
↓ 3 callersFunctionget_scenario_transform
(scenario_dict)
leaderboard/scripts/manage_scenarios.py:25
↓ 3 callersMethodget_spawn_points
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:136
↓ 3 callersMethodget_topology
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:148
↓ 3 callersFunctionget_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/vehicle_opens_door.py:36
↓ 3 callersFunctionget_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/construction_crash_vehicle.py:33
↓ 3 callersMethodget_wallclocktime
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:74
↓ 3 callersMethodinit_weights
(self)
mmdet3d_plugin/models/MomAD_head.py:33
↓ 3 callersMethodinitialise
Initialise the criterion. Can be extended by the user-derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:71
↓ 3 callersMethodis_runtime_init_mode
@return true if runtime init mode is used
scenario_runner/srunner/scenariomanager/carla_data_provider.py:282
↓ 3 callersFunctionlidar_nusc_box_to_global
( info, boxes, classes, eval_configs, eval_version="detection_cvpr_2019", filter_with_
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:1098
↓ 3 callersFunctionnormalize_angle
(x)
tools/utils.py:175
↓ 3 callersFunctionnuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
adzoo/sparsedrive/tools/data_converter/nuscenes_converter.py:514
↓ 3 callersFunctionnuscenes_data_prep
Prepare data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth databas
adzoo/sparsedrive/tools/data_converter/nuscenes_converter_6s.py:514
↓ 3 callersFunctionoutput_to_nusc_box
(detection, threshold=None)
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:1045
↓ 3 callersMethodpause
Pause the watchdog
scenario_runner/srunner/scenariomanager/watchdog.py:58
↓ 3 callersFunctionquaternion_yaw
Calculate the yaw angle from a quaternion. Note that this only works for a quaternion that represents a box in lidar or global coordinate fra
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:105
↓ 3 callersMethodregister_module
(self, module)
scenario_runner/no_rendering_mode.py:195
↓ 3 callersMethodrestart
(self)
scenario_runner/manual_control.py:138
↓ 3 callersMethodrun_step
Execute one step of navigation. :param debug: boolean for debugging :return control: carla.VehicleControl
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:296
↓ 3 callersMethodsave_progress
(self, route_index, total_routes)
leaderboard/leaderboard/utils/statistics_manager.py:309
↓ 3 callersMethodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/npc_agent.py:38
↓ 3 callersMethodset_client
Set the CARLA client
scenario_runner/srunner/scenariomanager/carla_data_provider.py:191
↓ 3 callersMethodset_parameters
Parse the xml_tree, and replace all parameter references with the actual values. Note: Parameter names must not start with "
scenario_runner/srunner/tools/openscenario_parser.py:304
↓ 3 callersMethodset_sensor
(self, index, notify=True, force_respawn=False)
scenario_runner/manual_control.py:806
↓ 3 callersMethodshow
(self, results, save_dir=None, show=False, pipeline=None)
mmdet3d_plugin/datasets/b2d_3d_dataset.py:999
↓ 3 callersMethodstart
Start the watchdog
scenario_runner/srunner/scenariomanager/watchdog.py:43
↓ 3 callersMethodstop
As with other composites, it checks if the child is running and stops it if that is the case. Args: new_status (:
scenario_runner/srunner/tools/py_trees_port.py:74
↓ 3 callersMethodtick
(self, clock)
scenario_runner/no_rendering_mode.py:314
↓ 3 callersMethodto_json
Return a JSON serializable object
leaderboard/leaderboard/utils/statistics_manager.py:157
↓ 3 callersMethodtrace_route
This method returns list of (carla.Waypoint, RoadOption) from origin to destination
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:41
↓ 3 callersMethodupdate_offset
Update the actor's waypoints Args: waypoints (List of carla.Transform): List of new waypoints.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:77
↓ 3 callersMethodupdate_waypoints
Update the actor's waypoints Args: waypoints (List of carla.Transform): List of new waypoints.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:67
↓ 2 callersMethod__init__
(self, tag, sensor_type, sensor, data_provider)
leaderboard/leaderboard/envs/sensor_interface.py:134
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/left_turn_enter_flow.py:52
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/open_scenario.py:178
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario and instantiate scenario manager
scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py:45
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:54
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:52
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/object_crash_vehicle.py:152
↓ 2 callersMethod__init__
Setup timeout
scenario_runner/srunner/scenariomanager/timer.py:142
↓ 2 callersMethod__init__
Class constructor
scenario_runner/srunner/scenariomanager/weather_sim.py:51
↓ 2 callersMethod__init__
( self, embed_dims=256, num_depth_layers=1, equal_focal=100, max_depth
mmdet3d_plugin/models/blocks.py:266
↓ 2 callersMethod__init__
(self, embed_dim, num_heads, bias=True, batch_first=True, attention_dropout=0.0, causal=False
mmdet3d_plugin/models/attention.py:103
↓ 2 callersMethod__init__
( self, embed_dims, vel_dims=3, mode="add", output_fc=True, in
mmdet3d_plugin/models/detection3d/detection3d_blocks.py:25
↓ 2 callersMethod__init__
( self, embed_dims=256, fut_ts=12, fut_mode=6, ego_fut_ts=6, e
mmdet3d_plugin/models/motion/motion_blocks.py:18
↓ 2 callersMethod__init__
(self, in_channels, hidden_unit, verbose=False)
mmdet3d_plugin/models/motion/motion_planning_head_MomAD.py:37
↓ 2 callersMethod__init__
( self, embed_dims: int = 256, num_sample: int = 20, coords_dim: int = 2,
mmdet3d_plugin/models/map/map_blocks.py:21
↓ 2 callersMethod_affected_by_traffic_light
Method to check if there is a red light affecting the vehicle. :param lights_list (list of carla.TrafficLight): list containing
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:201
↓ 2 callersMethod_apply_local_planner
Convert the plan into locations for walkers (pedestrians), or to a waypoint list for other actors. For non-walkers, activate the carl
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2314
↓ 2 callersMethod_box_cost
(self, box_pred, box_target, instance_reg_weights)
mmdet3d_plugin/models/detection3d/target.py:146
← previousnext →201–300 of 2,470, ranked by callers