MCPcopy Create free account

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

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

↓ 443 callersMethodget
(self, batch_size, metas=None, dn_metas=None)
mmdet3d_plugin/models/instance_bank.py:84
↓ 261 callersMethodfind
(self, filterstring)
scenario_runner/srunner/tests/carla_mocks/carla.py:68
↓ 196 callersMethodget_waypoint
(self, transform)
scenario_runner/srunner/tests/carla_mocks/carla.py:142
↓ 135 callersMethodget_location
returns the location for the given actor
scenario_runner/srunner/scenariomanager/carla_data_provider.py:163
↓ 115 callersMethoddistance
(self, other)
scenario_runner/srunner/tests/carla_mocks/carla.py:98
↓ 115 callersMethodget_transform
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:219
↓ 101 callersMethodget_map
Get the current map
scenario_runner/srunner/scenariomanager/carla_data_provider.py:225
↓ 79 callersMethodset
Sets the MetricData entry for a certain detection_name and match_distance.
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:277
↓ 71 callersFunctionget_lane_key
Returns a key corresponding to the waypoint lane. Equivalent to a 'Lane' object and used to compare waypoint lanes
scenario_runner/srunner/scenarios/background_activity.py:31
↓ 71 callersMethodget_map
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:252
↓ 65 callersMethodupdate
(self, instance_feature, anchor, confidence)
mmdet3d_plugin/models/instance_bank.py:148
↓ 63 callersMethodget_velocity
returns the absolute velocity for the given actor
scenario_runner/srunner/scenariomanager/carla_data_provider.py:149
↓ 62 callersMethodrequest_new_actor
This method tries to create a new actor, returning it if successful (None otherwise).
scenario_runner/srunner/scenariomanager/carla_data_provider.py:585
↓ 59 callersMethodget_time
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:60
↓ 58 callersMethodget_forward_vector
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:112
↓ 55 callersMethod__init__
Setup actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2176
↓ 47 callersMethodget_world
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:225
↓ 47 callersMethodremove_all_actors
Remove all actors
scenario_runner/srunner/scenarios/basic_scenario.py:319
↓ 41 callersMethoddestroy
Cleanup of all ROS publishers
scenario_runner/srunner/autoagents/ros_agent.py:162
↓ 41 callersMethodfilter
(self, filterstring)
scenario_runner/srunner/tests/carla_mocks/carla.py:192
↓ 41 callersMethodset_attribute
(self, key, value)
scenario_runner/srunner/tests/carla_mocks/carla.py:54
↓ 39 callersFunctionlinear_relu_ln
(embed_dims, in_loops, out_loops, input_dims=None)
mmdet3d_plugin/models/blocks.py:32
↓ 37 callersMethodget_location
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:222
↓ 35 callersMethodget_transform
returns the transform for the given actor
scenario_runner/srunner/scenariomanager/carla_data_provider.py:177
↓ 33 callersMethodget_actors
(self, ids=[])
scenario_runner/srunner/tests/carla_mocks/carla.py:261
↓ 33 callersMethodget_world
Return world
scenario_runner/srunner/scenariomanager/carla_data_provider.py:218
↓ 31 callersMethodupdate
(self, trajs, gt_trajs, gt_trajs_mask, fut_boxes)
mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py:114
↓ 29 callersMethodnext_row
Gets the next row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:222
↓ 27 callersMethodget
( self, det_output, feature_maps, metas, batch_size, mask,
mmdet3d_plugin/models/motion/instance_queue.py:72
↓ 26 callersFunctionget_same_dir_lanes
Gets all the lanes with the same direction of the road of a wp. Ordered from the edge lane to the center one (from outwards to inwards)
scenario_runner/srunner/tools/scenario_helper.py:740
↓ 26 callersMethodupdate
Upon reaching the timeout value the status changes to SUCCESS
scenario_runner/srunner/scenariomanager/timer.py:149
↓ 24 callersMethod__init__
Setup actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:236
↓ 24 callersMethodtrace_route
Calculates the shortest route between a starting and ending waypoint. :param start_waypoint (carla.Waypoint): initial waypoint
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:145
↓ 22 callersMethod_is_junction
(self, waypoint)
scenario_runner/srunner/scenarios/background_activity.py:819
↓ 22 callersFunctioncompute_2d_distance
(loc1, loc2)
tools/utils.py:134
↓ 22 callersMethodget_blueprint_library
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:255
↓ 21 callersMethod__float__
(self)
scenario_runner/srunner/tools/openscenario_parser.py:137
↓ 21 callersMethodget_frame
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:81
↓ 21 callersMethodget_global_route_planner
@return the global route planner
scenario_runner/srunner/scenariomanager/carla_data_provider.py:248
↓ 20 callersMethod__init__
(self, name, actor, optional=False, termin
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:49
↓ 19 callersMethodget_row_elements
returns a list with the elements of the row
scenario_runner/srunner/metrics/tools/metrics_parser.py:216
↓ 18 callersMethod_destroy_actor
Destroy the actor and all its references
scenario_runner/srunner/scenarios/background_activity.py:2547
↓ 18 callersFunctioncalculate_distance
Method to calculate the distance between to locations Note: It uses the direct distance between the current location and the targe
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:49
↓ 18 callersMethodinitialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2185
↓ 17 callersMethodget_waypoint_xodr
(self, a, b, c)
scenario_runner/srunner/tests/carla_mocks/carla.py:145
↓ 17 callersMethodlog
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:86
↓ 17 callersMethodnotification
(self, text, seconds=2.0)
scenario_runner/manual_control.py:458
↓ 17 callersMethodspawn_actor
(self, blueprint, spawn_point, attach_to)
scenario_runner/srunner/tests/carla_mocks/carla.py:276
↓ 15 callersFunctiondraw_point
Utility function to draw debugging points
scenario_runner/srunner/scenarios/background_activity.py:85
↓ 15 callersMethodget_module
(self, name)
scenario_runner/no_rendering_mode.py:211
↓ 15 callersMethodset_message
Set message
scenario_runner/srunner/scenariomanager/traffic_events.py:70
↓ 14 callersMethod__init__
(self, max_speed, name="SetMaxSpeed")
scenario_runner/srunner/tools/background_manager.py:95
↓ 14 callersFunctionget_image_point
(loc, K, w2c)
tools/utils.py:15
↓ 14 callersMethodlisten
(self, callback)
scenario_runner/srunner/tests/carla_mocks/carla.py:234
↓ 14 callersFunctiononeshot_with_check
Check if the blackboard contains already variable_name and return a oneshot_behavior for behaviour.
scenario_runner/srunner/tools/openscenario_parser.py:77
↓ 14 callersMethodwait_for_tick
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:258
↓ 14 callersMethodwrite
(self, data)
leaderboard/leaderboard/autoagents/ros_base_agent.py:47
↓ 13 callersMethod_get_actor_state
Given an actor id, returns the specific variable of that actor at a given frame. Returns None if the actor_id or the state are missin
scenario_runner/srunner/metrics/tools/metrics_log.py:184
↓ 13 callersMethodget_all_actors
@return all the world actors. This is an expensive call, hence why it is part of the CDP, but as this might not be used by everyone,
scenario_runner/srunner/scenariomanager/carla_data_provider.py:255
↓ 13 callersMethodget_control
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:228
↓ 13 callersMethodrender
(self, display)
scenario_runner/no_rendering_mode.py:273
↓ 13 callersMethodsample
( self, reg_pred, gt_reg_target, gt_reg_mask, motion_loss_cache, )
mmdet3d_plugin/models/motion/target.py:46
↓ 13 callersFunctiontopk
(confidence, k, *inputs)
mmdet3d_plugin/models/instance_bank.py:12
↓ 12 callersMethod__init__
(self, embed_dims=256, ego_fut_ts=6)
mmdet3d_plugin/models/motion/diff_motion_blocks.py:384
↓ 12 callersMethod_is_location_behind_ego
Checks if an actor is behind the ego. Uses the route transform
scenario_runner/srunner/scenarios/background_activity.py:2185
↓ 12 callersMethodall
Returns all EvalBoxes in a list.
mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py:527
↓ 12 callersFunctiongen_sineembed_for_position
Mostly copy-paste from https://github.com/IDEA-opensource/DAB-DETR/
mmdet3d_plugin/models/attention.py:288
↓ 12 callersMethodget_criteria
Return the list of test criteria, including all the leaf nodes. Some criteria might have trigger conditions, which have to be filtere
scenario_runner/srunner/scenarios/basic_scenario.py:261
↓ 12 callersMethodget_random_seed
@return the random seed.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:241
↓ 12 callersMethodget_traffic_manager_port
Get the port of the traffic manager.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:831
↓ 12 callersFunctionget_waypoint_in_distance
Obtain a waypoint 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:228
↓ 12 callersMethodset_dict
Set dictionary
scenario_runner/srunner/scenariomanager/traffic_events.py:78
↓ 11 callersFunctionget_closest_traffic_light
Returns the traffic light closest to the waypoint. The distance is computed between the waypoint and the traffic light's bounding box. Ch
scenario_runner/srunner/tools/scenario_helper.py:602
↓ 11 callersFunctionget_parameter
(config, name)
scenario_runner/srunner/scenarios/background_activity_parametrizer.py:19
↓ 11 callersMethodget_type
return the type
scenario_runner/srunner/scenariomanager/traffic_events.py:58
↓ 11 callersFunctionget_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/route_obstacles.py:36
↓ 11 callersFunctionget_xml_path
Extract the full path of a node within an XML tree Note: Catalogs are pulled from a separate file so the XML tree is split. This m
scenario_runner/srunner/scenarios/open_scenario.py:149
↓ 10 callersFunctioncalculate_cube_vertices
(center, extent)
tools/utils.py:55
↓ 10 callersFunctionconvert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/actor_flow.py:34
↓ 10 callersMethoddecode
( self, cls_scores, box_preds, instance_id=None, quality=None,
mmdet3d_plugin/models/motion/decoder.py:18
↓ 10 callersMethoddistance
(v)
scenario_runner/no_rendering_mode.py:997
↓ 10 callersMethodget_client
Get the CARLA client
scenario_runner/srunner/scenariomanager/carla_data_provider.py:198
↓ 10 callersMethodget_connected_road_id
(waypoint)
tools/gen_hdmap.py:303
↓ 10 callersMethodrun_step
Pure virtual function to run one step of the controllers's control loop. This should be implemented in the user-defined agent impleme
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:111
↓ 10 callersMethodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2979
↓ 10 callersMethodterminate
Terminate the criterion. Can be extended by the user-derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:77
↓ 9 callersMethod_cleanup
Remove and destroy all actors
scenario_runner/scenario_runner.py:180
↓ 9 callersMethod_vehicle_obstacle_detected
Check if a given vehicle is an obstacle in our way. To this end we take into account the road and lane the target vehicle is on and r
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:84
↓ 9 callersMethodget_settings
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:249
↓ 9 callersMethodget_trafficmanager
(self, port)
scenario_runner/srunner/tests/carla_mocks/carla.py:290
↓ 9 callersMethodload_world
(self, name)
scenario_runner/srunner/tests/carla_mocks/carla.py:284
↓ 9 callersMethodmake_surface
(tl)
scenario_runner/no_rendering_mode.py:400
↓ 9 callersMethodtick
(self, input_data)
leaderboard/team_code/sparsedrive_b2d_agent.py:356
↓ 9 callersMethodupdate_target_speed
Update the actor's target speed and set _init_speed to False. Args: speed (float): New target speed [m/s].
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:57
↓ 9 callersMethodwrite
Public write function
scenario_runner/srunner/scenariomanager/result_writer.py:49
↓ 8 callersFunctiongenerate_target_waypoint
This method follow waypoints to a junction and choose path based on turn input. Turn input: LEFT -> -1, RIGHT -> 1, STRAIGHT -> 0 @return
scenario_runner/srunner/tools/scenario_helper.py:364
↓ 8 callersFunctionget_speed
Compute speed of a vehicle in Km/h. :param vehicle: the vehicle for which speed is calculated :return: speed as a float in Km/h
scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py:31
↓ 8 callersMethodget_world
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:287
↓ 8 callersMethodlength
(v)
scenario_runner/no_rendering_mode.py:170
↓ 8 callersMethodset_speed
Changes the target speed :param speed: new target speed in Km/h :return:
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:129
next →1–100 of 2,470, ranked by callers