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
↓ 1 callers
Method
_on_obstacle
Callback for the obstacle sensor Sets _obstacle_distance and _obstacle_actor according to the closest obstacle found by the
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:109
↓ 1 callers
Method
_overtake
This method is in charge of overtaking behaviors. :param location: current location of the agent :param waypoint: cu
agents/navigation/behavior_agent.py:186
↓ 1 callers
Method
_parse_events
(self)
scenario_runner/no_rendering_mode.py:1264
↓ 1 callers
Method
_parse_gnss_cb
(self, gnss_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:185
↓ 1 callers
Method
_parse_gnss_cb
parses gnss sensors
scenario_runner/srunner/autoagents/sensor_interface.py:65
↓ 1 callers
Method
_parse_image_cb
(self, image, tag)
leaderboard/leaderboard/envs/sensor_interface.py:159
↓ 1 callers
Method
_parse_image_cb
parses cameras
scenario_runner/srunner/autoagents/sensor_interface.py:47
↓ 1 callers
Method
_parse_imu_cb
(self, imu_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:191
↓ 1 callers
Method
_parse_json_control
(self)
leaderboard/leaderboard/autoagents/human_agent.py:239
↓ 1 callers
Method
_parse_keys
(self, milliseconds)
scenario_runner/no_rendering_mode.py:1327
↓ 1 callers
Method
_parse_lidar_cb
(self, lidar_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:165
↓ 1 callers
Method
_parse_lidar_cb
parses lidar sensors
scenario_runner/srunner/autoagents/sensor_interface.py:56
↓ 1 callers
Method
_parse_mouse
(self)
scenario_runner/no_rendering_mode.py:1342
↓ 1 callers
Method
_parse_openscenario_configuration
Parse the given OpenSCENARIO config file, set and validate parameters
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:81
↓ 1 callers
Method
_parse_pseudosensor
(self, package, tag)
leaderboard/leaderboard/envs/sensor_interface.py:202
↓ 1 callers
Method
_parse_radar_cb
(self, radar_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:177
↓ 1 callers
Method
_parse_semantic_lidar_cb
(self, semantic_lidar_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:171
↓ 1 callers
Method
_parse_vehicle_keys
Calculate new vehicle controls based on input keys
leaderboard/leaderboard/autoagents/human_agent.py:208
↓ 1 callers
Method
_parse_vehicle_keys
Calculate new vehicle controls based on input keys
scenario_runner/srunner/autoagents/human_agent.py:194
↓ 1 callers
Method
_pid_control
Estimate the throttle/brake of the vehicle based on the PID equations :param target_speed: target speed in Km/h :pa
agents/navigation/controller.py:129
↓ 1 callers
Method
_pid_control
Estimate the steering angle of the vehicle based on the PID equations :param waypoint: target waypoint :param vehicl
agents/navigation/controller.py:184
↓ 1 callers
Method
_point_inside_boundingbox
(self, point, bb_center, bb_extent)
leaderboard/team_code/auto_pilot.py:212
↓ 1 callers
Method
_prepare_ego_vehicles
Spawn or update the ego vehicles
leaderboard/leaderboard/leaderboard_evaluator.py:213
↓ 1 callers
Method
_prepare_ego_vehicles
Spawn or update the ego vehicles
scenario_runner/scenario_runner.py:195
↓ 1 callers
Method
_rand_another
Randomly get another item with the same flag. Returns: int: Another index of item with the same flag.
open_loop_training/code/datasets/carla_dataset.py:263
↓ 1 callers
Method
_record_control
(self)
leaderboard/leaderboard/autoagents/human_agent.py:247
↓ 1 callers
Method
_record_criteria
Filter the JSON serializable attributes of the criterias and dumps them into a file. This will be used by the metrics manager,
scenario_runner/scenario_runner.py:258
↓ 1 callers
Method
_render_speed_limits
(self, surface, list_sl, world_to_pixel, world_to_pixel_width)
scenario_runner/no_rendering_mode.py:1039
↓ 1 callers
Method
_render_traffic_lights
(self, surface, list_tl, world_to_pixel)
scenario_runner/no_rendering_mode.py:1009
↓ 1 callers
Method
_render_vehicles
(self, surface, list_v, world_to_pixel)
scenario_runner/no_rendering_mode.py:1090
↓ 1 callers
Method
_render_walkers
(self, surface, list_w, world_to_pixel)
scenario_runner/no_rendering_mode.py:1074
↓ 1 callers
Method
_reset
Reset all parameters
scenario_runner/srunner/scenariomanager/scenario_manager.py:68
↓ 1 callers
Method
_retrieve_data
(self, sensor_queue, timeout)
camera_calibration/collect_data_for_calibration.py:380
↓ 1 callers
Function
_retrieve_options
Compute the type of connection between the current active waypoint and the multiple waypoints present in list_waypoints. The result is encode
agents/navigation/local_planner.py:282
↓ 1 callers
Method
_run_openscenario
Run a scenario based on OpenSCENARIO
scenario_runner/scenario_runner.py:460
↓ 1 callers
Method
_run_route
Run the route scenario
scenario_runner/scenario_runner.py:437
↓ 1 callers
Method
_run_scenarios
Run conventional scenarios (e.g. implemented using the Python API of ScenarioRunner)
scenario_runner/scenario_runner.py:415
↓ 1 callers
Method
_scan_for_stop_sign
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1975
↓ 1 callers
Method
_scan_for_stop_sign
(self, vehicle_transform)
roach/criteria/run_stop_sign.py:75
↓ 1 callers
Method
_scenario_sampling
The function used to sample the scenarios that are going to happen for this route.
leaderboard/leaderboard/scenarios/route_scenario.py:307
↓ 1 callers
Method
_scenario_sampling
The function used to sample the scenarios that are going to happen for this route.
scenario_runner/srunner/scenarios/route_scenario.py:264
↓ 1 callers
Method
_set_actor_information
Extract all actors and their corresponding specification NOTE: The rolename property has to be unique!
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:199
↓ 1 callers
Method
_set_carla_town
Extract the CARLA town (level) from the RoadNetwork information from OpenSCENARIO Note: The specification allows multiple Logics ele
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:151
↓ 1 callers
Method
_set_event_dict
Sets the dictionary of the event
leaderboard/leaderboard/scenarios/scenarioatomics/atomic_criteria.py:87
↓ 1 callers
Method
_set_event_message
Sets the message of the event
leaderboard/leaderboard/scenarios/scenarioatomics/atomic_criteria.py:78
↓ 1 callers
Method
_set_parameters
Parse the complete scenario definition file, and replace all parameter references with the actual values Set _global_paramet
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:183
↓ 1 callers
Method
_set_scenario_name
Extract the scenario name from the OpenSCENARIO header information
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:141
↓ 1 callers
Method
_setup_scenario_end
This function adds and additional behavior to the scenario, which is triggered after it has ended. The function can be overl
scenario_runner/srunner/scenarios/basic_scenario.py:154
↓ 1 callers
Method
_setup_scenario_trigger
This function creates a trigger maneuver, that has to be finished before the real scenario starts. This implementation focuses on the
scenario_runner/srunner/scenarios/basic_scenario.py:121
↓ 1 callers
Method
_should_brake
(self)
leaderboard/team_code/auto_pilot.py:197
↓ 1 callers
Method
_spawn_adversary
(self, transform, orientation_yaw)
scenario_runner/srunner/scenarios/object_crash_vehicle.py:201
↓ 1 callers
Method
_spawn_blocker
Spawn the blocker prop that blocks the vision from the egovehicle of the jaywalker :return:
scenario_runner/srunner/scenarios/object_crash_vehicle.py:218
↓ 1 callers
Method
_spawn_hero
(self)
scenario_runner/no_rendering_mode.py:897
↓ 1 callers
Method
_split_actors
(self)
scenario_runner/no_rendering_mode.py:975
↓ 1 callers
Method
_successive_last_intersection_edge
This method returns the last successive intersection edge from a starting index on the route. This helps moving past tiny int
agents/navigation/global_route_planner.py:232
↓ 1 callers
Method
_tailgating
This method is in charge of tailgating behaviors. :param location: current location of the agent :param waypoint: cu
agents/navigation/behavior_agent.py:219
↓ 1 callers
Method
_tick_scenario
Run next tick of scenario and the agent and tick the world.
leaderboard/leaderboard/scenarios/scenario_manager.py:140
↓ 1 callers
Method
_tick_scenario
Run next tick of scenario and the agent. If running synchornously, it also handles the ticking of the world.
scenario_runner/srunner/scenariomanager/scenario_manager.py:149
↓ 1 callers
Method
_trace_route
This method sets up a global router and returns the optimal route from start_waypoint to end_waypoint. :param start_wayp
agents/navigation/behavior_agent.py:139
↓ 1 callers
Method
_truncate_global_route_till_local_target
(self, ev_location, windows_size=5)
leaderboard/team_code/driveadapter_agent.py:607
↓ 1 callers
Method
_truncate_global_route_till_local_target
(self, windows_size=5)
leaderboard/team_code/roach_ap_agent_data_collection.py:204
↓ 1 callers
Method
_update_ego_vehicle
Set/Update the start position of the ego_vehicle
leaderboard/leaderboard/scenarios/route_scenario.py:244
↓ 1 callers
Method
_update_ego_vehicle
Set/Update the start position of the ego_vehicle
scenario_runner/srunner/scenarios/route_scenario.py:206
↓ 1 callers
Method
_update_route
Update the input route, i.e. refine waypoint list, and extract possible scenario locations Parameters: - world: CARLA world
leaderboard/leaderboard/scenarios/route_scenario.py:212
↓ 1 callers
Method
_update_route
Update the input route, i.e. refine waypoint list, and extract possible scenario locations Parameters: - world: CARLA world
scenario_runner/srunner/scenarios/route_scenario.py:174
↓ 1 callers
Method
_validate_openscenario_catalog_configuration
Validate the given OpenSCENARIO catalog config against the 0.9.1 XSD Note: This will throw if the catalog config is not valid. But t
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:71
↓ 1 callers
Method
_validate_openscenario_configuration
Validate the given OpenSCENARIO config against the 0.9.1 XSD Note: This will throw if the config is not valid. But this is fine here
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:61
↓ 1 callers
Method
_validate_result
Check that the current scenario configuration is valid
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:370
↓ 1 callers
Method
_weather_to_dict
(self, carla_weather)
leaderboard/team_code/base_agent.py:346
↓ 1 callers
Method
_weather_to_dict
(self, carla_weather)
leaderboard/team_code/roach_ap_agent_data_collection.py:699
↓ 1 callers
Method
_write_to_junit
Writing to Junit XML
scenario_runner/srunner/scenariomanager/result_writer.py:135
↓ 1 callers
Method
actor_id_exists
Check if a certain id is still at the simulation
scenario_runner/srunner/scenariomanager/carla_data_provider.py:714
↓ 1 callers
Method
add
(self, obs_dict: Dict[str, np.ndarray], action: np.ndarray, reward: np.nda
roach/models/ppo_buffer.py:98
↓ 1 callers
Method
all_sensors_ready
Checks if all the sensors have sent data at least once
scenario_runner/srunner/autoagents/sensor_interface.py:109
↓ 1 callers
Method
analyze_scenario
Analyzes and prints the results of the route
leaderboard/leaderboard/scenarios/scenario_manager.py:214
↓ 1 callers
Method
analyze_scenario
This function is intended to be called from outside and provide the final statistics about the scenario (human-readable, in form of a
scenario_runner/srunner/scenariomanager/scenario_manager.py:200
↓ 1 callers
Method
annotate_trafficlight_in_group
Get dictionary with traffic light group info for a given traffic light
scenario_runner/srunner/scenariomanager/carla_data_provider.py:270
↓ 1 callers
Method
assign_catalog_parameters
Parse catalog_reference, and replace all parameter references in entry_instance by the values provided in catalog_reference.
scenario_runner/srunner/tools/openscenario_parser.py:219
↓ 1 callers
Method
attach_ego_vehicle
(self, parent_actor)
roach/obs_manager/actor_state/route.py:23
↓ 1 callers
Function
augmenter
(image_iteration)
open_loop_training/code/datasets/pipelines/transform.py:171
↓ 1 callers
Method
backward
(ctx, grad_output_features)
open_loop_training/ops/voxel_pooling/voxel_pooling.py:58
↓ 1 callers
Method
before_train_epoch
Evaluate the model only at the start of training by epoch.
open_loop_training/code/core/evaluation/eval_hooks.py:45
↓ 1 callers
Method
before_train_iter
(self, runner)
open_loop_training/code/core/evaluation/eval_hooks.py:50
↓ 1 callers
Method
build_BEV_fusion_network
(self)
open_loop_training/code/encoder_decoder_framework.py:182
↓ 1 callers
Method
build_camera_info
Private function to compute camera info camera info doesn't change over time
leaderboard/leaderboard/autoagents/ros_agent.py:202
↓ 1 callers
Method
build_camera_info
Private function to compute camera info camera info doesn't change over time
scenario_runner/srunner/autoagents/ros_agent.py:201
↓ 1 callers
Method
build_layers
(self)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:281
↓ 1 callers
Function
calculate_IoU
(pred, gt)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:511
↓ 1 callers
Function
calculate_velocity
Method to calculate the velocity of a actor
scenario_runner/srunner/scenariomanager/carla_data_provider.py:23
↓ 1 callers
Method
car_following_manager
Module in charge of car-following behaviors when there's someone in front of us. :param vehicle: car to follow
agents/navigation/behavior_agent.py:328
↓ 1 callers
Function
carla_rot_to_mat
Transform rpy in carla.Rotation to rotation matrix in np.array :param carla_rotation: carla.Rotation :return: np.array rotation matrix
roach/utils/transforms.py:53
↓ 1 callers
Method
check_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/basic_control.py:81
↓ 1 callers
Method
check_trigger_position
Check if this trigger position already exists or if it is a new one. :param new_trigger: :param existing_triggers: :r
leaderboard/leaderboard/utils/route_parser.py:154
↓ 1 callers
Method
check_trigger_position
Check if this trigger position already exists or if it is a new one. :param new_trigger: :param existing_triggers: :r
scenario_runner/srunner/tools/route_parser.py:120
↓ 1 callers
Method
cleanup
Reset all parameters
leaderboard/leaderboard/scenarios/scenario_manager.py:88
↓ 1 callers
Method
cleanup
This function triggers a proper termination of a scenario
scenario_runner/srunner/scenariomanager/scenario_manager.py:80
↓ 1 callers
Method
clear_modules
(self)
scenario_runner/no_rendering_mode.py:198
↓ 1 callers
Method
clear_record
(endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:343
↓ 1 callers
Function
collect_results_gpu
(result_part, size)
open_loop_training/code/core/evaluation/eval_tool.py:165
↓ 1 callers
Method
collect_rollouts
(self, env: VecEnv, callback: BaseCallback, rollout_buffer: PpoBuffer, n_rollout_step
roach/models/ppo.py:66
← previous
next →
401–500 of 1,526, ranked by callers