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
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
is_within_distance
(w)
roach/obs_manager/birdview/chauffeurnet.py:94
Function
kill_carla
()
dataset/tools/generate_random_routes.py:293
Function
kill_carla
()
leaderboard/leaderboard/leaderboard_evaluator.py:90
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
learn
(self, total_timesteps, callback=None, seed=2021)
roach/models/ppo.py:212
Method
load_annotations
(self)
open_loop_training/code/datasets/base_dataset.py:50
Function
load_obs_configs
(agent_configs_dict)
roach/utils/config_utils.py:58
Method
log_prob
(self, actions: th.Tensor)
roach/models/distributions.py:73
Method
log_prob
(self, actions: th.Tensor, gaussian_actions: Optional[th.Tensor] = None)
roach/models/distributions.py:143
Method
loss
(self, batch, pred,)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:434
Method
make_queue
(register_event)
camera_calibration/collect_data_for_calibration.py:361
Method
match_waypoints
Check if waypoint1 and wtransform are similar
leaderboard/leaderboard/utils/route_parser.py:192
Method
match_waypoints
Check if waypoint1 and wtransform are similar
scenario_runner/srunner/tools/route_parser.py:158
Function
np_encoder
(object)
leaderboard/team_code/roach_ap_agent_data_collection.py:43
Method
obs_configs
(self)
roach/rl_birdview_agent.py:57
Method
on_carla_tick
Callback from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:102
Method
on_vehicle_control
callback if a new vehicle control command is received
leaderboard/leaderboard/autoagents/ros_agent.py:184
Method
on_vehicle_control
callback if a new vehicle control command is received
scenario_runner/srunner/autoagents/ros_agent.py:183
Method
parse_preset_weather
Returns one of the 14 preset weather condition. If the route has no weather attribute, the default one is triggered.
leaderboard/leaderboard/utils/route_parser.py:140
Function
parse_routes_file
(routes_xml_filename)
roach/utils/config_utils.py:73
Method
position_sampled
Check if a position was already sampled, i.e. used for another scenario
leaderboard/leaderboard/scenarios/route_scenario.py:315
Method
position_sampled
Check if a position was already sampled, i.e. used for another scenario
scenario_runner/srunner/scenarios/route_scenario.py:272
Method
prepare_test_data
(self, index)
open_loop_training/code/datasets/carla_dataset.py:272
Method
proba_distribution
(self, mean_actions: th.Tensor, log_std: th.Tensor)
roach/models/distributions.py:66
Method
proba_distribution
(self, mean_actions: th.Tensor, log_std: th.Tensor)
roach/models/distributions.py:136
Method
proba_distribution_net
(self, latent_dim: int)
roach/models/distributions.py:44
Method
proba_distribution_net
(self, latent_dim: int)
roach/models/distributions.py:128
Method
register_actors
Add new set of actors to dictionaries
scenario_runner/srunner/scenariomanager/carla_data_provider.py:94
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
reroute
This method implements re-routing for vehicles approaching its destination. It finds a new target and computes another path to reach
agents/navigation/behavior_agent.py:123
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:136
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:57
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/actor_control.py:87
Method
reset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:34
Method
reset_noise
(self, n_envs: int = 1)
roach/models/ppo_policy.py:62
Method
reset_vehicle
Reset the ego-vehicle
agents/navigation/local_planner_behavior.py:76
Method
resume
(self, endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:93
Function
rot_ref_to_global
(target_rot_in_ref, ref_rot_in_global)
roach/utils/transforms.py:44
Method
rotate_point
rotate a given point by a given angle
scenario_runner/srunner/scenariomanager/carla_data_provider.py:310
Method
rotate_point
rotate a given point by a given angle
agents/navigation/agent.py:114
Method
run
Run the GUI
scenario_runner/srunner/autoagents/human_agent.py:55
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/dummy_agent.py:68
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/human_agent.py:120
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/ros_agent.py:409
Method
run_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/npc_agent.py:64
Method
run_step
(self, gps)
leaderboard/team_code/planner.py:78
Method
run_step
(self, input_data, timestamp)
leaderboard/team_code/auto_pilot.py:167
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:151
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:62
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:149
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/npc_vehicle_control.py:67
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
Execute on tick of the controller's control loop
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:150
Method
run_step
Execute on tick of the controller's control loop If _waypoints are provided, the pedestrian moves towards the next waypoint
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:41
Method
run_step
Execute one step of local planning which involves running the longitudinal and lateral PID controllers to follow the waypoint
agents/navigation/local_planner_behavior.py:176
Method
run_step
Execute one step of navigation. :param debug: boolean flag for debugging :return: control
agents/navigation/agent.py:55
Method
run_step
Execute one step of navigation. :return: carla.VehicleControl
agents/navigation/basic_agent.py:81
Method
run_step
Execute one step of control invoking both lateral and longitudinal PID controllers to reach a target waypoint at a given targ
agents/navigation/controller.py:50
Method
run_step
Execute one step of longitudinal control to reach a given target speed. :param target_speed: target speed in Km/h :p
agents/navigation/controller.py:114
Method
run_step
Execute one step of lateral control to steer the vehicle towards a certain waypoin. :param waypoint: target waypoint
agents/navigation/controller.py:172
Method
run_step
Execute one step of navigation. :return: carla.VehicleControl
agents/navigation/roaming_agent.py:34
Method
run_step
Execute one step of local planning which involves running the longitudinal and lateral PID controllers to follow the waypoints trajec
agents/navigation/local_planner.py:219
Method
run_step
(self, input_data, timestamp)
roach/rl_birdview_agent.py:36
Method
select_scenario
(list_scenarios)
leaderboard/leaderboard/scenarios/route_scenario.py:343
Method
select_scenario_randomly
(list_scenarios)
leaderboard/leaderboard/scenarios/route_scenario.py:360
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:94
Method
sensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/npc_agent.py:39
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:57
Method
sensors
(self)
leaderboard/team_code/driveadapter_agent.py:262
Method
sensors
(self)
leaderboard/team_code/roach_ap_agent_data_collection.py:237
Method
sensors
(self)
leaderboard/team_code/map_agent.py:11
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:115
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:36
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_epoch
(self, epoch)
open_loop_training/code/encoder_decoder_framework.py:178
Method
set_global_plan
Set the plan (route) for the agent
leaderboard/team_code/driveadapter_agent.py:598
Method
set_global_plan
Set the plan (route) for the agent
leaderboard/team_code/roach_ap_agent_data_collection.py:226
Method
set_global_plan
(self, global_plan_gps, global_plan_world_coord, wp=None)
leaderboard/team_code/map_agent.py:23
Method
set_global_plan
Sets new global plan. :param current_plan: list of waypoints in the actual plan
agents/navigation/local_planner_behavior.py:138
Method
set_init_speed
Update the actor's initial speed setting
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:144
Method
set_noise_exist
(self, noise_exist)
roach/utils/expert_noiser.py:107
Method
set_speed
Request new target speed. :param speed: new target speed in km/h
agents/navigation/local_planner_behavior.py:129
Method
setup
Setup the agent parameters
leaderboard/leaderboard/autoagents/dummy_agent.py:25
Method
setup
Setup the agent parameters
leaderboard/leaderboard/autoagents/human_agent.py:83
Method
setup
setup agent
leaderboard/leaderboard/autoagents/ros_agent.py:65
Method
setup
Setup the agent parameters
leaderboard/leaderboard/autoagents/npc_agent.py:30
Method
setup
(self, path_to_conf_file)
leaderboard/team_code/auto_pilot.py:105
← previous
next →
1,301–1,400 of 1,526, ranked by callers