MCPcopy Create free account

hub / github.com/OpenDriveLab/DriveAdapter / functions

Functions1,526 in github.com/OpenDriveLab/DriveAdapter

Methodsetup
(self, path_to_conf_file)
leaderboard/team_code/driveadapter_agent.py:159
Methodsetup
(self, path_to_conf_file)
leaderboard/team_code/base_agent.py:21
Methodsetup
(self, path_to_conf_file, ckpt="roach/log/ckpt_11833344.pth")
leaderboard/team_code/roach_ap_agent_data_collection.py:95
Methodsetup
Setup the agent parameters
scenario_runner/srunner/autoagents/dummy_agent.py:23
Methodsetup
Setup the agent parameters
scenario_runner/srunner/autoagents/human_agent.py:100
Methodsetup
setup agent
scenario_runner/srunner/autoagents/ros_agent.py:65
Methodsetup
Setup the agent parameters
scenario_runner/srunner/autoagents/npc_agent.py:28
Methodsetup
Default setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:61
Functionsigmoid_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
Methodstart
(self)
scenario_runner/no_rendering_mode.py:836
Methodstart
(self)
scenario_runner/no_rendering_mode.py:1254
Functionstr2bool
(v)
open_loop_training/train.py:32
Functionstr2bool
(v)
leaderboard/leaderboard/leaderboard_evaluator.py:43
Methodterminate
Terminate and mark Blackboard entry with END
scenario_runner/srunner/scenarios/open_scenario.py:108
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:74
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:132
Methodterminate
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
Methodterminate
(self, new_status)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1409
Methodterminate
On termination of this behavior, the controls should be set back to 0.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1657
Methodterminate
Set final status
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:192
Methodterminate
Set final status
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:276
Methodterminate
Cleanup sensor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:354
Methodterminate
Cleanup sensor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:555
Methodterminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:977
Methodterminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1209
Methodterminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1362
Methodterminate
Set test status to failure if not successful and terminate
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1685
Functionthreaded
(fn)
leaderboard/leaderboard/envs/sensor_interface.py:16
Methodtick
(self, input_data)
leaderboard/team_code/base_agent.py:202
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:201
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:241
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:914
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:1261
Methodtick
(self, vehicle, timestamp)
roach/criteria/run_stop_sign.py:23
Methodtick
(self, vehicle, timestamp)
roach/criteria/collision.py:27
Methodtick
(self, vehicle, timestamp)
roach/criteria/run_red_light.py:13
Methodtick
(self, vehicle, timestamp, ref_waypoint, distance_traveled, route_length)
roach/criteria/route_deviation.py:9
Methodtick
(self, vehicle, timestamp, distance_traveled)
roach/criteria/outside_route_lane.py:21
Methodtick
(self, vehicle, timestamp)
roach/criteria/blocked.py:11
Methodtick
(self, vehicle, timestamp)
roach/criteria/encounter_light.py:10
Functiontint
(color, factor)
roach/obs_manager/birdview/hdmap_generate.py:24
Methodtip
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
Functionto_camel_case
(snake_str, init_capital=False)
roach/utils/config_utils.py:131
Methodto_torch
(x)
roach/models/ppo_buffer.py:167
Functiontrain_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
Methodtrain_step
(self, data, optimizer)
open_loop_training/code/encoder_decoder_framework.py:224
Methodupdate
Reflect the decorated child's status Returns: the decorated child's status
scenario_runner/srunner/scenarios/open_scenario.py:101
Methodupdate
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
Methodupdate
Reset watchdog.
scenario_runner/srunner/scenariomanager/watchdog.py:51
Methodupdate
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
Methodupdate
Check if actor is in trigger distance
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:122
Methodupdate
Check if actor can arrive within trigger time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:190
Methodupdate
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
Methodupdate
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
Methodupdate
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
Methodupdate
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
Methodupdate
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
Methodupdate
Check if the _actor location is within trigger region
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:542
Methodupdate
Check if the ego vehicle is within trigger distance to other actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:591
Methodupdate
Check if the actor is within trigger distance to the target location
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:642
Methodupdate
Check if the actor is within trigger distance to the intersection
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:693
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:740
Methodupdate
Check if the actor can arrive at target_location within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:789
Methodupdate
Check if the ego vehicle can arrive at other actor within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:856
Methodupdate
Check if the ego vehicle can arrive at other actor within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:937
Methodupdate
Checks if the two actors meet the requirements
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:998
Methodupdate
Check driven distance
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1069
Methodupdate
Check actor waypoints
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1106
Methodupdate
Set status to SUCCESS, when traffic light state matches the expected one
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1150
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1181
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1222
Methodupdate
Start script
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:168
Methodupdate
Write weather into blackboard and exit with success returns: py_trees.common.Status.SUCCESS
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:214
Methodupdate
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
Methodupdate
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
Methodupdate
Execute one control loop step for all actor controls. returns: py_trees.common.Status.RUNNING
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:347
Methodupdate
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
Methodupdate
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
Methodupdate
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
Methodupdate
Transform actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:852
Methodupdate
Set throttle to throttle_value, as long as velocity is < target_velocity
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:908
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:971
Methodupdate
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
Methodupdate
De/activate autopilot
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1126
Methodupdate
Set brake to brake_value until reaching full stop
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1188
Methodupdate
Dynamic control update for actor velocity
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1242
Methodupdate
Set steer to steer_value and throttle to throttle_value until reaching full stop
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1312
Methodupdate
Change the noise parameters from the structure copy that it receives.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1354
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1395
Methodupdate
Compute next control step for the given waypoint plan, obtain and apply control to actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1582
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1725
Methodupdate
Nothing to update, end the behavior
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1772
Methodupdate
Set handbrake
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1803
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1839
Methodupdate
Transform actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1885
Methodupdate
Change the state of the traffic light
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1924
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1973
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2022
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2051
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2072
← previousnext →1,401–1,500 of 1,526, ranked by callers