Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thinklab-SJTU/Bench2Drive
/ functions
Functions
1,781 in github.com/Thinklab-SJTU/Bench2Drive
⨍
Functions
1,781
◇
Types & classes
340
Function
convert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/invading_turn.py:29
Function
convert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/parking_exit.py:30
Function
convert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/pedestrian_crossing.py:30
Method
destroy
Destroy (clean-up) the agent :return:
leaderboard/leaderboard/autoagents/ros1_agent.py:168
Method
destroy
Cleanup
leaderboard/leaderboard/autoagents/human_agent.py:179
Method
destroy
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:245
Method
destroy
Destroy (clean-up) the agent :return:
leaderboard/leaderboard/autoagents/autonomous_agent.py:94
Method
destroy
(self)
leaderboard/leaderboard/envs/sensor_interface.py:86
Method
destroy
Cleanup
scenario_runner/srunner/autoagents/human_agent.py:132
Method
destroy
Destroy (clean-up) the agent :return:
scenario_runner/srunner/autoagents/autonomous_agent.py:77
Method
destroy
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:231
Method
destroy_object
(self, uid)
leaderboard/leaderboard/autoagents/ros1_agent.py:129
Method
destroy_object
(self, uid)
leaderboard/leaderboard/autoagents/ros_base_agent.py:171
Method
dist
(v)
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:201
Function
distance_vehicle
Returns the 2D distance from a waypoint to a vehicle :param waypoint: actual waypoint :param vehicle_transform: transform of the
scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py:124
Method
done
Returns whether or not the planner has finished :return: boolean
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:278
Method
draw_broken_line
(surface, color, closed, points, width)
scenario_runner/no_rendering_mode.py:486
Method
draw_lane_marking
(surface, waypoints, is_left)
scenario_runner/no_rendering_mode.py:513
Method
draw_solid_line
(surface, color, closed, points, width)
scenario_runner/no_rendering_mode.py:482
Method
draw_topology
(carla_topology, index)
scenario_runner/no_rendering_mode.py:617
Method
draw_traffic_signs
(surface, font_surface, actor, color=COLOR_ALUMINIUM_2, trigger_color=COLOR_PLUM_0)
scenario_runner/no_rendering_mode.py:586
Method
fileno
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:53
Method
filter
(self, filterstring)
scenario_runner/srunner/tests/carla_mocks/carla.py:62
Method
find_weather_presets
Get weather presets from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:289
Method
follow_speed_limits
If active, the agent will dynamically change the target speed according to the speed limits :param value (bool): whether or not
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:92
Method
follow_speed_limits
Activates a flag that makes the max speed dynamically vary according to the spped limits :param value: bool :return:
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:141
Function
generate_target_waypoint_list
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:247
Method
get_actor_acceleration
Returns the acceleration of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:316
Method
get_actor_accelerations_at_frame
Returns a dictionary {int - carla.Vector3D} with the actor ID and angular velocity at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:328
Method
get_actor_angular_velocities_at_frame
Returns a dictionary {int - carla.Vector3D} with the actor ID and angular velocity at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:308
Method
get_actor_angular_velocity
Returns the angular velocity of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:296
Method
get_actor_attributes
Returns a dictionary with all the attributes of an actor. Args: actor_id (int): ID of the actor.
scenario_runner/srunner/metrics/tools/metrics_log.py:119
Method
get_actor_bounding_box
Returns the bounding box of the specified actor Args: actor_id (int): Id of the actor
scenario_runner/srunner/metrics/tools/metrics_log.py:131
Method
get_actor_by_id
Get an actor from the pool by using its ID. If the actor does not exist, None is returned.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:793
Method
get_actor_collisions
Returns a dict where the keys are the frame number and the values, a list of actor ids the actor collided with. Args:
scenario_runner/srunner/metrics/tools/metrics_log.py:34
Method
get_actor_ids_with_type_id
Returns a list of actor ids that match the given type_id, matching fnmatch standard. Args: type_id (str): string with th
scenario_runner/srunner/metrics/tools/metrics_log.py:103
Method
get_actor_transforms_at_frame
Returns a dictionary {int - carla.Transform} with the actor ID and transform at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:268
Method
get_actor_velocities_at_frame
Returns a dictionary {int - carla.Vector3D} with the actor ID and velocity at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:288
Method
get_actor_velocity
Returns the velocity of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:276
Method
get_all_actor_accelerations
Returns a list with all the accelerations of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:322
Method
get_all_actor_angular_velocities
Returns a list with all the angular velocities of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:302
Method
get_all_actor_transforms
Returns a list with all the transforms of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:262
Method
get_all_actor_velocities
Returns a list with all the velocities of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:282
Method
get_carla_time
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:67
Function
get_crossing_point
Get the next crossing point location in front of the ego vehicle @return point of crossing
scenario_runner/srunner/tools/scenario_helper.py:121
Method
get_delta_time
Returns a float with the delta time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:66
Function
get_entry_point
()
leaderboard/leaderboard/autoagents/dummy_agent.py:16
Function
get_entry_point
()
leaderboard/leaderboard/autoagents/human_agent.py:33
Function
get_entry_point
()
leaderboard/leaderboard/autoagents/npc_agent.py:18
Method
get_frame
return the frame
scenario_runner/srunner/scenariomanager/traffic_events.py:62
Method
get_global_bbx
(actor, bbx)
tools/gen_hdmap.py:35
Method
get_global_planner
Get method for protected member local planner
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:104
Method
get_hero_actor
Get the actor object of the hero actor if it exists, returns none otherwise.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:783
Method
get_infractions_value
(route_record, key)
leaderboard/leaderboard/utils/statistics_manager.py:436
Function
get_intersection
Obtain a intersection point between two actor's location @return the intersection location
scenario_runner/srunner/tools/scenario_helper.py:458
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/vanilla_turn.py:36
Method
get_lane_markings
(lane_marking_type, lane_marking_color, waypoints, sign)
scenario_runner/no_rendering_mode.py:491
Method
get_lane_waypoints
(reference_wp, index=0)
scenario_runner/srunner/scenarios/background_activity.py:2264
Method
get_local_planner
Get method for protected member local planner
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:100
Function
get_location_in_distance
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:191
Method
get_metric_info
(self)
leaderboard/leaderboard/autoagents/autonomous_agent.py:146
Method
get_platform_time
Returns a float with the platform time time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:73
Method
get_radar_points_in_bbox
Checks for a given vehicle in ego coordinate system, how many RADAR hits there are in its bounding box. :param vehicle_pos: Relative
tools/data_collect.py:1595
Method
get_road_wp
Goes backwards in the lane to match the wp with the road key dictionary
scenario_runner/srunner/scenarios/background_activity.py:1345
Method
get_ros_version
()
leaderboard/leaderboard/autoagents/ros2_agent.py:81
Method
get_ros_version
()
leaderboard/leaderboard/autoagents/ros1_agent.py:104
Method
get_ros_version
()
leaderboard/leaderboard/autoagents/autonomous_agent.py:125
Method
get_routes_subset
The route subset can be indicated by single routes separated by commas, or group of routes separated by dashes (or a combinat
leaderboard/leaderboard/utils/route_parser.py:52
Method
get_running_status
returns: bool: False if watchdog exception occured, True otherwise
scenario_runner/srunner/scenariomanager/scenario_manager.py:188
Method
get_scene_light_state
Returns the state of the scene light at a specific frame. Returns None if the id can't be found.
scenario_runner/srunner/metrics/tools/metrics_log.py:416
Method
get_source_wp
Moves the wp forward until the lane is wide enough to fit a vehicle
scenario_runner/srunner/scenarios/background_activity.py:1365
Method
get_target_gps
(self, gps, compass)
tools/data_collect.py:704
Method
get_traffic_light_elapsed_time
Returns the elapsed time of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:375
Method
get_traffic_light_state_time
Returns the state time of the traffic light at a specific frame. Returns None if the id can't be found.
scenario_runner/srunner/metrics/tools/metrics_log.py:381
Method
get_traffic_light_trigger_volume
Returns the trigger volume of the specified traffic light Args: actor_id (int): Id of the traffic light
scenario_runner/srunner/metrics/tools/metrics_log.py:146
Function
get_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/vanilla_turn.py:30
Method
get_vehicle_control
Returns the control of the vehicle at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:336
Method
get_vehicle_physics_control
Returns the carla.VehiclePhysicsControl of a vehicle at a given frame. Returns None if the id can't be found.
scenario_runner/srunner/metrics/tools/metrics_log.py:342
Method
get_walker_speed
Returns the speed of the walker at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:356
Method
get_wp_pairs
(old_wps_, new_wps_, dist)
scenario_runner/srunner/scenarios/background_activity.py:2274
Method
gps_to_location
(gps)
tools/data_collect.py:706
Method
handle_actors
(actor_list)
scenario_runner/srunner/scenarios/background_activity.py:1981
Method
ignore_stop_signs
(De)activates the checks for stop signs
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:193
Method
ignore_traffic_lights
(De)activates the checks for traffic lights
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:189
Method
ignore_vehicles
(De)activates the checks for stop signs
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:197
Method
initialise
Delete the variables from the blackboard.
scenario_runner/srunner/scenarios/open_scenario.py:65
Method
initialise
Record the elements's start time on the blackboard
scenario_runner/srunner/scenarios/open_scenario.py:92
Method
initialise
Creates the background activity actors. Pressuposes that the ego is at a road
scenario_runner/srunner/scenarios/background_activity.py:292
Method
initialise
Set start_time to current GameTime
scenario_runner/srunner/scenariomanager/timer.py:108
Method
initialise
Set current time to current CARLA time
scenario_runner/srunner/scenariomanager/weather_sim.py:119
Method
initialise
Initialise setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:67
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:114
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:179
Method
initialise
Initialize the start time of this condition
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:485
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1135
Method
initialise
Initialise setup terminates WaypointFollowers Check whether WF for this actor is running and terminate all active WFs
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:117
Method
initialise
Set initial parameters such as _start_time and _start_location, and get (actor, controller) pair from Blackboard. May throw
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:480
Method
initialise
Set initial parameters and get (actor, controller) pair from Blackboard. May throw if actor is not available as key for the ActorsWi
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:613
Method
initialise
Set _start_time and get (actor, controller) pair from Blackboard. Set waypoint list for actor controller. May throw if acto
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:765
Method
initialise
Set _start_time and get (actor, controller) pair from Blackboard. Generate a waypoint list (route) which representes the lane change
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:933
← previous
next →
1,401–1,500 of 1,781, ranked by callers