MCPcopy Create free account

hub / github.com/Thinklab-SJTU/Bench2Drive / functions

Functions1,781 in github.com/Thinklab-SJTU/Bench2Drive

↓ 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 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 callersFunctionnormalize_angle
(x)
tools/utils.py:175
↓ 3 callersMethodpause
Pause the watchdog
scenario_runner/srunner/scenariomanager/watchdog.py:58
↓ 3 callersMethodregister_module
(self, module)
scenario_runner/no_rendering_mode.py:195
↓ 3 callersMethodrestart
(self)
scenario_runner/manual_control.py:138
↓ 3 callersMethodresume
Resume the watchdog.
scenario_runner/srunner/scenariomanager/watchdog.py:63
↓ 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 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_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_destroy_walker
(self, walker, controller)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4174
↓ 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_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_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 callersMethodadd_file_records
Reads a file and saves its records onto the statistics manager
leaderboard/leaderboard/utils/statistics_manager.py:208
↓ 2 callersMethodaffected_by_traffic_light
(self, traffic_light, center, window_size=50)
tools/data_collect.py:842
↓ 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 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 callersMethodchange_parameters
Changes the PID parameters
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:253
↓ 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 callersMethodcleanup
Remove and destroy all sensors
leaderboard/leaderboard/autoagents/agent_wrapper.py:270
↓ 2 callersMethodclip_surfaces
(self, clipping_rect)
scenario_runner/no_rendering_mode.py:1121
↓ 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 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 callersFunctionfind_free_port
(starting_port)
leaderboard/leaderboard/leaderboard_evaluator.py:54
↓ 2 callersMethodflush
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:50
↓ 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_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 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
← previousnext →201–300 of 1,781, ranked by callers