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
↓ 2 callers
Method
update_gps_buffer
(self, control, theta, speed)
leaderboard/team_code/driveadapter_agent.py:585
↓ 2 callers
Method
update_waypoints
Update the actor's waypoints Args: waypoints (List of carla.Transform): List of new waypoints.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:65
↓ 1 callers
Function
InverseRotateVector
(x, y, yaw)
leaderboard/team_code/driveadapter_agent.py:128
↓ 1 callers
Function
_DEPTH_sensor_callback
(sensor_data, ts, display)
camera_calibration/collect_data_for_calibration.py:324
↓ 1 callers
Function
_RGB_sensor_callback
(sensor_data, ts, display)
camera_calibration/collect_data_for_calibration.py:318
↓ 1 callers
Method
__call__
(self)
leaderboard/leaderboard/envs/sensor_interface.py:58
↓ 1 callers
Method
__init__
(self, *args, dynamic_intervals=None, **kwargs)
open_loop_training/code/core/evaluation/eval_hooks.py:31
↓ 1 callers
Method
__init__
Setup all relevant parameters and create scenario and instantiate scenario manager
scenario_runner/srunner/scenarios/junction_crossing_route.py:40
↓ 1 callers
Method
__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/object_crash_vehicle.py:144
↓ 1 callers
Method
__init__
Setup all relevant parameters and create scenario If randomize is True, the scenario parameters are randomized
scenario_runner/srunner/scenarios/follow_leading_vehicle.py:52
↓ 1 callers
Method
__init__
Setup timeout
scenario_runner/srunner/scenariomanager/timer.py:141
↓ 1 callers
Method
__init__
Class constructor
scenario_runner/srunner/scenariomanager/weather_sim.py:51
↓ 1 callers
Method
__init__
(self, inchan, nblock, outchan, scale=1, pool=True, **kwargs)
roach/models/torch_util.py:79
↓ 1 callers
Method
__init__
(self, observation_space, features_dim=256, states_neurons=[256])
roach/models/torch_layers.py:15
↓ 1 callers
Method
_analyze_scenario
Provide feedback about success/failure of a scenario
scenario_runner/scenario_runner.py:234
↓ 1 callers
Method
_build
(self)
roach/models/ppo_policy.py:66
↓ 1 callers
Method
_build_graph
This function builds a networkx graph representation of topology. The topology is read from self._topology. graph node proper
agents/navigation/global_route_planner.py:49
↓ 1 callers
Method
_build_scenario_instances
Based on the parsed route and possible scenarios, build all the scenario classes.
leaderboard/leaderboard/scenarios/route_scenario.py:388
↓ 1 callers
Method
_build_scenario_instances
Based on the parsed route and possible scenarios, build all the scenario classes.
scenario_runner/srunner/scenarios/route_scenario.py:303
↓ 1 callers
Method
_calculate_base_transform
(self, _start_distance, waypoint)
scenario_runner/srunner/scenarios/object_crash_vehicle.py:179
↓ 1 callers
Method
_calculate_speed
(carla_velocity)
roach/criteria/run_stop_sign.py:127
↓ 1 callers
Method
_calculate_speed
(carla_velocity)
roach/criteria/blocked.py:29
↓ 1 callers
Method
_check_version
Ensure correct OpenSCENARIO version is used
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:95
↓ 1 callers
Function
_compute_connection
Compute the type of topological connection between an active waypoint (current_waypoint) and a target waypoint (next_waypoint). :param c
agents/navigation/local_planner.py:304
↓ 1 callers
Method
_compute_scale
(self, scale_factor)
scenario_runner/no_rendering_mode.py:1126
↓ 1 callers
Method
_configure_depth_net
(self, depth_net_conf)
open_loop_training/code/model_code/backbones/lss.py:445
↓ 1 callers
Method
_configure_seg_net
(self, seg_net_conf, fpn_in_channels)
open_loop_training/code/model_code/backbones/lss.py:453
↓ 1 callers
Method
_count_collisions
Callback to update collision count
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:365
↓ 1 callers
Method
_count_lane_invasion
Callback to update lane invasion count
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:565
↓ 1 callers
Method
_create_behavior
Pure virtual function to setup user-defined scenario behavior
scenario_runner/srunner/scenarios/basic_scenario.py:171
↓ 1 callers
Method
_create_environment_behavior
(self)
scenario_runner/srunner/scenarios/open_scenario.py:196
↓ 1 callers
Method
_create_init_behavior
(self)
scenario_runner/srunner/scenarios/open_scenario.py:211
↓ 1 callers
Method
_create_metric
Pure virtual function to setup the metrics by the user. Args: town_map (carla.Map): Map of the simulation. Used to acces
scenario_runner/srunner/metrics/examples/basic_metric.py:31
↓ 1 callers
Method
_create_test_criteria
Pure virtual function to setup user-defined evaluation criteria for the scenario
scenario_runner/srunner/scenarios/basic_scenario.py:179
↓ 1 callers
Method
_draw_waypoints
Draw a list of waypoints at a certain height given in vertical_shift.
leaderboard/leaderboard/scenarios/route_scenario.py:278
↓ 1 callers
Method
_draw_waypoints
Draw a list of waypoints at a certain height given in vertical_shift.
scenario_runner/srunner/scenarios/route_scenario.py:235
↓ 1 callers
Method
_estimate_route_timeout
Estimate the duration of the route
leaderboard/leaderboard/scenarios/route_scenario.py:263
↓ 1 callers
Method
_estimate_route_timeout
Estimate the duration of the route
scenario_runner/srunner/scenarios/route_scenario.py:220
↓ 1 callers
Method
_find_loose_ends
This method finds road segments that have an unconnected end, and adds them to the internal graph representation
agents/navigation/global_route_planner.py:108
↓ 1 callers
Method
_forward_depth_net
(self, feat, mats_dict)
open_loop_training/code/model_code/backbones/lss.py:536
↓ 1 callers
Method
_forward_voxel_net
(self, img_feat_with_depth)
open_loop_training/code/model_code/backbones/lss.py:540
↓ 1 callers
Method
_get_3d_bbs
(self, lidar=None, max_distance=50)
leaderboard/team_code/roach_ap_agent_data_collection.py:738
↓ 1 callers
Method
_get_action_beta
(self, alpha, beta)
open_loop_training/code/encoder_decoder_framework.py:352
↓ 1 callers
Method
_get_actor_transform
Get the initial actor transform provided by the Init section Note: - The OpenScenario specification allows multiple definitions. We
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:304
↓ 1 callers
Method
_get_actors_instances
Get the full list of actor instances.
leaderboard/leaderboard/scenarios/route_scenario.py:443
↓ 1 callers
Method
_get_actors_instances
Get the full list of actor instances.
scenario_runner/srunner/scenarios/route_scenario.py:362
↓ 1 callers
Method
_get_camera_to_car_calibration
returns the calibration matrix for the given sensor Args: sensor ([type]): [description] Returns: [type]: [d
leaderboard/team_code/base_agent.py:924
↓ 1 callers
Method
_get_control
(self, target, far_target, tick_data)
leaderboard/team_code/auto_pilot.py:131
↓ 1 callers
Method
_get_criteria
Parses the criteria argument into a dictionary
scenario_runner/metrics_manager.py:81
↓ 1 callers
Method
_get_data_from_carla
(self)
scenario_runner/no_rendering_mode.py:819
↓ 1 callers
Method
_get_forward_speed
Convert the vehicle transform directly to forward speed
leaderboard/leaderboard/envs/sensor_interface.py:96
↓ 1 callers
Method
_get_forward_speed
Convert the vehicle transform directly to forward speed
leaderboard/team_code/auto_pilot.py:228
↓ 1 callers
Method
_get_history_masks
(self, M_warp)
roach/obs_manager/birdview/chauffeurnet.py:195
↓ 1 callers
Method
_get_init_kwargs
(self)
roach/models/ppo.py:249
↓ 1 callers
Function
_get_latlon_ref
Convert from waypoints world coordinates to CARLA GPS coordinates :return: tuple with lat and lon coordinates
leaderboard/leaderboard/utils/route_manipulation.py:61
↓ 1 callers
Function
_get_latlon_ref
Convert from waypoints world coordinates to CARLA GPS coordinates :return: tuple with lat and lon coordinates
scenario_runner/srunner/tools/route_manipulation.py:62
↓ 1 callers
Method
_get_metric_class
Function to extract the metrics class from the path given by the metrics argument. Returns the first class found that is a child of B
scenario_runner/metrics_manager.py:93
↓ 1 callers
Method
_get_position
(self, tick_data)
leaderboard/team_code/driveadapter_agent.py:257
↓ 1 callers
Method
_get_recorder
Parses the log argument into readable information
scenario_runner/metrics_manager.py:60
↓ 1 callers
Method
_get_recorder_map
Returns the name of the map the simulation took place in
scenario_runner/metrics_manager.py:116
↓ 1 callers
Method
_get_samples
(self, batch_inds: np.ndarray)
roach/models/ppo_buffer.py:166
↓ 1 callers
Method
_get_scenario_class_or_fail
Get scenario class by scenario name If scenario is not supported or not found, exit script
scenario_runner/scenario_runner.py:138
↓ 1 callers
Method
_get_stops
(criteria_stop)
roach/obs_manager/birdview/chauffeurnet.py:76
↓ 1 callers
Function
_get_traffic_light_waypoints
get area of a given traffic light adapted from "carla-simulator/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py"
roach/utils/traffic_light.py:7
↓ 1 callers
Method
_get_trafficlight_trigger_location
Calculates the yaw of the waypoint that represents the trigger volume of the traffic light
agents/navigation/agent.py:110
↓ 1 callers
Method
_get_warp_transform
(self, ev_loc, ev_rot)
roach/obs_manager/birdview/chauffeurnet.py:255
↓ 1 callers
Method
_init
(self)
leaderboard/team_code/auto_pilot.py:108
↓ 1 callers
Method
_init
(self)
leaderboard/team_code/driveadapter_agent.py:247
↓ 1 callers
Method
_init
(self)
leaderboard/team_code/roach_ap_agent_data_collection.py:164
↓ 1 callers
Method
_init_controller
Controller initialization. dt -- time difference between physics control in seconds. This is can be fixed from server side
agents/navigation/local_planner_behavior.py:81
↓ 1 callers
Method
_init_controller
Controller initialization. :param opt_dict: dictionary of arguments. :return:
agents/navigation/local_planner.py:90
↓ 1 callers
Method
_init_data_params
(self)
scenario_runner/no_rendering_mode.py:306
↓ 1 callers
Method
_init_hud_params
(self)
scenario_runner/no_rendering_mode.py:294
↓ 1 callers
Method
_init_weight
(self)
open_loop_training/code/model_code/backbones/lss.py:40
↓ 1 callers
Method
_init_weight
(self)
open_loop_training/code/model_code/backbones/lss.py:112
↓ 1 callers
Method
_initialize_actors
Default initialization of other actors. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/basic_scenario.py:108
↓ 1 callers
Method
_initialize_environment
Default initialization of weather and road friction. Override this method in child class to provide custom initialization.
scenario_runner/srunner/scenarios/basic_scenario.py:85
↓ 1 callers
Method
_is_at_wrong_lane
Detects if the ego_vehicle has invaded a wrong lane
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1160
↓ 1 callers
Method
_is_at_wrong_lane
Detects if the ego_vehicle has invaded a wrong driving lane
roach/criteria/outside_route_lane.py:62
↓ 1 callers
Method
_is_light_red
(self, lights_list)
leaderboard/team_code/auto_pilot.py:307
↓ 1 callers
Method
_is_outside_driving_lanes
Detects if the ego_vehicle is outside driving lanes
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1137
↓ 1 callers
Method
_is_outside_driving_lanes
Detects if the ego_vehicle is outside driving/parking lanes
roach/criteria/outside_route_lane.py:39
↓ 1 callers
Method
_is_quit_shortcut
(key)
scenario_runner/no_rendering_mode.py:1361
↓ 1 callers
Method
_is_stop_sign_hazard
(self, stop_sign_list)
leaderboard/team_code/auto_pilot.py:272
↓ 1 callers
Method
_is_vehicle_crossing_line
check if vehicle crosses a line segment
roach/criteria/run_red_light.py:57
↓ 1 callers
Method
_is_vehicle_hazard
(self, vehicle_list)
leaderboard/team_code/auto_pilot.py:339
↓ 1 callers
Method
_is_vehicle_hazard
(self, vehicle_list)
leaderboard/team_code/roach_ap_agent_data_collection.py:536
↓ 1 callers
Method
_is_walker_hazard
(self, walkers_list)
leaderboard/team_code/auto_pilot.py:317
↓ 1 callers
Method
_is_walker_hazard
(self, walkers_list)
leaderboard/team_code/roach_ap_agent_data_collection.py:519
↓ 1 callers
Method
_json_to_control
(self)
leaderboard/leaderboard/autoagents/human_agent.py:179
↓ 1 callers
Method
_lane_change_link
This method places zero cost links in the topology graph representing availability of lane changes.
agents/navigation/global_route_planner.py:167
↓ 1 callers
Method
_load_and_run_scenario
Load and run the scenario given by config. Depending on what code fails, the simulation will either stop the route and conti
leaderboard/leaderboard/leaderboard_evaluator.py:311
↓ 1 callers
Method
_load_and_wait_for_world
Load a new CARLA world and provide data to CarlaDataProvider
leaderboard/leaderboard/leaderboard_evaluator.py:249
↓ 1 callers
Method
_load_and_wait_for_world
Load a new CARLA world and provide data to CarlaDataProvider
scenario_runner/scenario_runner.py:290
↓ 1 callers
Method
_load_catalogs
Read Catalog xml files into dictionary for later use NOTE: Catalogs must have distinct names, even across different types
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:103
↓ 1 callers
Function
_location_to_gps
Convert from world coordinates to GPS coordinates :param lat_ref: latitude reference for the current map :param lon_ref: longitude refere
leaderboard/leaderboard/utils/route_manipulation.py:21
↓ 1 callers
Function
_location_to_gps
Convert from world coordinates to GPS coordinates :param lat_ref: latitude reference for the current map :param lon_ref: longitude refere
scenario_runner/srunner/tools/route_manipulation.py:22
↓ 1 callers
Method
_on_camera_update
Callback for the camera sensor Sets the OpenCV image (_cv_image). Requires conversion from BGRA to RGB.
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:121
↓ 1 callers
Method
_on_collision
(weakself, event)
roach/criteria/collision.py:50
↓ 1 callers
Method
_on_gnss_event
(weak_self, event)
camera_calibration/collect_data_for_calibration.py:191
← previous
next →
301–400 of 1,526, ranked by callers