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
Method
initialise
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
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1231
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1287
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1352
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1434
Method
initialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1723
Method
initialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1812
Method
initialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1994
Method
initialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2057
Method
initialise
Initialises the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2125
Method
initialise
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
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2491
Method
initialise
Initialize it's speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2541
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2659
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2897
Method
initialise
Get the actor flow source and sink, depending on the reference actor speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3081
Method
initialise
Get the actor flow source and sink, depending on the reference actor speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3208
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3317
Method
initialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3437
Method
initialise
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
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3979
Method
initialise
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
Method
initialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4296
Method
initialise
Set start time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4347
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:153
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:228
Method
initialise
Creates the sensor and callback
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:315
Method
insert_element_into_dict
(id, element, lane_marking_dict)
tools/gen_hdmap.py:311
Method
interpolate
(prev_w, next_w, perc, name)
scenario_runner/srunner/scenariomanager/weather_sim.py:235
Method
is_close
(slot_location)
leaderboard/leaderboard/scenarios/route_scenario.py:166
Method
is_free
(slot_location)
leaderboard/leaderboard/scenarios/route_scenario.py:209
Function
is_lane_at_road
Returns whether or not a lane is part of a road
scenario_runner/srunner/scenarios/background_activity.py:41
Method
is_remapping_needed
The road dict mapping is needed if
scenario_runner/srunner/scenarios/background_activity.py:2296
Method
is_road_dict_unchanging
Sometimes 'monitor_topology_changes' has already done the necessary changes
scenario_runner/srunner/scenarios/background_activity.py:2314
Method
is_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
Method
is_trigger_close
Check if the two transforms are similar
leaderboard/leaderboard/utils/route_parser.py:180
Method
is_trigger_close
Check if the two transforms are similar
scenario_runner/srunner/tools/route_parser.py:131
Method
is_vehicle_light_active
Returns the elapsed time of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:404
Method
lane_marking_color_to_tango
(lane_marking_color)
scenario_runner/no_rendering_mode.py:462
Method
lateral_shift
(transform, shift)
scenario_runner/no_rendering_mode.py:613
Method
lidar_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
Function
location_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
Function
location_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
Function
main
()
leaderboard/scripts/scenario_orderer.py:323
Method
on_carla_tick
Callback from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:125
Method
on_vehicle_control
callback if a new vehicle control command is received
scenario_runner/srunner/autoagents/ros_agent.py:183
Method
on_world_tick
(self, timestamp)
scenario_runner/manual_control.py:392
Method
parse_from_dict
static method to initialize an ActorConfigurationData from a given ET tree
scenario_runner/srunner/scenarioconfigs/scenario_configuration.py:65
Method
quit_interface
Stops the pygame window
scenario_runner/srunner/autoagents/human_agent.py:64
Method
register_actors
Add new set of actors to dictionaries
scenario_runner/srunner/scenariomanager/carla_data_provider.py:114
Method
render
(self, display)
scenario_runner/manual_control.py:528
Method
render
(self, display)
scenario_runner/manual_control.py:557
Method
render
(self, display)
scenario_runner/manual_control.py:831
Method
render
(self, display)
scenario_runner/no_rendering_mode.py:206
Method
render
(self, display)
scenario_runner/no_rendering_mode.py:246
Method
render
(self, display)
scenario_runner/no_rendering_mode.py:344
Method
render
(self, display)
scenario_runner/no_rendering_mode.py:1147
Method
render
(self, display)
scenario_runner/no_rendering_mode.py:1258
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:140
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:65
Method
reset
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
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py:33
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py:32
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/carla_autopilot.py:39
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:91
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:34
Method
result_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
Method
rotate_point
rotate a given point by a given angle
scenario_runner/srunner/scenariomanager/carla_data_provider.py:357
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/dummy_agent.py:68
Method
run_step
(self, input_data, timestamp)
leaderboard/leaderboard/autoagents/ros1_agent.py:136
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/human_agent.py:166
Method
run_step
(self, _, timestamp)
leaderboard/leaderboard/autoagents/ros_base_agent.py:227
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/npc_agent.py:63
Method
run_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/dummy_agent.py:61
Method
run_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/human_agent.py:120
Method
run_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/ros_agent.py:408
Method
run_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/npc_agent.py:59
Method
run_step
Execute one step of navigation.
scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py:156
Method
run_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
Method
run_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
Method
run_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
Method
run_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
Method
run_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
Method
run_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
Method
run_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
Method
run_step
The control loop and setting the actor controls is implemented externally.
scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py:39
Method
run_step
Everything is controlled through CARLA's autopilot functionality. Nothing to do here
scenario_runner/srunner/scenariomanager/actorcontrols/carla_autopilot.py:45
Method
run_step
Execute on tick of the controller's control loop
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:176
Method
run_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
Method
save
(self, near_node, far_node, near_command, far_command, tick_data, should_brake)
tools/data_collect.py:740
Method
sensors
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
Method
sensors
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
Method
sensors
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
Method
sensors
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
Method
sensors
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
Method
sensors
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
Method
sensors
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
Method
set_global_plan
(self, global_plan_gps, global_plan_world_coord)
leaderboard/leaderboard/autoagents/ros1_agent.py:139
Method
set_global_plan
Set the plan (route) for the agent
leaderboard/leaderboard/autoagents/autonomous_agent.py:128
Method
set_infraction_message
()
leaderboard/leaderboard/utils/statistics_manager.py:348
← previous
next →
1,501–1,600 of 1,781, ranked by callers