MCPcopy Create free account

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

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

↓ 1 callersMethodlisten
(self, callback)
leaderboard/leaderboard/envs/sensor_interface.py:79
↓ 1 callersMethodload_scenario
Load a new scenario
leaderboard/leaderboard/scenarios/scenario_manager.py:108
↓ 1 callersMethodload_scenario
Load a new scenario
scenario_runner/srunner/scenariomanager/scenario_manager.py:97
↓ 1 callersFunctionmain
(base_route, task_num, algo, planner_type)
tools/split_xml.py:8
↓ 1 callersFunctionmain
(args)
tools/ability_benchmark.py:70
↓ 1 callersFunctionmain
()
leaderboard/leaderboard/leaderboard_evaluator.py:507
↓ 1 callersFunctionmain
()
leaderboard/scripts/pretty_print_json.py:97
↓ 1 callersFunctionmain
()
leaderboard/scripts/route_displayer.py:167
↓ 1 callersFunctionmain
Utility script to merge two or more statistics into one. While some checks are done, it is best to ensure that merging all files makes sense
leaderboard/scripts/merge_statistics.py:40
↓ 1 callersFunctionmain
Used to help with the visualization of the scenario trigger points
leaderboard/scripts/manage_scenarios.py:208
↓ 1 callersFunctionmain
()
leaderboard/scripts/route_summarizer.py:44
↓ 1 callersFunctionmain
()
leaderboard/scripts/route_creator.py:156
↓ 1 callersFunctionmain
()
leaderboard/scripts/scenario_creator.py:423
↓ 1 callersFunctionmain
()
leaderboard/scripts/weather_creator.py:13
↓ 1 callersFunctionmain
main function
scenario_runner/scenario_runner.py:528
↓ 1 callersFunctionmain
()
scenario_runner/manual_control.py:935
↓ 1 callersFunctionmain
()
scenario_runner/no_rendering_mode.py:1428
↓ 1 callersFunctionmain
main function
scenario_runner/metrics_manager.py:127
↓ 1 callersFunctionmerge_route_json
(folder_path)
tools/merge_route_json.py:6
↓ 1 callersMethodon_world_tick
(weak_self, timestamp)
scenario_runner/no_rendering_mode.py:966
↓ 1 callersFunctiononeshot_behavior
This is taken from py_trees.idiom.oneshot.
scenario_runner/srunner/tools/py_trees_port.py:103
↓ 1 callersFunctionorder_saved_scenarios
(filename, route_id, tmap, grp)
leaderboard/scripts/scenario_orderer.py:229
↓ 1 callersFunctionparse_actor
Returns a dictionary with the basic actor information
scenario_runner/srunner/metrics/tools/metrics_parser.py:17
↓ 1 callersFunctionparse_angular_velocity
Parses a list into a carla.Vector3D with the angular velocity
scenario_runner/srunner/metrics/tools/metrics_parser.py:106
↓ 1 callersFunctionparse_control
Parses a list into a carla.VehicleControl
scenario_runner/srunner/metrics/tools/metrics_parser.py:45
↓ 1 callersMethodparse_events
Parse the keyboard events and set the vehicle controls accordingly
leaderboard/leaderboard/autoagents/human_agent.py:240
↓ 1 callersMethodparse_events
(self, client, world, clock)
scenario_runner/manual_control.py:225
↓ 1 callersMethodparse_events
Parse the keyboard events and set the vehicle controls accordingly
scenario_runner/srunner/autoagents/human_agent.py:196
↓ 1 callersFunctionparse_gears_control
Parses a list into a GearPhysicsControl
scenario_runner/srunner/metrics/tools/metrics_parser.py:178
↓ 1 callersMethodparse_input
(self, clock)
scenario_runner/no_rendering_mode.py:1349
↓ 1 callersMethodparse_recorder_info
Parses the recorder into readable information. Args: recorder_info (str): string given by the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:229
↓ 1 callersMethodparse_routes_file
Returns a list of route configuration elements. :param route_filename: the path to a set of routes. :param single_route: If s
leaderboard/leaderboard/utils/route_parser.py:45
↓ 1 callersMethodparse_routes_file
Returns a list of route configuration elements. :param route_filename: the path to a set of routes. :param single_route: If s
scenario_runner/srunner/tools/route_parser.py:47
↓ 1 callersMethodparse_scenario_configuration
Parse all scenario configuration files at srunner/examples and the additional config files, providing a list of ScenarioConfiguration
scenario_runner/srunner/tools/scenario_parser.py:29
↓ 1 callersFunctionparse_scene_lights
Parses a list into a carla.VehicleLightState
scenario_runner/srunner/metrics/tools/metrics_parser.py:115
↓ 1 callersFunctionparse_state_times
Parses a list into a dict containing the state times of the traffic lights
scenario_runner/srunner/metrics/tools/metrics_parser.py:157
↓ 1 callersFunctionparse_traffic_light
Parses a list into a dictionary with all the traffic light's information
scenario_runner/srunner/metrics/tools/metrics_parser.py:81
↓ 1 callersFunctionparse_transform
Parses a list into a carla.Transform
scenario_runner/srunner/metrics/tools/metrics_parser.py:29
↓ 1 callersFunctionparse_vector_list
Parses a list of string into a list of Vector2D
scenario_runner/srunner/metrics/tools/metrics_parser.py:166
↓ 1 callersFunctionparse_vehicle_lights
Parses a list into a carla.VehicleLightState
scenario_runner/srunner/metrics/tools/metrics_parser.py:58
↓ 1 callersFunctionparse_velocity
Parses a list into a carla.Vector3D with the velocity
scenario_runner/srunner/metrics/tools/metrics_parser.py:97
↓ 1 callersMethodparse_weather
Parses all the weather information as a list of [position, carla.WeatherParameters], where the position represents a % of the route.
leaderboard/leaderboard/utils/route_parser.py:148
↓ 1 callersMethodparse_weather
Parses all the weather information as a list of [position, carla.WeatherParameters], where the position represents a % of the route.
scenario_runner/srunner/tools/route_parser.py:99
↓ 1 callersFunctionparse_wheels_control
Parses a list into a WheelsPhysicsControl
scenario_runner/srunner/metrics/tools/metrics_parser.py:187
↓ 1 callersMethodparse_xml
Parse route config XML
scenario_runner/srunner/scenarioconfigs/route_scenario_configuration.py:27
↓ 1 callersMethodpedestrian_avoid_manager
This module is in charge of warning in case of a collision with any pedestrian. :param location: current location of the
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:225
↓ 1 callersMethodpeek
(self)
leaderboard/leaderboard/utils/route_indexer.py:28
↓ 1 callersMethodpoint_inside_boundingbox
Checks whether or not a point is inside a bounding box.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1828
↓ 1 callersMethodpolar_to_cartesian
Convert polar coordinates (altitude, azimuth, depth) to Cartesian (x, y, z). Altitude and azimuth are assumed to be in radians.
tools/data_collect.py:1584
↓ 1 callersFunctionpositive
Return the given number if positive, else 0 :param num: value to check
scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py:165
↓ 1 callersMethodprepare_map
This function set the current map and loads all traffic lights for this map to _traffic_light_map
scenario_runner/srunner/scenariomanager/carla_data_provider.py:299
↓ 1 callersFunctionprettify_and_save_tree
(filename, tree)
leaderboard/scripts/scenario_creator.py:390
↓ 1 callersFunctionprettify_json
(args)
leaderboard/scripts/pretty_print_json.py:21
↓ 1 callersFunctionprint_scenario_data
(scen_type, scen_attributes)
leaderboard/scripts/scenario_creator.py:321
↓ 1 callersMethodpublish_camera
Function to publish camera data
scenario_runner/srunner/autoagents/ros_agent.py:301
↓ 1 callersMethodpublish_can
publish can data
scenario_runner/srunner/autoagents/ros_agent.py:315
↓ 1 callersMethodpublish_gnss
Function to publish gnss data
scenario_runner/srunner/autoagents/ros_agent.py:285
↓ 1 callersMethodpublish_hd_map
publish hd map data
scenario_runner/srunner/autoagents/ros_agent.py:357
↓ 1 callersMethodpublish_lidar
Function to publish lidar data
scenario_runner/srunner/autoagents/ros_agent.py:264
↓ 1 callersMethodpublish_plan
publish the global plan
scenario_runner/srunner/autoagents/ros_agent.py:224
↓ 1 callersFunctionread_from_json
(filepath, metric_dir=None)
tools/efficiency_smoothness_benchmark.py:237
↓ 1 callersMethodregister_sensor
(self, tag, sensor_type, sensor)
leaderboard/leaderboard/envs/sensor_interface.py:207
↓ 1 callersMethodregister_sensor
Registers the sensors
scenario_runner/srunner/autoagents/sensor_interface.py:133
↓ 1 callersMethodremove_actors_in_surrounding
Remove all actors from the pool that are closer than distance to the provided location
scenario_runner/srunner/scenariomanager/carla_data_provider.py:817
↓ 1 callersMethodremove_scenario
Removes the scenario
leaderboard/leaderboard/utils/statistics_manager.py:337
↓ 1 callersMethodrender
(self, display)
scenario_runner/manual_control.py:185
↓ 1 callersMethodrender
Render images in an OpenCV window (has to be called on a regular basis)
scenario_runner/srunner/scenariomanager/actorcontrols/visualizer.py:112
↓ 1 callersMethodrender_actors
(self, surface, vehicles, traffic_lights, speed_limits, walkers)
scenario_runner/no_rendering_mode.py:1111
↓ 1 callersMethodrender_vehicles_ids
(self, vehicle_id_surface, list_actors, world_to_pixel, hero_actor, hero_transform)
scenario_runner/no_rendering_mode.py:320
↓ 1 callersFunctionrepeatable_behavior
This behaviour allows a composite with oneshot ancestors to run multiple times, resetting the oneshot variables after each execution
scenario_runner/srunner/scenarios/open_scenario.py:27
↓ 1 callersMethodrequest_new_actors
This method tries to series of actor in batch. If this was successful, the new actors are returned, None otherwise. param:
scenario_runner/srunner/scenariomanager/carla_data_provider.py:636
↓ 1 callersMethodrequest_new_batch_actors
Simplified version of "request_new_actors". This method also create several actors in batch. Instead of needing a list of ActorConfi
scenario_runner/srunner/scenariomanager/carla_data_provider.py:711
↓ 1 callersMethodreset_lights
Reset traffic lights
scenario_runner/srunner/scenariomanager/carla_data_provider.py:409
↓ 1 callersMethodrestart
Reset game timer to 0
scenario_runner/srunner/scenariomanager/timer.py:50
↓ 1 callersMethodrpy2quat
(roll, pitch, yaw)
leaderboard/leaderboard/autoagents/ros_base_agent.py:123
↓ 1 callersMethodrun
Run the challenge mode
leaderboard/leaderboard/leaderboard_evaluator.py:453
↓ 1 callersMethodrun
(self)
leaderboard/leaderboard/envs/sensor_interface.py:62
↓ 1 callersMethodrun
Run all scenarios according to provided commandline args
scenario_runner/scenario_runner.py:512
↓ 1 callersMethodrun_interface
Run the GUI
leaderboard/leaderboard/autoagents/human_agent.py:57
↓ 1 callersMethodrun_interface
Run the GUI
scenario_runner/srunner/autoagents/human_agent.py:51
↓ 1 callersMethodrun_scenario
Trigger the start of the scenario and wait for it to finish/fail
leaderboard/leaderboard/scenarios/scenario_manager.py:139
↓ 1 callersMethodrun_scenario
Trigger the start of the scenario and wait for it to finish/fail
scenario_runner/srunner/scenariomanager/scenario_manager.py:116
↓ 1 callersMethodrun_step
Execute one step of navigation. :return: control
leaderboard/leaderboard/autoagents/autonomous_agent.py:81
↓ 1 callersMethodrun_step
Execute one step of navigation. :return: control
scenario_runner/srunner/autoagents/autonomous_agent.py:64
↓ 1 callersFunctionsave_data
(filename, route_id, points)
leaderboard/scripts/route_creator.py:96
↓ 1 callersFunctionsave_dict
(endpoint, data)
leaderboard/leaderboard/utils/checkpoint_tools.py:50
↓ 1 callersFunctionsave_scenario
(filename, route_id, scenario_type, scenario_attributes)
leaderboard/scripts/scenario_creator.py:327
↓ 1 callersMethodscale_map
(self, scale)
scenario_runner/no_rendering_mode.py:771
↓ 1 callersFunctionseg_compute_comfort_metric
(acceleration, angular_velocity, forward_vector, right_vector, location, rotation, win
tools/efficiency_smoothness_benchmark.py:40
↓ 1 callersMethodsensors
(self)
tools/data_collect.py:430
↓ 1 callersMethodset_black_screen
Set the surface to black
leaderboard/leaderboard/autoagents/human_agent.py:83
↓ 1 callersMethodset_frame
return the frame
scenario_runner/srunner/scenariomanager/traffic_events.py:66
↓ 1 callersMethodset_global_parameters
Set global_osc_parameter dictionary Args: parameter_dict (Dictionary): Input for global_osc_parameter
scenario_runner/srunner/tools/openscenario_parser.py:342
↓ 1 callersMethodset_init_speed
Set _init_speed to True
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:87
↓ 1 callersMethodset_osc_filepath
Set path of OSC file. This is required if for example custom commands are provided with relative paths.
scenario_runner/srunner/tools/openscenario_parser.py:287
↓ 1 callersMethodset_runtime_init_mode
Set the runtime init mode
scenario_runner/srunner/scenariomanager/carla_data_provider.py:275
↓ 1 callersMethodset_scenario
Sets the scenario from which the statistics will be taken
leaderboard/leaderboard/utils/statistics_manager.py:332
↓ 1 callersMethodset_text
(self, text, color=COLOR_WHITE, seconds=2.0)
scenario_runner/no_rendering_mode.py:234
↓ 1 callersMethodset_use_carla_coordinate_system
CARLA internally uses a left-hand coordinate system (Unreal), but OpenSCENARIO and OpenDRIVE are intended for right-hand coordinate s
scenario_runner/srunner/tools/openscenario_parser.py:295
↓ 1 callersMethodsetup
Setup the agent parameters
leaderboard/leaderboard/autoagents/npc_agent.py:30
← previousnext →701–800 of 1,781, ranked by callers