Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/DriveAdapter
/ functions
Functions
1,526 in github.com/OpenDriveLab/DriveAdapter
⨍
Functions
1,526
◇
Types & classes
283
Method
setup
(self, path_to_conf_file)
leaderboard/team_code/driveadapter_agent.py:159
Method
setup
(self, path_to_conf_file)
leaderboard/team_code/base_agent.py:21
Method
setup
(self, path_to_conf_file, ckpt="roach/log/ckpt_11833344.pth")
leaderboard/team_code/roach_ap_agent_data_collection.py:95
Method
setup
Setup the agent parameters
scenario_runner/srunner/autoagents/dummy_agent.py:23
Method
setup
Setup the agent parameters
scenario_runner/srunner/autoagents/human_agent.py:100
Method
setup
setup agent
scenario_runner/srunner/autoagents/ros_agent.py:65
Method
setup
Setup the agent parameters
scenario_runner/srunner/autoagents/npc_agent.py:28
Method
setup
Default setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:61
Function
sigmoid_focal_loss
( inputs: torch.Tensor, targets: torch.Tensor, alpha: float = 0.25, gamma: float = 2,
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:20
Method
start
(self)
scenario_runner/no_rendering_mode.py:836
Method
start
(self)
scenario_runner/no_rendering_mode.py:1254
Function
str2bool
(v)
open_loop_training/train.py:32
Function
str2bool
(v)
leaderboard/leaderboard/leaderboard_evaluator.py:43
Method
terminate
Terminate and mark Blackboard entry with END
scenario_runner/srunner/scenarios/open_scenario.py:108
Method
terminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:74
Method
terminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:132
Method
terminate
On termination of this behavior, the throttle should be set back to 0., to avoid further acceleration.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1084
Method
terminate
(self, new_status)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1409
Method
terminate
On termination of this behavior, the controls should be set back to 0.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1657
Method
terminate
Set final status
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:192
Method
terminate
Set final status
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:276
Method
terminate
Cleanup sensor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:354
Method
terminate
Cleanup sensor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:555
Method
terminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:977
Method
terminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1209
Method
terminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1362
Method
terminate
Set test status to failure if not successful and terminate
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1685
Function
threaded
(fn)
leaderboard/leaderboard/envs/sensor_interface.py:16
Method
tick
(self, input_data)
leaderboard/team_code/base_agent.py:202
Method
tick
(self, clock)
scenario_runner/no_rendering_mode.py:201
Method
tick
(self, clock)
scenario_runner/no_rendering_mode.py:241
Method
tick
(self, clock)
scenario_runner/no_rendering_mode.py:914
Method
tick
(self, clock)
scenario_runner/no_rendering_mode.py:1261
Method
tick
(self, vehicle, timestamp)
roach/criteria/run_stop_sign.py:23
Method
tick
(self, vehicle, timestamp)
roach/criteria/collision.py:27
Method
tick
(self, vehicle, timestamp)
roach/criteria/run_red_light.py:13
Method
tick
(self, vehicle, timestamp, ref_waypoint, distance_traveled, route_length)
roach/criteria/route_deviation.py:9
Method
tick
(self, vehicle, timestamp, distance_traveled)
roach/criteria/outside_route_lane.py:21
Method
tick
(self, vehicle, timestamp)
roach/criteria/blocked.py:11
Method
tick
(self, vehicle, timestamp)
roach/criteria/encounter_light.py:10
Function
tint
(color, factor)
roach/obs_manager/birdview/hdmap_generate.py:24
Method
tip
Get the *tip* of this behaviour's subtree (if it has one) after it's last tick. This corresponds to the the deepest node that was run
scenario_runner/srunner/tools/py_trees_port.py:91
Function
to_camel_case
(snake_str, init_capital=False)
roach/utils/config_utils.py:131
Method
to_torch
(x)
roach/models/ppo_buffer.py:167
Function
train_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
open_loop_training/code/apis/train.py:38
Method
train_step
(self, data, optimizer)
open_loop_training/code/encoder_decoder_framework.py:224
Method
update
Reflect the decorated child's status Returns: the decorated child's status
scenario_runner/srunner/scenarios/open_scenario.py:101
Method
update
Get current game time, and compare it to the timeout value Upon successfully comparison using the provided success_rule operator,
scenario_runner/srunner/scenariomanager/timer.py:114
Method
update
Reset watchdog.
scenario_runner/srunner/scenariomanager/watchdog.py:51
Method
update
Check if new weather settings are available on the blackboard, and if yes fetch these into the _weather attribute. Apply the
scenario_runner/srunner/scenariomanager/weather_sim.py:124
Method
update
Check if actor is in trigger distance
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:122
Method
update
Check if actor can arrive within trigger time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:190
Method
update
Gets the speed of the two actors and compares them according to the comparison operator returns: py_trees.common.Status.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:307
Method
update
Gets the speed of the actor and compares it with the reference one returns: py_trees.common.Status.RUNNING when the comp
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:354
Method
update
Gets the accleration of the actor and compares it with the reference one returns: py_trees.common.Status.RUNNING when th
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:398
Method
update
Gets the time of day of the simulation and compares it with the reference one returns: py_trees.common.Status.RUNNING wh
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:443
Method
update
Check if the specified story element has started/ended since the beginning of the condition
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:499
Method
update
Check if the _actor location is within trigger region
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:542
Method
update
Check if the ego vehicle is within trigger distance to other actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:591
Method
update
Check if the actor is within trigger distance to the target location
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:642
Method
update
Check if the actor is within trigger distance to the intersection
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:693
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:740
Method
update
Check if the actor can arrive at target_location within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:789
Method
update
Check if the ego vehicle can arrive at other actor within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:856
Method
update
Check if the ego vehicle can arrive at other actor within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:937
Method
update
Checks if the two actors meet the requirements
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:998
Method
update
Check driven distance
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1069
Method
update
Check actor waypoints
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1106
Method
update
Set status to SUCCESS, when traffic light state matches the expected one
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1150
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1181
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1222
Method
update
Start script
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:168
Method
update
Write weather into blackboard and exit with success returns: py_trees.common.Status.SUCCESS
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:214
Method
update
Update road friction. Spawns new friction blueprint and removes the old one, if existing. returns: py_trees.common.Statu
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:248
Method
update
Write (actor, controler) pair to Blackboard, or update the controller if actor already exists as a key. returns:
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:302
Method
update
Execute one control loop step for all actor controls. returns: py_trees.common.Status.RUNNING
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:347
Method
update
Check the actor's current state and update target speed, if it is relative to another actor. returns: py_trees.common.St
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:481
Method
update
Check the actor's state along the waypoint route. returns: py_trees.common.Status.SUCCESS, if the final waypoint was rea
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:589
Method
update
Check the actor's current state and if the lane change was completed returns: py_trees.common.Status.SUCCESS, if lane ch
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:774
Method
update
Transform actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:852
Method
update
Set throttle to throttle_value, as long as velocity is < target_velocity
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:908
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:971
Method
update
As long as the stop condition (duration or distance) is not violated, set a new vehicle control For vehicles: set throttle to thrott
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1054
Method
update
De/activate autopilot
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1126
Method
update
Set brake to brake_value until reaching full stop
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1188
Method
update
Dynamic control update for actor velocity
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1242
Method
update
Set steer to steer_value and throttle to throttle_value until reaching full stop
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1312
Method
update
Change the noise parameters from the structure copy that it receives.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1354
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1395
Method
update
Compute next control step for the given waypoint plan, obtain and apply control to actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1582
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1725
Method
update
Nothing to update, end the behavior
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1772
Method
update
Set handbrake
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1803
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1839
Method
update
Transform actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1885
Method
update
Change the state of the traffic light
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1924
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1973
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2022
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2051
Method
update
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2072
← previous
next →
1,401–1,500 of 1,526, ranked by callers