MCPcopy Create free account

hub / github.com/OpenDriveLab/DriveAdapter / functions

Functions1,526 in github.com/OpenDriveLab/DriveAdapter

↓ 1 callersMethodcollision_and_car_avoid_manager
This module is in charge of warning in case of a collision and managing possible overtaking or tailgating chances. :para
agents/navigation/behavior_agent.py:255
↓ 1 callersMethodcollision_detect
(self)
leaderboard/team_code/roach_ap_agent_data_collection.py:511
↓ 1 callersFunctioncompare_scenarios
Compare function for scenarios based on distance of the scenario start position
leaderboard/leaderboard/scenarios/route_scenario.py:136
↓ 1 callersFunctioncompare_scenarios
Compare function for scenarios based on distance of the scenario start position
scenario_runner/srunner/scenarios/route_scenario.py:100
↓ 1 callersFunctioncompute_distance
Euclidean distance between 3D points :param location_1, location_2: 3D points
agents/tools/misc.py:144
↓ 1 callersMethodcompute_global_statistics
(self, total_routes)
leaderboard/leaderboard/utils/statistics_manager.py:209
↓ 1 callersFunctioncompute_route_length
(config)
leaderboard/leaderboard/utils/statistics_manager.py:66
↓ 1 callersMethodcompute_route_statistics
Compute the current statistics by evaluating all relevant scenario criteria
leaderboard/leaderboard/utils/statistics_manager.py:121
↓ 1 callersMethodcontrol_pid
Predicts vehicle control with a PID controller. Args: waypoints (tensor): output of self.plan() velocity (tensor): sp
open_loop_training/code/encoder_decoder_framework.py:370
↓ 1 callersFunctionconvert_json_to_actor
Convert a JSON string to an ActorConfigurationData dictionary
leaderboard/leaderboard/scenarios/route_scenario.py:112
↓ 1 callersFunctionconvert_json_to_actor
Convert a JSON string to an ActorConfigurationData dictionary
scenario_runner/srunner/scenarios/route_scenario.py:76
↓ 1 callersFunctionconvert_json_to_transform
Convert a JSON string to a CARLA transform
leaderboard/leaderboard/scenarios/route_scenario.py:103
↓ 1 callersFunctionconvert_json_to_transform
Convert a JSON string to a CARLA transform
scenario_runner/srunner/scenarios/route_scenario.py:67
↓ 1 callersMethodconvert_maneuver_to_atomic
Convert an OpenSCENARIO maneuver action into a Behavior atomic Note not all OpenSCENARIO actions are currently supported
scenario_runner/srunner/tools/openscenario_parser.py:895
↓ 1 callersMethodconvert_waypoint_float
Convert waypoint values to float
leaderboard/leaderboard/utils/route_parser.py:176
↓ 1 callersMethodconvert_waypoint_float
Convert waypoint values to float
scenario_runner/srunner/tools/route_parser.py:142
↓ 1 callersMethodcreate_frustum
Generate frustum
open_loop_training/code/model_code/backbones/lss.py:456
↓ 1 callersFunctioncreate_main_actors
(start_pose, waypoint)
camera_calibration/collect_data_for_calibration.py:252
↓ 1 callersMethodcreate_output_text
Creates the output message
leaderboard/leaderboard/utils/result_writer.py:41
↓ 1 callersMethodcreate_output_text
Creates the output message
scenario_runner/srunner/scenariomanager/result_writer.py:60
↓ 1 callersFunctioncustom_build_dataset
(cfg, default_args=None)
open_loop_training/code/datasets/builder.py:124
↓ 1 callersFunctioncustom_multi_gpu_test
Test model with multiple gpus. This method tests model with multiple gpus and collects the results under two different modes: gpu and cpu mo
open_loop_training/code/core/evaluation/eval_tool.py:71
↓ 1 callersFunctioncustom_train_detector
(model, dataset, cfg, distributed=False,
open_loop_training/code/apis/mmdet_train.py:28
↓ 1 callersFunctioncustom_train_model
A function wrapper for launching model training according to cfg. Because we need different eval_hook in runner. Should be deprecated in the
open_loop_training/code/apis/train.py:11
↓ 1 callersMethoddestroy
(self)
camera_calibration/collect_data_for_calibration.py:200
↓ 1 callersFunctiondetect_lane_obstacle
This function identifies if an obstacle is present in front of the reference actor
scenario_runner/srunner/tools/scenario_helper.py:445
↓ 1 callersFunctiondistance_vehicle
Returns the 2D distance from a waypoint to a vehicle :param waypoint: actual waypoint :param vehicle_transform: transform of the
agents/tools/misc.py:116
↓ 1 callersMethoddone
Check whether the agent has reached its destination. :return bool
agents/navigation/basic_agent.py:123
↓ 1 callersFunctiondownsample_route
Downsample the route by some factor. :param route: the trajectory , has to contain the waypoints and the road options :param sample_facto
scenario_runner/srunner/tools/route_manipulation.py:87
↓ 1 callersMethoddraw_arrow
(surface, transform, color=COLOR_ALUMINIUM_2)
scenario_runner/no_rendering_mode.py:568
↓ 1 callersFunctiondraw_depth_image
(surface, image_depth)
camera_calibration/collect_data_for_calibration.py:235
↓ 1 callersFunctiondraw_rgb_image
(surface, image_rgb)
camera_calibration/collect_data_for_calibration.py:226
↓ 1 callersMethoddraw_road_map
(self, map_surface, carla_world, carla_map, world_to_pixel, world_to_pixel_width)
scenario_runner/no_rendering_mode.py:458
↓ 1 callersFunctiondraw_stop_signs
(image, vehicle, lights, pixels_per_meter=5.5, size=512, radius=5)
leaderboard/team_code/map_agent.py:139
↓ 1 callersFunctiondraw_traffic_lights
(image, vehicle, lights, pixels_per_meter=5.5, size=512, radius=5)
leaderboard/team_code/map_agent.py:96
↓ 1 callersMethodentropy_loss
(self)
roach/models/distributions.py:228
↓ 1 callersFunctioneuler_to_quaternion
(yaw, pitch, roll)
camera_calibration/collect_data_for_calibration.py:217
↓ 1 callersMethodevaluate_actions
(self, obs_dict: Dict[str, th.Tensor], actions: th.Tensor, exploration_suggests, deta
roach/models/ppo_policy.py:120
↓ 1 callersMethodevaluate_policy
(env, policy, video_path, min_eval_steps=3000)
roach/utils/wandb_callback.py:139
↓ 1 callersMethodexploration_loss
(self, exploration_suggests)
roach/models/distributions.py:232
↓ 1 callersMethodforward_inference
(self, batch, route_mask)
open_loop_training/code/encoder_decoder_framework.py:275
↓ 1 callersFunctiongame_loop
(args)
scenario_runner/manual_control.py:133
↓ 1 callersFunctiongame_loop
(args)
scenario_runner/no_rendering_mode.py:1376
↓ 1 callersMethodgenerate_route_mask
(self)
leaderboard/team_code/driveadapter_agent.py:627
↓ 1 callersFunctiongenerate_target_waypoint_in_route
This method follow waypoints to a junction @returns a waypoint list according to turn input
scenario_runner/srunner/tools/scenario_helper.py:343
↓ 1 callersFunctiongenerate_target_waypoint_list
This method follow waypoints to a junction and choose path based on turn input. Turn input: LEFT -> -1, RIGHT -> 1, STRAIGHT -> 0 @return
scenario_runner/srunner/tools/scenario_helper.py:224
↓ 1 callersMethodget_actions
(self, deterministic: bool = False)
roach/models/distributions.py:275
↓ 1 callersFunctionget_actor_display_name
(actor, truncate=250)
camera_calibration/collect_data_for_calibration.py:313
↓ 1 callersFunctionget_actor_display_name
(actor, truncate=250)
scenario_runner/manual_control.py:72
↓ 1 callersMethodget_cam_feats
Get feature maps from images.
open_loop_training/code/model_code/backbones/lss.py:517
↓ 1 callersFunctionget_collision
(p1, v1, p2, v2)
leaderboard/team_code/auto_pilot.py:73
↓ 1 callersFunctionget_collision
(p1, v1, p2, v2)
leaderboard/team_code/roach_ap_agent_data_collection.py:74
↓ 1 callersMethodget_data
(self)
leaderboard/leaderboard/envs/sensor_interface.py:233
↓ 1 callersMethodget_downsampled_gt_depth
Input: gt_depths: [B, N, H, W] Output: gt_depths: [B*N*h*w, d]
open_loop_training/code/encoder_decoder_framework.py:504
↓ 1 callersMethodget_downsampled_gt_seg
(self, gt_seg)
open_loop_training/code/encoder_decoder_framework.py:546
↓ 1 callersFunctionget_ego_shift
(delta_x, delta_y, ego_angle)
open_loop_training/code/datasets/carla_dataset.py:279
↓ 1 callersFunctionget_font
()
camera_calibration/collect_data_for_calibration.py:244
↓ 1 callersMethodget_geometry
Transfer points from camera coord to ego coord. Args: rots(Tensor): Rotation matrix from camera to ego. trans(Tensor)
open_loop_training/code/model_code/backbones/lss.py:476
↓ 1 callersMethodget_hero_actor
Get the actor object of the hero actor if it exists, returns none otherwise.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:724
↓ 1 callersMethodget_init_kwargs
(self)
roach/models/ppo_policy.py:208
↓ 1 callersMethodget_last_longitudinal_command
Get timestamp of the last issued longitudinal control command (target_speed) returns: Timestamp of last longitudinal con
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:126
↓ 1 callersMethodget_light_state
vehicle: carla.Vehicle
roach/utils/traffic_light.py:114
↓ 1 callersMethodget_list_of_scenarios
Parse *all* config files and provide a list with all scenarios @return
scenario_runner/srunner/tools/scenario_parser.py:103
↓ 1 callersMethodget_observation
(self)
roach/obs_manager/actor_state/route.py:26
↓ 1 callersMethodget_points_in_bbox
(self, ego_mat, vec_inv_mat, dx, lidar)
leaderboard/team_code/roach_ap_agent_data_collection.py:727
↓ 1 callersFunctionget_rot
(h)
open_loop_training/code/datasets/pipelines/transform.py:380
↓ 1 callersMethodget_route
Extract the route from the OSC XML or a catalog Args: xml_tree: Containing the route information, or the
scenario_runner/srunner/tools/openscenario_parser.py:379
↓ 1 callersMethodget_scenario_type
Some scenarios have different types depending on the route. :param scenario: the scenario name :param match_position: the mat
leaderboard/leaderboard/utils/route_parser.py:216
↓ 1 callersMethodget_scenario_type
Some scenarios have different types depending on the route. :param scenario: the scenario name :param match_position: the mat
scenario_runner/srunner/tools/route_parser.py:182
↓ 1 callersMethodget_target_gps
(self, gps, compass)
leaderboard/team_code/roach_ap_agent_data_collection.py:645
↓ 1 callersMethodget_traffic_light_configuration
Checks the list of possible altered traffic lights and gets the first one that exists in the intersection Important paramete
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2316
↓ 1 callersMethodget_traffic_light_waypoints
get area of a given traffic light
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1844
↓ 1 callersMethodget_traffic_manager_port
Get the port of the traffic manager.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:772
↓ 1 callersMethodget_vehicle_lights
Returns the vehicle lights of the vehicle at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:398
↓ 1 callersMethodget_waiting_time
Calculates the time the ego traffic light will remain red to let vehicles enter the junction
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2300
↓ 1 callersMethodim_render
(self, render_dict)
leaderboard/team_code/roach_ap_agent_data_collection.py:431
↓ 1 callersFunctionimg_transform
(img, resize, resize_dims, crop, flip, rotate=0)
open_loop_training/code/datasets/pipelines/transform.py:346
↓ 1 callersMethodinit_roach_head
(self, roach_head_dict, freezed_module_name)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:209
↓ 1 callersMethodinitialise
Set current time to current CARLA time
scenario_runner/srunner/scenariomanager/weather_sim.py:118
↓ 1 callersFunctioninterpolate_trajectory
Given some raw keypoints interpolate a full dense trajectory to be used by the user. Args: world: an reference to the CARLA world so
dataset/tools/generate_random_routes.py:254
↓ 1 callersFunctioninterpolate_trajectory
Given some raw keypoints interpolate a full dense trajectory to be used by the user. returns the full interpolated route both in GPS coordina
leaderboard/leaderboard/utils/route_manipulation.py:132
↓ 1 callersFunctioninterpolate_trajectory
Given some raw keypoints interpolate a full dense trajectory to be used by the user. :param world: an reference to the CARLA world so we
scenario_runner/srunner/tools/route_manipulation.py:133
↓ 1 callersFunctionis_lane_a_parking
This function filters false negative Shoulder which are in reality Parking lanes. These are differentiated from the others because, similar t
scenario_runner/srunner/scenarios/object_crash_intersection.py:85
↓ 1 callersMethodis_vehicle_crossing_line
check if vehicle crosses a line segment
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1728
↓ 1 callersFunctionis_within_distance
Check if a target object is within a certain distance from a reference object. A vehicle in front would be something around 0 deg, while one
agents/tools/misc.py:68
↓ 1 callersMethodload_bev_seg
(self, fname)
open_loop_training/code/datasets/carla_dataset.py:108
↓ 1 callersMethodload_img
(self, filename)
open_loop_training/code/datasets/pipelines/loading.py:40
↓ 1 callersMethodload_roach_layers
(self, module_dict)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:269
↓ 1 callersMethodload_scenario
Load a new scenario
leaderboard/leaderboard/scenarios/scenario_manager.py:99
↓ 1 callersMethodload_scenario
Load a new scenario
scenario_runner/srunner/scenariomanager/scenario_manager.py:94
↓ 1 callersFunctionloc_global_to_ref
:param target_loc_in_global: carla.Location in global coordinate (world, actor) :param ref_trans_in_global: carla.Transform in global coordin
roach/utils/transforms.py:5
↓ 1 callersFunctionlocation_route_to_gps
Locate each waypoint of the route into gps, (lat long ) representations. :param route: :param lat_ref: :param lon_ref: :retur
leaderboard/leaderboard/utils/route_manipulation.py:44
↓ 1 callersFunctionlocation_route_to_gps
Locate each waypoint of the route into gps, (lat long ) representations. :param route: :param lat_ref: :param lon_ref: :retur
scenario_runner/srunner/tools/route_manipulation.py:45
↓ 1 callersMethodloss
(self, pred, gt)
open_loop_training/code/model_code/dense_heads/mask2former4seg.py:185
↓ 1 callersFunctionmain
()
dataset/tools/generate_random_routes.py:298
↓ 1 callersFunctionmain
()
open_loop_training/train.py:114
↓ 1 callersFunctionmain
()
camera_calibration/collect_data_for_calibration.py:391
↓ 1 callersFunctionmain
()
leaderboard/leaderboard/leaderboard_evaluator.py:479
↓ 1 callersFunctionmain
main function
scenario_runner/scenario_runner.py:493
↓ 1 callersFunctionmain
()
scenario_runner/manual_control.py:176
← previousnext →501–600 of 1,526, ranked by callers