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
Method
forward
(self, x, x_se)
open_loop_training/code/model_code/backbones/lss.py:154
Method
forward
(self, x, mats_dict)
open_loop_training/code/model_code/backbones/lss.py:206
Method
forward
(self, x1, x2)
open_loop_training/code/model_code/backbones/lss.py:256
Method
forward
(self, input)
open_loop_training/code/model_code/backbones/lss.py:277
Method
forward
Forward function.
open_loop_training/code/model_code/backbones/lss.py:291
Method
forward
Forward function. Args: sweep_imgs(Tensor): Input images with shape of (B, num_sweeps, num_cameras, 3, H, W).
open_loop_training/code/model_code/backbones/lss.py:637
Method
forward
(self, x)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:83
Method
forward
(self, x)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:110
Method
forward
(self, x)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:134
Method
forward
(self, bev_feat, route_mask, state_list)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:420
Method
forward
Forward function. Args: feats (list[Tensor]): Multi scale Features from the upstream network, each is a 4D-tensor.
open_loop_training/code/model_code/dense_heads/mask2former4seg.py:257
Method
forward
(self, x)
roach/models/torch_util.py:70
Method
forward
(self, x)
roach/models/torch_util.py:90
Method
forward
(self, birdview, state)
roach/models/torch_layers.py:121
Method
forward
used in collect_rollouts(), do not clamp actions
roach/models/ppo_policy.py:142
Method
forward_policy
(self, obs_dict: Dict[str, np.ndarray])
roach/models/ppo_policy.py:175
Method
get_actions
(self, deterministic: bool = False)
roach/models/distributions.py:106
Method
get_actions
(self, deterministic: bool = False)
roach/models/distributions.py:168
Method
get_actor_acceleration
Returns the acceleration of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:316
Method
get_actor_accelerations_at_frame
Returns a dictionary {int - carla.Vector3D} with the actor ID and angular velocity at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:328
Method
get_actor_angular_velocities_at_frame
Returns a dictionary {int - carla.Vector3D} with the actor ID and angular velocity at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:308
Method
get_actor_angular_velocity
Returns the angular velocity of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:296
Method
get_actor_attributes
Returns a dictionary with all the attributes of an actor. Args: actor_id (int): ID of the actor.
scenario_runner/srunner/metrics/tools/metrics_log.py:119
Method
get_actor_bounding_box
Returns the bounding box of the specified actor Args: actor_id (int): Id of the actor
scenario_runner/srunner/metrics/tools/metrics_log.py:131
Method
get_actor_by_id
Get an actor from the pool by using its ID. If the actor does not exist, None is returned.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:734
Method
get_actor_collisions
Returns a dict where the keys are the frame number and the values, a list of actor ids the actor collided with. Args:
scenario_runner/srunner/metrics/tools/metrics_log.py:34
Method
get_actor_ids_with_type_id
Returns a list of actor ids that match the given type_id, matching fnmatch standard. Args: type_id (str): string with th
scenario_runner/srunner/metrics/tools/metrics_log.py:103
Method
get_actor_transforms_at_frame
Returns a dictionary {int - carla.Transform} with the actor ID and transform at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:268
Method
get_actor_velocities_at_frame
Returns a dictionary {int - carla.Vector3D} with the actor ID and velocity at a given frame of all the actors at actor_list.
scenario_runner/srunner/metrics/tools/metrics_log.py:288
Method
get_actor_velocity
Returns the velocity of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:276
Method
get_actors_from_list
Receives a list of actor definitions and creates an actual list of ActorConfigurationObjects
leaderboard/leaderboard/scenarios/route_scenario.py:448
Method
get_actors_from_list
Receives a list of actor definitions and creates an actual list of ActorConfigurationObjects
scenario_runner/srunner/scenarios/route_scenario.py:367
Method
get_all_actor_accelerations
Returns a list with all the accelerations of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:322
Method
get_all_actor_angular_velocities
Returns a list with all the angular velocities of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:302
Method
get_all_actor_transforms
Returns a list with all the transforms of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:262
Method
get_all_actor_velocities
Returns a list with all the velocities of the actor at the frame interval.
scenario_runner/srunner/metrics/tools/metrics_log.py:282
Method
get_carla_time
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:62
Method
get_delta_time
Returns a float with the delta time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:66
Method
get_elapsed_time
Returns a float with the elapsed time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:59
Function
get_entry_point
()
leaderboard/leaderboard/autoagents/dummy_agent.py:16
Function
get_entry_point
()
leaderboard/leaderboard/autoagents/human_agent.py:36
Function
get_entry_point
()
leaderboard/leaderboard/autoagents/npc_agent.py:18
Function
get_entry_point
()
leaderboard/team_code/auto_pilot.py:52
Function
get_entry_point
()
leaderboard/team_code/driveadapter_agent.py:105
Function
get_entry_point
()
leaderboard/team_code/roach_ap_agent_data_collection.py:52
Method
get_env
(self)
roach/models/ppo.py:276
Function
get_free_tcp_port
()
roach/utils/config_utils.py:141
Function
get_intersection
Obtain a intersection point between two actor's location @return the intersection location
scenario_runner/srunner/tools/scenario_helper.py:412
Method
get_junctoin_paths
(veh_loc, color=0, dist_threshold=50.0)
roach/utils/traffic_light.py:159
Method
get_lane_markings
(lane_marking_type, lane_marking_color, waypoints, sign)
scenario_runner/no_rendering_mode.py:491
Function
get_loc_rot_in_global
(actor_list)
roach/utils/transforms.py:117
Function
get_loc_rot_vel_in_ev
(actor_list, ev_transform, get_acceleration = False, origin = False)
roach/utils/transforms.py:83
Method
get_local_planner
Get method for protected member local planner
agents/navigation/agent.py:50
Function
get_location_in_distance
Obtain a location in a given distance from the current actor's location. Note: Search is stopped on first intersection. @return obtained
scenario_runner/srunner/tools/scenario_helper.py:172
Function
get_nearby_object
(vehicle_position, actor_list, radius)
leaderboard/team_code/roach_ap_agent_data_collection.py:85
Method
get_observation
(self)
roach/obs_manager/actor_state/control.py:14
Method
get_observation
(self)
roach/obs_manager/actor_state/velocity.py:26
Method
get_observation
(self)
roach/obs_manager/actor_state/speed.py:26
Method
get_observation
(self, route_plan)
roach/obs_manager/birdview/chauffeurnet.py:88
Method
get_platform_time
Returns a float with the platform time time of a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:73
Method
get_plot
(arr)
open_loop_training/code/encoder_decoder_framework.py:322
Method
get_scene_light_state
Returns the state of the scene light at a specific frame. Returns None if the id can't be found.
scenario_runner/srunner/metrics/tools/metrics_log.py:416
Function
get_single_route
(routes_xml_filename, route_id)
roach/utils/config_utils.py:105
Method
get_traffic_light_elapsed_time
Returns the elapsed time of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:375
Method
get_traffic_light_state_time
Returns the state time of the traffic light at a specific frame. Returns None if the id can't be found.
scenario_runner/srunner/metrics/tools/metrics_log.py:381
Method
get_traffic_light_trigger_volume
Returns the trigger volume of the specified traffic light Args: actor_id (int): Id of the traffic light
scenario_runner/srunner/metrics/tools/metrics_log.py:146
Method
get_vehicle_control
Returns the control of the vehicle at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:336
Method
get_vehicle_physics_control
Returns the carla.VehiclePhysicsControl of a vehicle at a given frame. Returns None if the id can't be found.
scenario_runner/srunner/metrics/tools/metrics_log.py:342
Method
get_walker_speed
Returns the speed of the walker at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:356
Function
get_xyz
(_)
leaderboard/team_code/roach_ap_agent_data_collection.py:66
Method
gps_to_location
(gps)
leaderboard/team_code/roach_ap_agent_data_collection.py:647
Function
init_agents
(agent_configs_dict, **kwargs)
roach/utils/config_utils.py:65
Function
init_weights
(m)
open_loop_training/code/encoder_decoder_framework.py:66
Function
init_weights
(m)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:40
Method
init_weights
Orthogonal initialization (used in PPO and A2C)
roach/models/ppo_policy.py:243
Method
initialise
Delete the variables from the blackboard.
scenario_runner/srunner/scenarios/open_scenario.py:63
Method
initialise
Record the elements's start time on the blackboard
scenario_runner/srunner/scenarios/open_scenario.py:90
Method
initialise
Set start_time to current GameTime
scenario_runner/srunner/scenariomanager/timer.py:107
Method
initialise
Initialise setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:68
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:118
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:186
Method
initialise
Initialize the start time of this condition
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:492
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1065
Method
initialise
Initialise setup terminates WaypointFollowers Check whether WF for this actor is running and terminate all active WFs
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:116
Method
initialise
Set initial parameters such as _start_time and _start_location, and get (actor, controller) pair from Blackboard. May throw
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:441
Method
initialise
Set _start_time and get (actor, controller) pair from Blackboard. Set waypoint list for actor controller. May throw if acto
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:563
Method
initialise
Set _start_time and get (actor, controller) pair from Blackboard. Generate a waypoint list (route) which representes the route. Set
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:658
Method
initialise
Set _start_time and get (actor, controller) pair from Blackboard. Generate a waypoint list (route) which representes the lane change
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:736
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:844
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:900
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:965
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1043
Method
initialise
Delayed one-time initialization Checks if another WaypointFollower behavior is already running for this actor. If this is th
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1517
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1714
Method
initialise
Initialize it's speed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1760
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1878
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:152
Method
initialise
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:232
Function
intprod
Product of a sequence of integers
roach/models/torch_util.py:29
Method
is_traffic_light_frozen
Returns whether or not the traffic light is frozen at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:369
← previous
next →
1,201–1,300 of 1,526, ranked by callers