MCPcopy Create free account

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

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

Functionconvert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/invading_turn.py:29
Functionconvert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/parking_exit.py:30
Functionconvert_dict_to_location
Convert a JSON string to a Carla.Location
scenario_runner/srunner/scenarios/pedestrian_crossing.py:30
Methoddestroy
Destroy (clean-up) the agent :return:
leaderboard/leaderboard/autoagents/ros1_agent.py:168
Methoddestroy
Cleanup
leaderboard/leaderboard/autoagents/human_agent.py:179
Methoddestroy
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:245
Methoddestroy
Destroy (clean-up) the agent :return:
leaderboard/leaderboard/autoagents/autonomous_agent.py:94
Methoddestroy
(self)
leaderboard/leaderboard/envs/sensor_interface.py:86
Methoddestroy
Cleanup
scenario_runner/srunner/autoagents/human_agent.py:132
Methoddestroy
Destroy (clean-up) the agent :return:
scenario_runner/srunner/autoagents/autonomous_agent.py:77
Methoddestroy
(self)
scenario_runner/srunner/tests/carla_mocks/carla.py:231
Methoddestroy_object
(self, uid)
leaderboard/leaderboard/autoagents/ros1_agent.py:129
Methoddestroy_object
(self, uid)
leaderboard/leaderboard/autoagents/ros_base_agent.py:171
Methoddist
(v)
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:201
Functiondistance_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
Methoddone
Returns whether or not the planner has finished :return: boolean
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:278
Methoddraw_broken_line
(surface, color, closed, points, width)
scenario_runner/no_rendering_mode.py:486
Methoddraw_lane_marking
(surface, waypoints, is_left)
scenario_runner/no_rendering_mode.py:513
Methoddraw_solid_line
(surface, color, closed, points, width)
scenario_runner/no_rendering_mode.py:482
Methoddraw_topology
(carla_topology, index)
scenario_runner/no_rendering_mode.py:617
Methoddraw_traffic_signs
(surface, font_surface, actor, color=COLOR_ALUMINIUM_2, trigger_color=COLOR_PLUM_0)
scenario_runner/no_rendering_mode.py:586
Methodfileno
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:53
Methodfilter
(self, filterstring)
scenario_runner/srunner/tests/carla_mocks/carla.py:62
Methodfind_weather_presets
Get weather presets from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:289
Methodfollow_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
Methodfollow_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
Functiongenerate_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
Methodget_actor_acceleration
Returns the acceleration of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:316
Methodget_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
Methodget_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
Methodget_actor_angular_velocity
Returns the angular velocity of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:296
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_actor_velocity
Returns the velocity of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:276
Methodget_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
Methodget_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
Methodget_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
Methodget_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
Methodget_carla_time
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:67
Functionget_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
Methodget_delta_time
Returns a float with the delta time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:66
Functionget_entry_point
()
leaderboard/leaderboard/autoagents/dummy_agent.py:16
Functionget_entry_point
()
leaderboard/leaderboard/autoagents/human_agent.py:33
Functionget_entry_point
()
leaderboard/leaderboard/autoagents/npc_agent.py:18
Methodget_frame
return the frame
scenario_runner/srunner/scenariomanager/traffic_events.py:62
Methodget_global_bbx
(actor, bbx)
tools/gen_hdmap.py:35
Methodget_global_planner
Get method for protected member local planner
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:104
Methodget_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
Methodget_infractions_value
(route_record, key)
leaderboard/leaderboard/utils/statistics_manager.py:436
Functionget_intersection
Obtain a intersection point between two actor's location @return the intersection location
scenario_runner/srunner/tools/scenario_helper.py:458
Functionget_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/vanilla_turn.py:36
Methodget_lane_markings
(lane_marking_type, lane_marking_color, waypoints, sign)
scenario_runner/no_rendering_mode.py:491
Methodget_lane_waypoints
(reference_wp, index=0)
scenario_runner/srunner/scenarios/background_activity.py:2264
Methodget_local_planner
Get method for protected member local planner
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:100
Functionget_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
Methodget_metric_info
(self)
leaderboard/leaderboard/autoagents/autonomous_agent.py:146
Methodget_platform_time
Returns a float with the platform time time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:73
Methodget_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
Methodget_road_wp
Goes backwards in the lane to match the wp with the road key dictionary
scenario_runner/srunner/scenarios/background_activity.py:1345
Methodget_ros_version
()
leaderboard/leaderboard/autoagents/ros2_agent.py:81
Methodget_ros_version
()
leaderboard/leaderboard/autoagents/ros1_agent.py:104
Methodget_ros_version
()
leaderboard/leaderboard/autoagents/autonomous_agent.py:125
Methodget_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
Methodget_running_status
returns: bool: False if watchdog exception occured, True otherwise
scenario_runner/srunner/scenariomanager/scenario_manager.py:188
Methodget_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
Methodget_source_wp
Moves the wp forward until the lane is wide enough to fit a vehicle
scenario_runner/srunner/scenarios/background_activity.py:1365
Methodget_target_gps
(self, gps, compass)
tools/data_collect.py:704
Methodget_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
Methodget_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
Methodget_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
Functionget_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/vanilla_turn.py:30
Methodget_vehicle_control
Returns the control of the vehicle at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:336
Methodget_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
Methodget_walker_speed
Returns the speed of the walker at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:356
Methodget_wp_pairs
(old_wps_, new_wps_, dist)
scenario_runner/srunner/scenarios/background_activity.py:2274
Methodgps_to_location
(gps)
tools/data_collect.py:706
Methodhandle_actors
(actor_list)
scenario_runner/srunner/scenarios/background_activity.py:1981
Methodignore_stop_signs
(De)activates the checks for stop signs
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:193
Methodignore_traffic_lights
(De)activates the checks for traffic lights
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:189
Methodignore_vehicles
(De)activates the checks for stop signs
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:197
Methodinitialise
Delete the variables from the blackboard.
scenario_runner/srunner/scenarios/open_scenario.py:65
Methodinitialise
Record the elements's start time on the blackboard
scenario_runner/srunner/scenarios/open_scenario.py:92
Methodinitialise
Creates the background activity actors. Pressuposes that the ego is at a road
scenario_runner/srunner/scenarios/background_activity.py:292
Methodinitialise
Set start_time to current GameTime
scenario_runner/srunner/scenariomanager/timer.py:108
Methodinitialise
Set current time to current CARLA time
scenario_runner/srunner/scenariomanager/weather_sim.py:119
Methodinitialise
Initialise setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:67
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:114
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:179
Methodinitialise
Initialize the start time of this condition
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:485
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1135
Methodinitialise
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
Methodinitialise
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
Methodinitialise
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
Methodinitialise
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
Methodinitialise
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
← previousnext →1,401–1,500 of 1,781, ranked by callers