MCPcopy Create free account

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

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

Methodinitialise
Set _start_time and get (actor, controller) pair from Blackboard. Set offset for actor controller. May throw if actor is no
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1080
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1231
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1287
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1352
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1434
Methodinitialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1723
Methodinitialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1812
Methodinitialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1994
Methodinitialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2057
Methodinitialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2125
Methodinitialise
Delayed one-time initialization Checks if another WaypointFollower behavior is already running for this actor. If this is th
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2287
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2491
Methodinitialise
Initialize it's speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2541
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2659
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2897
Methodinitialise
Get the actor flow source and sink, depending on the reference actor speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3081
Methodinitialise
Get the actor flow source and sink, depending on the reference actor speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3208
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3317
Methodinitialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3437
Methodinitialise
Sets the traffic lights to the desired states and remembers their previous one. These should technically be frozen, but that freezes
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3471
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3979
Methodinitialise
Spawn the walker at source location. Setup the AI controller. May throw RuntimeError if the walker can not be spawne
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4218
Methodinitialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4296
Methodinitialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4347
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:153
Methodinitialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:228
Methodinitialise
Creates the sensor and callback
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:315
Methodinsert_element_into_dict
(id, element, lane_marking_dict)
tools/gen_hdmap.py:311
Methodinterpolate
(prev_w, next_w, perc, name)
scenario_runner/srunner/scenariomanager/weather_sim.py:235
Methodis_close
(slot_location)
leaderboard/leaderboard/scenarios/route_scenario.py:166
Methodis_free
(slot_location)
leaderboard/leaderboard/scenarios/route_scenario.py:209
Functionis_lane_at_road
Returns whether or not a lane is part of a road
scenario_runner/srunner/scenarios/background_activity.py:41
Methodis_remapping_needed
The road dict mapping is needed if
scenario_runner/srunner/scenarios/background_activity.py:2296
Methodis_road_dict_unchanging
Sometimes 'monitor_topology_changes' has already done the necessary changes
scenario_runner/srunner/scenarios/background_activity.py:2314
Methodis_traffic_light_frozen
Returns whether or not the traffic light is frozen at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:369
Methodis_trigger_close
Check if the two transforms are similar
leaderboard/leaderboard/utils/route_parser.py:180
Methodis_trigger_close
Check if the two transforms are similar
scenario_runner/srunner/tools/route_parser.py:131
Methodis_vehicle_light_active
Returns the elapsed time of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:404
Methodlane_marking_color_to_tango
(lane_marking_color)
scenario_runner/no_rendering_mode.py:462
Methodlateral_shift
(transform, shift)
scenario_runner/no_rendering_mode.py:613
Methodlidar_to_ego_coordinate
Converts the LiDAR points given by the simulator into the ego agents coordinate system :param config: GlobalConfi
tools/data_collect.py:46
Functionlocation_route_to_gps
Locate each waypoint of the route into gps, (lat long ) representations. :param route: :param lat_ref: :param lon_ref: :retur
leaderboard/leaderboard/utils/route_manipulation.py:43
Functionlocation_route_to_gps
Locate each waypoint of the route into gps, (lat long ) representations. :param route: :param lat_ref: :param lon_ref: :retur
scenario_runner/srunner/tools/route_manipulation.py:45
Functionmain
()
leaderboard/scripts/scenario_orderer.py:323
Methodon_carla_tick
Callback from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:125
Methodon_vehicle_control
callback if a new vehicle control command is received
scenario_runner/srunner/autoagents/ros_agent.py:183
Methodon_world_tick
(self, timestamp)
scenario_runner/manual_control.py:392
Methodparse_from_dict
static method to initialize an ActorConfigurationData from a given ET tree
scenario_runner/srunner/scenarioconfigs/scenario_configuration.py:65
Methodquit_interface
Stops the pygame window
scenario_runner/srunner/autoagents/human_agent.py:64
Methodregister_actors
Add new set of actors to dictionaries
scenario_runner/srunner/scenariomanager/carla_data_provider.py:114
Methodrender
(self, display)
scenario_runner/manual_control.py:528
Methodrender
(self, display)
scenario_runner/manual_control.py:557
Methodrender
(self, display)
scenario_runner/manual_control.py:831
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:206
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:246
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:344
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:1147
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:1258
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:140
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:65
Methodreset
Pure virtual function to reset the controller. This should be implemented in the user-defined agent implementation.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:102
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py:33
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py:32
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/carla_autopilot.py:39
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:91
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:34
Methodresult_dict
Convenience function to convert its arguments into a JSON-ready dict :param name: Name of the test criterion :par
scenario_runner/srunner/scenariomanager/result_writer.py:156
Methodrotate_point
rotate a given point by a given angle
scenario_runner/srunner/scenariomanager/carla_data_provider.py:357
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/dummy_agent.py:68
Methodrun_step
(self, input_data, timestamp)
leaderboard/leaderboard/autoagents/ros1_agent.py:136
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/human_agent.py:166
Methodrun_step
(self, _, timestamp)
leaderboard/leaderboard/autoagents/ros_base_agent.py:227
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/npc_agent.py:63
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/dummy_agent.py:61
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/human_agent.py:120
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/ros_agent.py:408
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/npc_agent.py:59
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:156
Methodrun_step
Execute one step of control invoking both lateral and longitudinal PID controllers to reach a target waypoint at a given targ
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:54
Methodrun_step
Execute one step of longitudinal control to reach a given target speed. :param target_speed: target speed in Km/h :p
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:126
Methodrun_step
Execute one step of lateral control to steer the vehicle towards a certain waypoin. :param waypoint: target waypoint
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:195
Methodrun_step
Execute one step of local planning which involves running the longitudinal and lateral PID controllers to follow the waypoints trajec
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:208
Methodrun_step
Execute on tick of the controller's control loop If _waypoints are provided, the vehicle moves towards the next waypoint wit
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:153
Methodrun_step
Execute on tick of the controller's control loop Note: Negative target speeds are not yet supported. Try using simple_
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:75
Methodrun_step
Execute on tick of the controller's control loop The control loop is very simplistic: If the actor speed is below the _t
scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py:40
Methodrun_step
The control loop and setting the actor controls is implemented externally.
scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py:39
Methodrun_step
Everything is controlled through CARLA's autopilot functionality. Nothing to do here
scenario_runner/srunner/scenariomanager/actorcontrols/carla_autopilot.py:45
Methodrun_step
Execute on tick of the controller's control loop
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:176
Methodrun_step
Execute on tick of the controller's control loop Note: Walkers / pedestrians are not able to walk backwards. If _waypoints
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:41
Methodsave
(self, near_node, far_node, near_command, far_command, tick_data, should_brake)
tools/data_collect.py:740
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/dummy_agent.py:31
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/human_agent.py:129
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/autonomous_agent.py:59
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/dummy_agent.py:28
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/human_agent.py:94
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/npc_agent.py:34
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/autonomous_agent.py:42
Methodset_global_plan
(self, global_plan_gps, global_plan_world_coord)
leaderboard/leaderboard/autoagents/ros1_agent.py:139
Methodset_global_plan
Set the plan (route) for the agent
leaderboard/leaderboard/autoagents/autonomous_agent.py:128
Methodset_infraction_message
()
leaderboard/leaderboard/utils/statistics_manager.py:348
← previousnext →1,501–1,600 of 1,781, ranked by callers