MCPcopy Create free account

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

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

↓ 1 callersMethodsetup
Initialize everything needed by your agent and set the track attribute to the right type:
scenario_runner/srunner/autoagents/autonomous_agent.py:36
↓ 1 callersMethodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
leaderboard/leaderboard/autoagents/agent_wrapper.py:238
↓ 1 callersMethodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
scenario_runner/srunner/autoagents/agent_wrapper.py:41
↓ 1 callersFunctionshow_all_routes
(filename, show_scenarios, world, grp)
leaderboard/scripts/route_displayer.py:67
↓ 1 callersFunctionshow_route
(filename, route_id, show_keypoints, show_scenarios, world, grp)
leaderboard/scripts/route_displayer.py:106
↓ 1 callersFunctionshow_saved_scenarios
(filename, route_id, world)
leaderboard/scripts/scenario_creator.py:208
↓ 1 callersMethodsignal_handler
Terminate scenario ticking when receiving a signal interrupt
leaderboard/leaderboard/scenarios/scenario_manager.py:82
↓ 1 callersMethodsort_records
Sorts the route records according to their route id (This being i.e RouteScenario0_rep0)
leaderboard/leaderboard/utils/statistics_manager.py:224
↓ 1 callersMethodspawn_object
(self, type_, id_, transform, attributes, attach_to=0)
leaderboard/leaderboard/autoagents/ros2_agent.py:84
↓ 1 callersMethodspawn_parked_vehicles
Spawn parked vehicles.
leaderboard/leaderboard/scenarios/route_scenario.py:205
↓ 1 callersFunctionsplit_list_into_n_parts
(lst, n)
tools/split_xml.py:4
↓ 1 callersMethodstart
(self)
scenario_runner/no_rendering_mode.py:291
↓ 1 callersMethodstart_modules
(self)
scenario_runner/no_rendering_mode.py:216
↓ 1 callersMethodstop_constant_velocity
Stops the constant velocity behavior
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2969
↓ 1 callersMethodstop_scenario
This function triggers a proper termination of a scenario
leaderboard/leaderboard/scenarios/scenario_manager.py:243
↓ 1 callersMethodstop_scenario
This function is used by the overall signal handler to terminate the scenario execution
scenario_runner/srunner/scenariomanager/scenario_manager.py:195
↓ 1 callersMethodterminate
This function sets the status of all leaves in the scenario tree to INVALID
scenario_runner/srunner/scenarios/basic_scenario.py:297
↓ 1 callersMethodterminate
(self, new_status)
scenario_runner/srunner/scenariomanager/lights_sim.py:154
↓ 1 callersMethodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4259
↓ 1 callersMethodtick
(self, clock, wait_for_repetitions)
scenario_runner/manual_control.py:173
↓ 1 callersFunctionto_route_record
(record_dict)
leaderboard/leaderboard/utils/statistics_manager.py:170
↓ 1 callersMethodtoggle
(self)
scenario_runner/no_rendering_mode.py:270
↓ 1 callersMethodtoggle_camera
(self)
scenario_runner/manual_control.py:802
↓ 1 callersMethodtoggle_info
(self)
scenario_runner/manual_control.py:455
↓ 1 callersMethodtoggle_recording
(self)
scenario_runner/manual_control.py:827
↓ 1 callersMethodtraffic_light_manager
This method is in charge of behaviors for red lights.
scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py:140
↓ 1 callersMethodtransform_to_geolocation
(self, transform)
scenario_runner/srunner/tests/carla_mocks/carla.py:139
↓ 1 callersMethodupdate
(self)
scenario_runner/srunner/tools/background_manager.py:99
↓ 1 callersMethodupdate
Check if the _actor stands still (v=0)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:254
↓ 1 callersMethodupdate
Keep running until termination condition is satisfied
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2192
↓ 1 callersFunctionupdate_Ability
(scenario_name, Ability_Statistic, status)
tools/ability_benchmark.py:28
↓ 1 callersFunctionupdate_Success
(scenario_name, Success_Statistic, status)
tools/ability_benchmark.py:36
↓ 1 callersMethodupdate_hud_info
(self, clock)
scenario_runner/no_rendering_mode.py:921
↓ 1 callersMethodupdate_light_states
Update traffic light states
scenario_runner/srunner/scenariomanager/carla_data_provider.py:377
↓ 1 callersMethoduse_stepping_mode
Overload this function to use stepping mode!
scenario_runner/srunner/autoagents/ros_agent.py:402
↓ 1 callersMethodvalidate_and_resume
Validates the endpoint by comparing several of its values with the current running routes. If all checks pass, the simulation starts
leaderboard/leaderboard/utils/route_indexer.py:40
↓ 1 callersFunctionvalidate_scenarios
Validates that all the scenarios can be triggered (by having a waypoint closeby). Color code - Can be triggered: Green - Didn't pass the
leaderboard/scripts/manage_scenarios.py:116
↓ 1 callersFunctionvalidate_sensor_configuration
Ensure that the sensor configuration is valid, in case the challenge mode is used Returns true on valid configuration, false otherwise
leaderboard/leaderboard/autoagents/agent_wrapper.py:74
↓ 1 callersMethodvariable_cleanup
Resets all variables to the intial state
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3828
↓ 1 callersFunctionvisualize_data
(file_path, map_path, vis_bbox=True, vis_top_down=True, vis_road=True, vis_lidar_bev=True, vis_lidar_to_back_
tools/visualize.py:13
↓ 1 callersFunctionwait_for_message
(node, topic, topic_type, timeout=None)
leaderboard/leaderboard/autoagents/ros2_agent.py:31
↓ 1 callersFunctionwait_for_message
(client, topic, topic_type, timeout=None)
leaderboard/leaderboard/autoagents/ros1_agent.py:39
↓ 1 callersMethodworld_to_pixel
(self, location, offset=(0, 0))
scenario_runner/no_rendering_mode.py:763
↓ 1 callersMethodwrite_live_results
Writes live results
leaderboard/leaderboard/utils/statistics_manager.py:234
MethodApplyTransform
()
scenario_runner/srunner/tests/carla_mocks/carla.py:29
MethodFutureActor
()
scenario_runner/srunner/tests/carla_mocks/carla.py:26
MethodSetAutopilot
(actor, autopilot, port)
scenario_runner/srunner/tests/carla_mocks/carla.py:32
MethodSetSimulatePhysics
(blueprint, physics)
scenario_runner/srunner/tests/carla_mocks/carla.py:23
MethodSetVehicleLightState
()
scenario_runner/srunner/tests/carla_mocks/carla.py:35
Method__GE__
(self, other)
scenario_runner/srunner/tools/openscenario_parser.py:201
Method__GT__
(self, other)
scenario_runner/srunner/tools/openscenario_parser.py:207
Method__LE__
(self, other)
scenario_runner/srunner/tools/openscenario_parser.py:204
Method__LT__
(self, other)
scenario_runner/srunner/tools/openscenario_parser.py:210
Method__abs__
(self)
scenario_runner/srunner/tools/openscenario_parser.py:219
Method__add__
(self, other)
scenario_runner/srunner/tools/openscenario_parser.py:162
Method__call__
Execute the agent call, e.g. agent() Returns the next vehicle controls
leaderboard/leaderboard/autoagents/autonomous_agent.py:101
Method__call__
Pass the call directly to the agent
leaderboard/leaderboard/autoagents/agent_wrapper.py:143
Method__call__
We convert the vehicle physics information into a convenient dictionary
leaderboard/leaderboard/envs/sensor_interface.py:110
Method__call__
(self)
leaderboard/leaderboard/envs/sensor_interface.py:129
Method__call__
(self, data)
leaderboard/leaderboard/envs/sensor_interface.py:140
Method__call__
call function
scenario_runner/srunner/autoagents/sensor_interface.py:48
Method__call__
Execute the agent call, e.g. agent() Returns the next vehicle controls
scenario_runner/srunner/autoagents/autonomous_agent.py:84
Method__call__
Pass the call directly to the agent
scenario_runner/srunner/autoagents/agent_wrapper.py:35
Method__del__
Cleanup and delete actors, ScenarioManager and CARLA world
leaderboard/leaderboard/leaderboard_evaluator.py:146
Method__del__
(self)
leaderboard/leaderboard/autoagents/human_agent.py:309
Method__del__
Remove all actors upon deletion
leaderboard/leaderboard/scenarios/route_scenario.py:489
Method__del__
Delete method
scenario_runner/srunner/autoagents/human_agent.py:272
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/freeride.py:64
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/yield_to_emergency_vehicle.py:173
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/vehicle_opens_door.py:210
Method__del__
Remove all actors after deletion.
scenario_runner/srunner/scenarios/cut_in.py:154
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/cut_in_with_static_vehicle.py:267
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/left_turn_enter_flow.py:148
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/background_activity_parametrizer.py:84
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/open_scenario.py:503
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/blocked_intersection.py:146
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/green_traffic_light.py:94
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/parking_cut_in.py:179
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/highway_cut_in.py:139
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/change_lane.py:177
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/no_signal_junction_crossing.py:160
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/no_signal_junction_crossing.py:208
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/sequentially_lane_change.py:58
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/t_junction.py:63
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/vanilla_turn.py:105
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/control_loss.py:171
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py:167
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/route_scenario.py:380
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/invading_turn.py:178
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/maneuver_opposite_direction.py:168
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:153
Method__del__
(self)
scenario_runner/srunner/scenarios/other_leading_vehicle.py:150
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/cross_bicycle_flow.py:202
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/route_obstacles.py:230
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/route_obstacles.py:435
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/route_obstacles.py:651
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:148
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_vehicle.py:134
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_vehicle.py:342
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_vehicle.py:549
← previousnext →801–900 of 1,781, ranked by callers