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
↓ 1 callers
Function
convert_elem_to_location
Convert an ElementTree.Element to a CARLA Location
leaderboard/scripts/scenario_creator.py:209
↓ 1 callers
Function
convert_elem_to_transform
Convert an ElementTree.Element to a CARLA transform
leaderboard/leaderboard/utils/route_parser.py:22
↓ 1 callers
Function
convert_elem_to_transform
Convert an ElementTree.Element to a CARLA transform
scenario_runner/srunner/tools/route_parser.py:24
↓ 1 callers
Method
convert_maneuver_to_atomic
Convert an OpenSCENARIO maneuver action into a Behavior atomic Note not all OpenSCENARIO actions are currently supported
scenario_runner/srunner/tools/openscenario_parser.py:1108
↓ 1 callers
Method
create_output_text
Creates the output message
leaderboard/leaderboard/utils/result_writer.py:58
↓ 1 callers
Method
create_output_text
Creates the output message
scenario_runner/srunner/scenariomanager/result_writer.py:65
↓ 1 callers
Method
create_route_data
Creates the basic route data. This is done at the beginning to ensure the data is saved, even if a crash occurs
leaderboard/leaderboard/utils/statistics_manager.py:313
↓ 1 callers
Function
create_scenarios
Creates new S7 to S10 by moving 5 meters backwards from an already existing S4. They have to be manually added to the json file but informati
leaderboard/scripts/manage_scenarios.py:65
↓ 1 callers
Function
create_video
(images_folder, output_video, fps, font_scale, text_color, text_position)
tools/generate_video.py:8
↓ 1 callers
Method
destroy
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:56
↓ 1 callers
Method
destroy
(self)
scenario_runner/no_rendering_mode.py:1235
↓ 1 callers
Method
destroy_object
(self, uid)
leaderboard/leaderboard/autoagents/ros2_agent.py:107
↓ 1 callers
Method
destroy_sensors
(self)
scenario_runner/manual_control.py:189
↓ 1 callers
Function
detect_lane_obstacle
This function identifies if an obstacle is present in front of the reference actor
scenario_runner/srunner/tools/scenario_helper.py:491
↓ 1 callers
Function
downsample_route
Downsample the route by some factor. :param route: the trajectory , has to contain the waypoints and the road options :param sample_facto
leaderboard/leaderboard/utils/route_manipulation.py:85
↓ 1 callers
Function
downsample_route
Downsample the route by some factor. :param route: the trajectory , has to contain the waypoints and the road options :param sample_facto
scenario_runner/srunner/tools/route_manipulation.py:87
↓ 1 callers
Method
draw_road_map
(self, map_surface, carla_world, carla_map, world_to_pixel, world_to_pixel_width)
scenario_runner/no_rendering_mode.py:458
↓ 1 callers
Function
draw_scenarios
Draws all the scenario trigger positions. Each scenario is of a specific color
leaderboard/scripts/manage_scenarios.py:163
↓ 1 callers
Function
draw_waypoints
Draw a list of waypoints at a certain height given in z. :param world: carla.world object :param waypoints: list or iterable con
scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py:15
↓ 1 callers
Function
game_loop
(args)
scenario_runner/manual_control.py:884
↓ 1 callers
Function
game_loop
(args)
scenario_runner/no_rendering_mode.py:1376
↓ 1 callers
Method
get_actor_filter_traffic_light
(self)
tools/data_collect.py:929
↓ 1 callers
Method
get_actor_filter_traffic_sign
(self)
tools/data_collect.py:914
↓ 1 callers
Method
get_actor_filter_vehicle
(self)
tools/data_collect.py:1019
↓ 1 callers
Method
get_affect_sign
(self, actors)
tools/data_collect.py:864
↓ 1 callers
Method
get_all_scenario_classes
Searches through the 'scenarios' folder for all the Python classes
leaderboard/leaderboard/scenarios/route_scenario.py:271
↓ 1 callers
Method
get_all_scenario_classes
(self)
scenario_runner/srunner/scenarios/route_scenario.py:187
↓ 1 callers
Function
get_attributes_data
(scen_type, trigger_point, tmap, world, spectator)
leaderboard/scripts/scenario_creator.py:253
↓ 1 callers
Method
get_bounding_boxes
(self, lidar=None, radar=None)
tools/data_collect.py:1127
↓ 1 callers
Function
get_carla_version
()
scenario_runner/scenario_runner.py:38
↓ 1 callers
Method
get_collision_history
(self)
scenario_runner/manual_control.py:581
↓ 1 callers
Function
get_color
(option)
leaderboard/scripts/route_displayer.py:110
↓ 1 callers
Function
get_color_validity
Uses the same condition as in route_scenario to see if they will be differentiated
leaderboard/scripts/manage_scenarios.py:39
↓ 1 callers
Method
get_corners_from_actor_list
(actor_list)
tools/gen_hdmap.py:43
↓ 1 callers
Method
get_data
Read the queue to get the sensors data
leaderboard/leaderboard/envs/sensor_interface.py:222
↓ 1 callers
Method
get_data
Returns the data of a sensor
scenario_runner/srunner/autoagents/sensor_interface.py:151
↓ 1 callers
Function
get_distance_between_actors
This function finds the distance between actors for different use cases described by distance_type and freespace attributes
scenario_runner/srunner/tools/scenario_helper.py:688
↓ 1 callers
Method
get_elapsed_time
Returns a float with the elapsed time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:59
↓ 1 callers
Function
get_geometric_linear_intersection
Obtain a intersection point between two actor's location by using their waypoints (wp) @return point of intersection of the two vehicles
scenario_runner/srunner/tools/scenario_helper.py:138
↓ 1 callers
Method
get_hero
(self)
leaderboard/leaderboard/autoagents/autonomous_agent.py:137
↓ 1 callers
Function
get_infraction_status
(record)
tools/ability_benchmark.py:20
↓ 1 callers
Function
get_interval_data
(a_name)
leaderboard/scripts/scenario_creator.py:316
↓ 1 callers
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/vehicle_opens_door.py:43
↓ 1 callers
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/left_turn_enter_flow.py:36
↓ 1 callers
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:38
↓ 1 callers
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/cross_bicycle_flow.py:46
↓ 1 callers
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:36
↓ 1 callers
Function
get_interval_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/construction_crash_vehicle.py:39
↓ 1 callers
Function
get_junction_entry_wp
(entry_wp)
scenario_runner/srunner/tools/scenario_helper.py:536
↓ 1 callers
Function
get_junction_exit_wp
(exit_wp)
scenario_runner/srunner/tools/scenario_helper.py:544
↓ 1 callers
Function
get_lane_key_from_ids
Returns the lane corresping to a given road and lane ids
scenario_runner/srunner/scenarios/background_activity.py:45
↓ 1 callers
Method
get_lane_markings_two_side
(waypoints, lane_marking_dict)
tools/gen_hdmap.py:191
↓ 1 callers
Method
get_lanemarkings
(carla_map, lane_marking_dict={}, pixels_per_meter=2, precision=0.05)
tools/gen_hdmap.py:167
↓ 1 callers
Method
get_last_lane_offset_command
Get timestamp of the last issued lane offset control command returns: Timestamp of last lane offset control command
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:161
↓ 1 callers
Method
get_list_of_scenarios
Parse *all* config files and provide a list with all scenarios @return
scenario_runner/srunner/tools/scenario_parser.py:98
↓ 1 callers
Function
get_location_data
(a_name, scen_type, tmap, world, spectator, a_type)
leaderboard/scripts/scenario_creator.py:285
↓ 1 callers
Method
get_message
returns the message
scenario_runner/srunner/scenariomanager/traffic_events.py:74
↓ 1 callers
Method
get_next_config
(self)
leaderboard/leaderboard/utils/route_indexer.py:31
↓ 1 callers
Method
get_next_traffic_light
returns the next relevant traffic light for the provided actor
scenario_runner/srunner/scenariomanager/carla_data_provider.py:420
↓ 1 callers
Function
get_position
(xml_route)
tools/ability_benchmark.py:48
↓ 1 callers
Function
get_random_color
Gets a random CARLA RGB color
leaderboard/scripts/route_displayer.py:72
↓ 1 callers
Method
get_ros_entrypoint
(self)
leaderboard/leaderboard/autoagents/ros_base_agent.py:165
↓ 1 callers
Method
get_route
Extract the route from the OSC XML or a catalog Args: xml_tree: Containing the route information, or the
scenario_runner/srunner/tools/openscenario_parser.py:543
↓ 1 callers
Function
get_route_result
(records, route_id)
tools/ability_benchmark.py:53
↓ 1 callers
Method
get_route_weathers
Calculate the desired weather at each point in the route
scenario_runner/srunner/scenariomanager/weather_sim.py:233
↓ 1 callers
Function
get_saved_data
(filename, route_id, world, grp)
leaderboard/scripts/route_creator.py:40
↓ 1 callers
Function
get_scenario_route_position
(trigger_location)
leaderboard/scripts/scenario_orderer.py:234
↓ 1 callers
Function
get_scenario_type
(tmap, world, spectator)
leaderboard/scripts/scenario_creator.py:234
↓ 1 callers
Method
get_sensors_anno
(self)
tools/data_collect.py:1059
↓ 1 callers
Method
get_stop_sign_trigger_volume
(all_stop_sign_actors, lane_marking_dict, carla_map)
tools/gen_hdmap.py:71
↓ 1 callers
Method
get_traffic_color
(self, state)
tools/data_collect.py:851
↓ 1 callers
Method
get_traffic_light_configuration
Checks the list of possible altered traffic lights and gets the first one that exists in the intersection Important paramete
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3791
↓ 1 callers
Method
get_traffic_light_state
Returns the state of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:363
↓ 1 callers
Method
get_traffic_light_trigger_volume
(all_trafficlight_actors, lane_marking_dict, carla_map)
tools/gen_hdmap.py:89
↓ 1 callers
Method
get_traffic_light_waypoints
get area of a given traffic light
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1759
↓ 1 callers
Function
get_trafficlight_trigger_location
Calculates the yaw of the waypoint that represents the trigger volume of the traffic light
scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py:42
↓ 1 callers
Function
get_transform_data
(a_name, scen_type, tmap, world, spectator)
leaderboard/scripts/scenario_creator.py:273
↓ 1 callers
Function
get_value_data
(a_name)
leaderboard/scripts/scenario_creator.py:312
↓ 1 callers
Function
get_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/left_turn_enter_flow.py:30
↓ 1 callers
Function
get_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:32
↓ 1 callers
Function
get_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/cross_bicycle_flow.py:39
↓ 1 callers
Function
get_value_parameter
(config, name, p_type, default)
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:30
↓ 1 callers
Method
get_vehicle_lights
Returns the vehicle lights of the vehicle at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:398
↓ 1 callers
Method
get_waiting_time
Calculates the time the ego traffic light will remain red to let vehicles enter the junction
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3775
↓ 1 callers
Function
get_waypoint_route
(locs, grp)
tools/ability_benchmark.py:60
↓ 1 callers
Function
get_weather_id
(weather_conditions)
tools/utils.py:118
↓ 1 callers
Function
get_weather_id
(weather_conditions)
leaderboard/leaderboard/leaderboard_evaluator.py:64
↓ 1 callers
Method
get_wrapper
(agent)
leaderboard/leaderboard/autoagents/agent_wrapper.py:67
↓ 1 callers
Method
has_tag
(self, tag_string='')
scenario_runner/srunner/tests/carla_mocks/carla.py:57
↓ 1 callers
Function
indent
(elem, spaces=3, level=0)
leaderboard/scripts/route_creator.py:97
↓ 1 callers
Function
indent
(elem, spaces=3, level=0)
leaderboard/scripts/scenario_creator.py:391
↓ 1 callers
Function
indent
(elem, spaces=3, level=0)
leaderboard/scripts/scenario_orderer.py:244
↓ 1 callers
Method
initialise
Set start_time to current GameTime
scenario_runner/srunner/scenariomanager/timer.py:201
↓ 1 callers
Function
interpolate_trajectory
Given some raw keypoints interpolate a full dense trajectory to be used by the user. returns the full interpolated route both in GPS coordina
leaderboard/leaderboard/utils/route_manipulation.py:136
↓ 1 callers
Function
interpolate_trajectory
Given some raw keypoints interpolate a full dense trajectory to be used by the user. returns the full interpolated route both in GPS coordina
scenario_runner/srunner/tools/route_manipulation.py:133
↓ 1 callers
Method
is_literal
Returns: True when text is a literal/number
scenario_runner/srunner/tools/openscenario_parser.py:101
↓ 1 callers
Method
is_parameter
Returns: True when text is a parameter
scenario_runner/srunner/tools/openscenario_parser.py:107
↓ 1 callers
Method
is_scenario_at_route
Check if the scenario is affecting the route. This is true if the trigger position is very close to any route point
leaderboard/leaderboard/utils/route_parser.py:175
↓ 1 callers
Method
is_scenario_at_route
Check if the scenario is affecting the route. This is true if the trigger position is very close to any route point
scenario_runner/srunner/tools/route_parser.py:126
↓ 1 callers
Method
is_vehicle_crossing_line
check if vehicle crosses a line segment
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1649
← previous
next →
601–700 of 1,781, ranked by callers