MCPcopy Create free account

hub / github.com/OpenDriveLab/DriveAdapter / functions

Functions1,526 in github.com/OpenDriveLab/DriveAdapter

Method_get_depth
Transforms the depth image into meters Args: data ([type]): [description] Returns: [type]: [description]
leaderboard/team_code/base_agent.py:866
Method_init
(self)
leaderboard/team_code/base_agent.py:65
Method_init
(self)
leaderboard/team_code/map_agent.py:29
Method_init_callback
(self)
roach/utils/wandb_callback.py:33
Method_initialize_actors
(self, config)
leaderboard/leaderboard/scenarios/background_activity.py:62
Method_initialize_actors
Set other_actors to the superset of all scenario actors
leaderboard/leaderboard/scenarios/route_scenario.py:473
Method_initialize_actors
(self, config)
scenario_runner/srunner/scenarios/cut_in.py:68
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/junction_crossing_route.py:57
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/junction_crossing_route.py:147
Method_initialize_actors
(self, config)
scenario_runner/srunner/scenarios/change_lane.py:85
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/no_signal_junction_crossing.py:63
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/control_loss.py:72
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py:99
Method_initialize_actors
(self, config)
scenario_runner/srunner/scenarios/background_activity.py:55
Method_initialize_actors
Set other_actors to the superset of all scenario actors
scenario_runner/srunner/scenarios/route_scenario.py:392
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/maneuver_opposite_direction.py:74
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:78
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/other_leading_vehicle.py:69
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:74
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/object_crash_vehicle.py:66
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/object_crash_vehicle.py:243
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/object_crash_intersection.py:146
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/object_crash_intersection.py:313
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/object_crash_intersection.py:481
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/follow_leading_vehicle.py:87
Method_initialize_actors
Custom initialization
scenario_runner/srunner/scenarios/follow_leading_vehicle.py:209
Method_initialize_environment
Initialization of weather and road friction.
scenario_runner/srunner/scenarios/open_scenario.py:190
Method_load_points
(self, pts_filename)
open_loop_training/code/datasets/pipelines/loading.py:69
Function_location
(x, y, z)
leaderboard/team_code/auto_pilot.py:65
Function_location
(x, y, z)
leaderboard/team_code/roach_ap_agent_data_collection.py:62
Method_on_rollout_end
(self)
roach/utils/wandb_callback.py:99
Method_on_rollout_start
(self)
roach/utils/wandb_callback.py:44
Method_on_step
(self)
roach/utils/wandb_callback.py:38
Method_on_training_end
(self)
roach/utils/wandb_callback.py:48
Method_on_training_start
(self)
roach/utils/wandb_callback.py:41
Method_quit
(self)
leaderboard/leaderboard/autoagents/human_agent.py:70
Method_set_event_dict
Sets the dictionary of the event
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:504
Method_set_event_message
Sets the message of the event
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:493
Method_setup_scenario_trigger
scenario_runner/srunner/scenarios/freeride.py:39
Method_signal_handler
Terminate scenario ticking when receiving a signal interrupt
leaderboard/leaderboard/leaderboard_evaluator.py:157
Method_signal_handler
Terminate scenario ticking when receiving a signal interrupt
scenario_runner/scenario_runner.py:127
Method_weights_init
(m)
roach/models/torch_layers.py:69
Method_world_to_pixel_width
Converts the world units to pixel units
roach/obs_manager/birdview/chauffeurnet.py:283
Methodabstract_route_plan
The following function generates the route plan based on origin : carla.Location object of the route's start position de
agents/navigation/global_route_planner.py:312
Methodall_sensors_ready
Check if all sensors are ready Returns true if sensors are ready
scenario_runner/srunner/autoagents/autonomous_agent.py:100
Methodattach_ego_vehicle
(self, parent_actor)
roach/obs_manager/actor_state/control.py:11
Methodattach_ego_vehicle
(self, parent_actor)
roach/obs_manager/actor_state/velocity.py:23
Methodattach_ego_vehicle
(self, parent_actor)
roach/obs_manager/actor_state/speed.py:23
Methodattach_ego_vehicle
(self, ego_vehicle)
roach/obs_manager/birdview/chauffeurnet.py:60
Methodbefore_train_epoch
Evaluate the model only at the start of training by epoch.
open_loop_training/code/core/evaluation/eval_hooks.py:107
Methodbefore_train_epoch
(self, runner)
open_loop_training/code/core/evaluation/epoch_hook.py:8
Methodbefore_train_iter
(self, runner)
open_loop_training/code/core/evaluation/eval_hooks.py:112
Functionbytes_to_array
(b: bytes)
leaderboard/team_code/roach_ap_agent_data_collection.py:35
Methodcache_to_cuda
(self, batch_size)
roach/models/ppo_buffer.py:247
Methodchange_control
This is a function that changes the control based on the scenario determination :param control: a carla vehicle control :retu
scenario_runner/srunner/scenarios/control_loss.py:183
Methodchange_control
This is a function that changes the control based on the scenario determination :param control: a carla vehicle control :retu
scenario_runner/srunner/scenarios/basic_scenario.py:188
Functioncheck_episode_has_noise
(lat_noise_percent, long_noise_percent)
leaderboard/team_code/auto_pilot.py:86
Functioncheck_h5_maps
(env_configs, obs_configs, carla_sh_path)
roach/utils/config_utils.py:12
Methodcheck_reached_waypoint_goal
Check if the actor reached the end of the waypoint list returns: True if the end was reached, False otherwise.
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:117
Methodcheck_this_waypoint
Decides whether or not the waypoint will define the scenario behavior
leaderboard/leaderboard/utils/route_parser.py:232
Methodcheck_this_waypoint
Decides whether or not the waypoint will define the scenario behavior
scenario_runner/srunner/tools/route_parser.py:198
Methodclean
(self)
roach/criteria/collision.py:114
Methodclean
(self)
roach/obs_manager/actor_state/route.py:70
Methodclean
(self)
roach/obs_manager/actor_state/control.py:26
Methodclean
(self)
roach/obs_manager/actor_state/velocity.py:42
Methodclean
(self)
roach/obs_manager/actor_state/speed.py:45
Methodclean
(self)
roach/obs_manager/birdview/chauffeurnet.py:287
Methodcleanup
Obtain the time-step for debug.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:797
Functioncompute_magnitude_angle
Compute relative angle and distance between a target_location and a current_location :param target_location: location of the target obje
agents/tools/misc.py:98
Methodcompute_noise
(self, action, speed)
roach/utils/expert_noiser.py:110
Methodconvert_gt
(self, gt)
open_loop_training/code/model_code/dense_heads/mask2former4seg.py:159
Functioncustom_encode_mask_results
Encode bitmap mask to RLE code. Semantic Masks only Args: mask_results (list | tuple[list]): bitmap mask results. In mask s
open_loop_training/code/core/evaluation/eval_tool.py:51
Methoddestroy
Cleanup
leaderboard/leaderboard/autoagents/human_agent.py:132
Methoddestroy
Destroy (clean-up) the agent :return:
leaderboard/leaderboard/autoagents/autonomous_agent.py:92
Methoddestroy
(self)
leaderboard/leaderboard/envs/sensor_interface.py:86
Methoddestroy
(self)
leaderboard/team_code/driveadapter_agent.py:582
Methoddestroy
Cleanup
scenario_runner/srunner/autoagents/human_agent.py:159
Methoddestroy
Destroy (clean-up) the agent :return:
scenario_runner/srunner/autoagents/autonomous_agent.py:77
Methoddist
(v)
agents/navigation/behavior_agent.py:268
Methoddone
Returns whether or not the planner has finished :return: boolean
agents/navigation/local_planner.py:274
Methoddraw_broken_line
(surface, color, closed, points, width)
scenario_runner/no_rendering_mode.py:486
Methoddraw_lane_marking
(surface, waypoints, is_left)
scenario_runner/no_rendering_mode.py:513
Methoddraw_solid_line
(surface, color, closed, points, width)
scenario_runner/no_rendering_mode.py:482
Methoddraw_topology
(carla_topology, index)
scenario_runner/no_rendering_mode.py:617
Methoddraw_traffic_signs
(surface, font_surface, actor, color=COLOR_ALUMINIUM_2, trigger_color=COLOR_PLUM_0)
scenario_runner/no_rendering_mode.py:586
Methodentropy_loss
(self)
roach/models/distributions.py:77
Methodevaluate
(self, results, metric='accuracy', metric_options=None,
open_loop_training/code/datasets/base_dataset.py:69
Methodevaluate_values
(self, obs_dict: Dict[str, th.Tensor])
roach/models/ppo_policy.py:136
Methodexploration_loss
(self, exploration_suggests)
roach/models/distributions.py:81
Methodfind_weather_presets
Get weather presets from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:242
Methodforward
Forward function for `voxel pooling. Args: geom_xyz (Tensor): xyz coord for each voxel with the shape of [B, N, 3
open_loop_training/ops/voxel_pooling/voxel_pooling.py:10
Methodforward
(self, preds, labels)
open_loop_training/code/encoder_decoder_framework.py:59
Methodforward
(self, x)
open_loop_training/code/encoder_decoder_framework.py:95
Methodforward
(self, x)
open_loop_training/code/encoder_decoder_framework.py:113
Methodforward
Calls either forward_train or forward_test depending on whether return_loss=True. Note this setting will change the expected inputs. W
open_loop_training/code/encoder_decoder_framework.py:454
Methodforward
Forward of SparseEncoder. Args: voxel_features (torch.Tensor): Voxel features in shape (N, C). coors (torch.Tenso
open_loop_training/code/model_code/backbones/lidarnet.py:28
Methodforward
(self, pts)
open_loop_training/code/model_code/backbones/lidarnet.py:87
Methodforward
(self, x)
open_loop_training/code/model_code/backbones/lss.py:35
Methodforward
(self, x)
open_loop_training/code/model_code/backbones/lss.py:94
Methodforward
(self, x)
open_loop_training/code/model_code/backbones/lss.py:137
← previousnext →1,101–1,200 of 1,526, ranked by callers