MCPcopy Create free account

hub / github.com/OpenDriveLab/DriveAdapter / functions

Functions1,526 in github.com/OpenDriveLab/DriveAdapter

↓ 1 callersMethodsemantic_inference
(self, mask_cls, mask_pred)
open_loop_training/code/model_code/dense_heads/mask2former4seg.py:250
↓ 1 callersMethodsensors
(self)
leaderboard/team_code/base_agent.py:83
↓ 1 callersMethodset_destination
This method creates a list of waypoints from agent's position to destination location based on the route returned by the global route
agents/navigation/basic_agent.py:47
↓ 1 callersMethodset_ego
Set the ego vehicle
scenario_runner/srunner/scenariomanager/carla_data_provider.py:179
↓ 1 callersMethodset_epoch
(self, epoch)
open_loop_training/code/datasets/samplers/group_sampler.py:104
↓ 1 callersMethodset_global_parameters
Set global_osc_parameter dictionary Args: parameter_dict (Dictionary): Input for global_osc_parameter
scenario_runner/srunner/tools/openscenario_parser.py:189
↓ 1 callersMethodset_init_speed
Set _init_speed to True
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:75
↓ 1 callersMethodset_noise
(self)
roach/utils/expert_noiser.py:26
↓ 1 callersMethodset_osc_filepath
Set path of OSC file. This is required if for example custom commands are provided with relative paths.
scenario_runner/srunner/tools/openscenario_parser.py:130
↓ 1 callersMethodset_route
(self, route_id, index)
leaderboard/leaderboard/utils/statistics_manager.py:102
↓ 1 callersMethodset_scenario
Sets the scenario from which the statistics willb e taken
leaderboard/leaderboard/utils/statistics_manager.py:115
↓ 1 callersMethodset_text
(self, text, color=COLOR_WHITE, seconds=2.0)
scenario_runner/no_rendering_mode.py:234
↓ 1 callersMethodset_time_step
(time_step)
scenario_runner/srunner/scenariomanager/carla_data_provider.py:786
↓ 1 callersMethodset_use_carla_coordinate_system
CARLA internally uses a left-hand coordinate system (Unreal), but OpenSCENARIO and OpenDRIVE are intended for right-hand coordinate s
scenario_runner/srunner/tools/openscenario_parser.py:138
↓ 1 callersMethodsetup
Initialize everything needed by your agent and set the track attribute to the right type: Track.SENSORS : CAMERAS, LIDAR, RADAR,
leaderboard/leaderboard/autoagents/autonomous_agent.py:49
↓ 1 callersMethodsetup
Initialize everything needed by your agent and set the track attribute to the right type:
scenario_runner/srunner/autoagents/autonomous_agent.py:36
↓ 1 callersMethodsetup
(self, path_to_conf_file)
roach/rl_birdview_agent.py:17
↓ 1 callersMethodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
leaderboard/leaderboard/autoagents/agent_wrapper.py:84
↓ 1 callersMethodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
scenario_runner/srunner/autoagents/agent_wrapper.py:41
↓ 1 callersFunctionsigmoid_focal_loss
( inputs: torch.Tensor, targets: torch.Tensor, alpha: float = -1, gamma: float = 2, reduct
open_loop_training/code/model_code/dense_heads/mask2former4seg.py:21
↓ 1 callersMethodsignal_handler
Terminate scenario ticking when receiving a signal interrupt
leaderboard/leaderboard/scenarios/scenario_manager.py:82
↓ 1 callersMethodstart_caching
(self, batch_size)
roach/models/ppo_buffer.py:243
↓ 1 callersMethodstart_modules
(self)
scenario_runner/no_rendering_mode.py:216
↓ 1 callersMethodstop_scenario
This function triggers a proper termination of a scenario
leaderboard/leaderboard/scenarios/scenario_manager.py:192
↓ 1 callersMethodstop_scenario
This function is used by the overall signal handler to terminate the scenario execution
scenario_runner/srunner/scenariomanager/scenario_manager.py:194
↓ 1 callersMethodtick
(self, input_data)
leaderboard/team_code/driveadapter_agent.py:325
↓ 1 callersMethodtick
(self, input_data, timestamp)
leaderboard/team_code/roach_ap_agent_data_collection.py:350
↓ 1 callersMethodto_roach_bev_input
(self, bev_seg_logit, route_mask)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:198
↓ 1 callersFunctionto_route_record
(record_dict)
leaderboard/leaderboard/utils/statistics_manager.py:58
↓ 1 callersMethodtoggle
(self)
scenario_runner/no_rendering_mode.py:270
↓ 1 callersMethodtraffic_light_manager
This method is in charge of behaviors for red lights and stops. WARNING: What follows is a proxy to avoid having a car brake after r
agents/navigation/behavior_agent.py:163
↓ 1 callersFunctionunion2one
(full_queue_pipeline, queue)
open_loop_training/code/datasets/carla_dataset.py:290
↓ 1 callersMethodunscale_action
(self, action: np.ndarray, eps=0.0)
roach/models/ppo_policy.py:194
↓ 1 callersMethodupdate
Check if the _actor stands still (v=0)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:261
↓ 1 callersMethodupdate
Keep running until termination condition is satisfied
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1444
↓ 1 callersMethodupdate_hud_info
(self, clock)
scenario_runner/no_rendering_mode.py:921
↓ 1 callersMethodupdate_light_states
Update traffic light states
scenario_runner/srunner/scenariomanager/carla_data_provider.py:330
↓ 1 callersMethodupdate_values
(self, policy)
roach/models/ppo_buffer.py:133
↓ 1 callersMethoduse_stepping_mode
Overload this function to use stepping mode!
leaderboard/leaderboard/autoagents/ros_agent.py:403
↓ 1 callersMethoduse_stepping_mode
Overload this function to use stepping mode!
scenario_runner/srunner/autoagents/ros_agent.py:402
↓ 1 callersMethodvalidate_sensor_configuration
Ensure that the sensor configuration is valid, in case the challenge mode is used Returns true on valid configuration, false otherwis
leaderboard/leaderboard/autoagents/agent_wrapper.py:221
↓ 1 callersMethodvariable_cleanup
Resets all variables to the intial state
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2353
↓ 1 callersMethodvisualize_roach_input
(self, road_mask, route_mask, lane_mask, lane_mask_broken, tl_green_masks, tl_yellow_masks, tl_red_masks, vehi
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:174
↓ 1 callersMethodvisualize_roach_input
(self, road_mask, route_mask, lane_mask, lane_mask_broken, tl_green_masks, tl_yellow_masks, tl_red_masks, vehi
leaderboard/team_code/driveadapter_agent.py:646
↓ 1 callersMethodvoxel_pooling_method
(self, geom_xyz, img_feat_with_depth, voxel_num)
open_loop_training/code/model_code/backbones/lss.py:631
↓ 1 callersMethodworld_to_pixel
(self, location, offset=(0, 0))
scenario_runner/no_rendering_mode.py:763
FunctionNormedLinear
nn.Linear but with normalized fan-in init
roach/models/torch_util.py:7
FunctionPYBIND11_MODULE
open_loop_training/ops/voxel_pooling/src/voxel_pooling_forward.cpp:39
Method__call__
(self, results)
open_loop_training/code/datasets/pipelines/loading.py:45
Method__call__
(self, results)
open_loop_training/code/datasets/pipelines/loading.py:84
Method__call__
(self, results)
open_loop_training/code/datasets/pipelines/loading.py:132
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline. R
open_loop_training/code/datasets/pipelines/transform.py:95
Method__call__
(self, queue)
open_loop_training/code/datasets/pipelines/transform.py:149
Method__call__
(self, queue)
open_loop_training/code/datasets/pipelines/transform.py:275
Method__call__
(self, results)
open_loop_training/code/datasets/pipelines/formating.py:18
Method__call__
Call function to collect keys in results. The keys in ``meta_keys`` will be converted to :obj:`mmcv.DataContainer`. Args:
open_loop_training/code/datasets/pipelines/formating.py:47
Method__call__
Execute the agent call, e.g. agent() Returns the next vehicle controls
leaderboard/leaderboard/autoagents/autonomous_agent.py:99
Method__call__
Pass the call directly to the agent
leaderboard/leaderboard/autoagents/agent_wrapper.py:78
Method__call__
We convert the vehicle physics information into a convenient dictionary
leaderboard/leaderboard/envs/sensor_interface.py:110
Method__call__
(self)
leaderboard/leaderboard/envs/sensor_interface.py:129
Method__call__
(self, data)
leaderboard/leaderboard/envs/sensor_interface.py:140
Method__call__
call function
scenario_runner/srunner/autoagents/sensor_interface.py:33
Method__call__
Execute the agent call, e.g. agent() Returns the next vehicle controls
scenario_runner/srunner/autoagents/autonomous_agent.py:84
Method__call__
Pass the call directly to the agent
scenario_runner/srunner/autoagents/agent_wrapper.py:35
Method__del__
Cleanup and delete actors, ScenarioManager and CARLA world
leaderboard/leaderboard/leaderboard_evaluator.py:166
Method__del__
(self)
leaderboard/leaderboard/autoagents/human_agent.py:262
Method__del__
Remove all actors upon deletion
leaderboard/leaderboard/scenarios/background_activity.py:101
Method__del__
Remove all actors upon deletion
leaderboard/leaderboard/scenarios/route_scenario.py:596
Method__del__
Remove all actors upon deletion
leaderboard/leaderboard/scenarios/master_scenario.py:116
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/freeride.py:64
Method__del__
Remove all actors after deletion.
scenario_runner/srunner/scenarios/cut_in.py:154
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/open_scenario.py:451
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/junction_crossing_route.py:110
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/junction_crossing_route.py:199
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/change_lane.py:177
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/no_signal_junction_crossing.py:160
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/control_loss.py:194
Method__del__
Remove all actors and traffic lights upon deletion
scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py:222
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/background_activity.py:95
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/route_scenario.py:518
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/maneuver_opposite_direction.py:168
Method__del__
(self)
scenario_runner/srunner/scenarios/signalized_junction_right_turn.py:160
Method__del__
(self)
scenario_runner/srunner/scenarios/other_leading_vehicle.py:150
Method__del__
(self)
scenario_runner/srunner/scenarios/signalized_junction_left_turn.py:148
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_vehicle.py:126
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_vehicle.py:400
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_intersection.py:267
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_intersection.py:434
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/object_crash_intersection.py:602
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/follow_leading_vehicle.py:168
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/follow_leading_vehicle.py:321
Method__del__
Remove all actors upon deletion
scenario_runner/srunner/scenarios/master_scenario.py:110
Method__del__
(self)
agents/navigation/local_planner.py:81
Method__enter__
(self)
camera_calibration/collect_data_for_calibration.py:354
Method__exit__
(self, *args, **kwargs)
camera_calibration/collect_data_for_calibration.py:377
Method__getitem__
(self, idx)
open_loop_training/code/datasets/base_dataset.py:63
Method__getitem__
(self, idx)
open_loop_training/code/datasets/carla_dataset.py:255
Method__init__
(self, K_P=1.0, K_I=0.0, K_D=0.0, n=20)
open_loop_training/code/encoder_decoder_framework.py:25
Method__init__
(self, alpha=0.5, gamma=2, weight=None, ignore_index=255)
open_loop_training/code/encoder_decoder_framework.py:49
Method__init__
(self, inplanes, act=nn.ReLU, norm=nn.BatchNorm2d)
open_loop_training/code/encoder_decoder_framework.py:104
← previousnext →701–800 of 1,526, ranked by callers