MCPcopy Create free account

hub / github.com/OpenDriveLab/DriveAdapter / functions

Functions1,526 in github.com/OpenDriveLab/DriveAdapter

↓ 4 callersMethodget_header
Returns ROS message header
leaderboard/leaderboard/autoagents/ros_agent.py:257
↓ 4 callersMethodget_header
Returns ROS message header
scenario_runner/srunner/autoagents/ros_agent.py:256
↓ 4 callersMethodget_status
returns: bool: False if watchdog exception occured, True otherwise
scenario_runner/srunner/scenariomanager/watchdog.py:74
↓ 4 callersMethodget_traffic_light_state
Returns the state of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:363
↓ 4 callersMethodget_trafficlight_trigger_location
Calculates the yaw of the waypoint that represents the trigger volume of the traffic light
scenario_runner/srunner/scenariomanager/carla_data_provider.py:306
↓ 4 callersMethodlog_prob
(self, actions: th.Tensor)
roach/models/distributions.py:224
↓ 4 callersMethodmake_surface
(tl)
scenario_runner/no_rendering_mode.py:400
↓ 4 callersMethodon_carla_tick
Callback receiving the CARLA time Update time only when frame is more recent that last frame
scenario_runner/srunner/scenariomanager/timer.py:33
↓ 4 callersMethodparse_from_node
static method to initialize an ActorConfigurationData from a given ET tree
scenario_runner/srunner/scenarioconfigs/scenario_configuration.py:34
↓ 4 callersMethodrequest_new_batch_actors
Simplified version of "request_new_actors". This method also create several actors in batch. Instead of needing a list of ActorConfi
scenario_runner/srunner/scenariomanager/carla_data_provider.py:649
↓ 4 callersMethodreset
(self)
roach/models/ppo_buffer.py:56
↓ 4 callersMethodsave
(self, path: str)
roach/models/ppo.py:270
↓ 4 callersMethodset_global_plan
Resets the waypoint queue and buffer to match the new plan. Also sets the global_plan flag to avoid creating more waypoints
agents/navigation/local_planner.py:193
↓ 4 callersMethodset_intersection_state
Changes the intersection to the desired state
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2288
↓ 4 callersMethodset_world
Set the world and world settings
scenario_runner/srunner/scenariomanager/carla_data_provider.py:193
↓ 4 callersMethodsize
:return: (int) The current size of the buffer
roach/models/ppo_buffer.py:255
↓ 4 callersMethodstop
(self)
leaderboard/leaderboard/envs/sensor_interface.py:83
↓ 4 callersMethodstop
As with other composites, it checks if the child is running and stops it if that is the case. Args: new_status (:
scenario_runner/srunner/tools/py_trees_port.py:74
↓ 4 callersMethodupdate
Check if the actor speed is above the speed_threshold
leaderboard/leaderboard/scenarios/scenarioatomics/atomic_criteria.py:49
↓ 3 callersFunctionNormedConv2d
nn.Conv2d but with normalized fan-in init
roach/models/torch_util.py:18
↓ 3 callersMethod__init__
(self, channels, act)
open_loop_training/code/encoder_decoder_framework.py:90
↓ 3 callersMethod_coords_to_2d_bb
Returns coords of a 2d box given points in sensor coords Args: cords ([type]): [description] Returns: [type]
leaderboard/team_code/base_agent.py:620
↓ 3 callersMethod_create_condition_container
This is a generic function to handle conditions utilising ConditionGroups Each ConditionGroup is represented as a Sequence of Conditi
scenario_runner/srunner/scenarios/open_scenario.py:396
↓ 3 callersMethod_find_closest_in_list
(self, current_waypoint, waypoint_list)
agents/navigation/global_route_planner.py:332
↓ 3 callersMethod_get_mask_from_stopline_vtx
(self, stopline_vtx, M_warp)
roach/obs_manager/birdview/chauffeurnet.py:212
↓ 3 callersMethod_get_position
(self, tick_data)
leaderboard/team_code/base_agent.py:77
↓ 3 callersMethod_get_position
(self, tick_data)
leaderboard/team_code/roach_ap_agent_data_collection.py:221
↓ 3 callersMethod_load_and_run_scenario
Load and run the scenario given by config
scenario_runner/scenario_runner.py:338
↓ 3 callersMethod_set_event_dict
Sets the dictionary of the event
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1400
↓ 3 callersMethod_set_event_message
Sets the message of the event
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1384
↓ 3 callersMethod_trig_to_world
Transforms the trigger coordinates to world coordinates Args: bb ([type]): [description] parent ([type]): [descriptio
leaderboard/team_code/base_agent.py:701
↓ 3 callersMethodadd_info
(self, module_name, info)
scenario_runner/no_rendering_mode.py:317
↓ 3 callersMethodcreate_blueprint
Function to setup the blueprint of an actor given its model and other relevant parameters
scenario_runner/srunner/scenariomanager/carla_data_provider.py:439
↓ 3 callersMethoddestroy
Cleanup of all ROS publishers
leaderboard/leaderboard/autoagents/ros_agent.py:163
↓ 3 callersMethoddestroy
Cleanup and delete actors, ScenarioManager and CARLA world
scenario_runner/scenario_runner.py:114
↓ 3 callersFunctiondownsample_route
Downsample the route by some factor. :param route: the trajectory , has to contain the waypoints and the road options :param sample_facto
leaderboard/leaderboard/utils/route_manipulation.py:86
↓ 3 callersFunctionexit_game
()
scenario_runner/no_rendering_mode.py:1418
↓ 3 callersMethodforward
(self, birdview, state)
roach/models/torch_layers.py:74
↓ 3 callersMethodforward_value
(self, obs_dict: Dict[str, np.ndarray])
roach/models/ppo_policy.py:167
↓ 3 callersMethodfp32_forward
(self, module, input)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:401
↓ 3 callersMethodgenerate_spawn_points
Generate spawn points for the current map
scenario_runner/srunner/scenariomanager/carla_data_provider.py:429
↓ 3 callersMethodget_actor_alive_frames
Returns a tuple with the first and last frame an actor was alive. It is important to note that frames start at 1, not 0. Arg
scenario_runner/srunner/metrics/tools/metrics_log.py:161
↓ 3 callersMethodget_actor_transform
Returns the transform of the actor at a given frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:256
↓ 3 callersMethodget_client
Get the CARLA client
scenario_runner/srunner/scenariomanager/carla_data_provider.py:172
↓ 3 callersMethodget_data_info
(self, data_folder, route_index, is_current, is_previous_one)
open_loop_training/code/datasets/carla_dataset.py:124
↓ 3 callersMethodget_dict
@return dictionary
scenario_runner/srunner/scenariomanager/traffic_events.py:74
↓ 3 callersFunctionget_opponent_transform
Calculate the transform of the adversary
scenario_runner/srunner/scenarios/object_crash_intersection.py:33
↓ 3 callersFunctionget_right_driving_lane
Gets the driving / parking lane that is most to the right of the waypoint as well as the number of lane changes done
scenario_runner/srunner/scenarios/object_crash_intersection.py:60
↓ 3 callersMethodget_running_status
returns: bool: False if watchdog exception occured, True otherwise
leaderboard/leaderboard/scenarios/scenario_manager.py:185
↓ 3 callersMethodget_stopline_vtx
(veh_loc, color, dist_threshold=50.0)
roach/utils/traffic_light.py:181
↓ 3 callersMethodget_wallclocktime
Returns elapsed game time
scenario_runner/srunner/scenariomanager/timer.py:69
↓ 3 callersMethodinit_weights
(self)
open_loop_training/code/model_code/dense_heads/mask2former4seg.py:149
↓ 3 callersMethodintersection
Obtain a intersection point between two contour.
scenario_runner/srunner/tools/scenario_helper.py:506
↓ 3 callersMethodload_npy
(self, fname)
open_loop_training/code/datasets/carla_dataset.py:101
↓ 3 callersMethodoffset_then_rotate
(self, target_2d_world_coor, ref_2d_wolrd_coor, ref_yaw)
open_loop_training/code/datasets/carla_dataset.py:115
↓ 3 callersMethodregister_module
(self, module)
scenario_runner/no_rendering_mode.py:195
↓ 3 callersMethodresume
(self, endpoint)
leaderboard/leaderboard/utils/route_indexer.py:49
↓ 3 callersMethodrun_step
Pure virtual function to run one step of the controllers's control loop. This should be implemented in the user-defined agent impleme
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:99
↓ 3 callersMethodrun_step
Execute one step of navigation. :param debug: boolean for debugging :return control: carla.VehicleControl
agents/navigation/behavior_agent.py:360
↓ 3 callersMethodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors
leaderboard/leaderboard/autoagents/ros_agent.py:248
↓ 3 callersMethodset_global_plan
Set the plan (route) for the agent
scenario_runner/srunner/autoagents/autonomous_agent.py:107
↓ 3 callersMethodset_parameters
Parse the xml_tree, and replace all parameter references with the actual values. Note: Parameter names must not start with "
scenario_runner/srunner/tools/openscenario_parser.py:147
↓ 3 callersMethodsetup
Default setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:109
↓ 3 callersMethodstart
Start the watchdog
scenario_runner/srunner/scenariomanager/watchdog.py:43
↓ 3 callersMethodstep
(self, action)
roach/utils/rl_birdview_wrapper.py:66
↓ 3 callersMethodstop
Stops the watchdog.
scenario_runner/srunner/scenariomanager/watchdog.py:68
↓ 3 callersFunctionsum_independent_dims
(tensor: th.Tensor)
roach/models/distributions.py:9
↓ 3 callersMethodterminate
On termination of this behavior, the throttle should be set back to 0., to avoid further acceleration.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1276
↓ 3 callersMethodtick
(self, clock)
scenario_runner/manual_control.py:122
↓ 3 callersMethodtick
(self, clock)
scenario_runner/no_rendering_mode.py:314
↓ 3 callersMethodupdate_sensor
Updates the sensor
scenario_runner/srunner/autoagents/sensor_interface.py:100
↓ 3 callersMethodupdate_target_speed
Update the actor's target speed and set _init_speed to False. Args: speed (float): New target speed [m/s].
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:55
↓ 3 callersFunctionvec_global_to_ref
:param target_vec_in_global: carla.Vector3D in global coordinate (world, actor) :param ref_rot_in_global: carla.Rotation in global coordinate
roach/utils/transforms.py:21
↓ 2 callersMethod__init__
(self, is_local=False, # carla's camera use unreal-coordination, which must be corrected
open_loop_training/code/datasets/pipelines/loading.py:118
↓ 2 callersMethod__init__
(self, tag, sensor_type, sensor, data_provider)
leaderboard/leaderboard/envs/sensor_interface.py:134
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/open_scenario.py:176
↓ 2 callersMethod__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/object_crash_intersection.py:285
↓ 2 callersMethod_apply_local_planner
Convert the plan into locations for walkers (pedestrians), or to a waypoint list for other actors. For non-walkers, activate the carl
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1544
↓ 2 callersMethod_baseline_to_box
Transforms a baseline (in world coords) into a 2d box (in sensor coords) Args: baseline ([type]): [description] cam (
leaderboard/team_code/base_agent.py:602
↓ 2 callersFunction_calc_dynamic_intervals
(start_interval, dynamic_interval_list)
open_loop_training/code/core/evaluation/eval_hooks.py:18
↓ 2 callersMethod_compute_next_waypoints
Add new waypoints to the trajectory queue. :param k: how many waypoints to compute :return:
agents/navigation/local_planner.py:162
↓ 2 callersMethod_create_2d_bb_points
Returns 2D floor bounding box for an actor.
leaderboard/team_code/base_agent.py:719
↓ 2 callersMethod_create_bb_points
Returns 3D bounding box world coordinates.
leaderboard/team_code/base_agent.py:362
↓ 2 callersMethod_decide_interval
(self, runner)
open_loop_training/code/core/evaluation/eval_hooks.py:38
↓ 2 callersMethod_decide_interval
(self, runner)
open_loop_training/code/core/evaluation/eval_hooks.py:100
↓ 2 callersMethod_extract_misc_information
Helper function to _set_actor_information for getting vehicle information from XML tree
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:289
↓ 2 callersMethod_extract_nodes_from_tree
Returns the list of all nodes from the given tree
scenario_runner/srunner/scenarios/basic_scenario.py:261
↓ 2 callersMethod_extract_pedestrian_information
Helper function to _set_actor_information for getting pedestrian information from XML tree
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:278
↓ 2 callersMethod_extract_vehicle_information
Helper function to _set_actor_information for getting vehicle information from XML tree
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:255
↓ 2 callersMethod_forward_single_sweep
Forward function for single sweep. Args: sweep_index (int): Index of sweeps. sweep_imgs (Tensor): Input images.
open_loop_training/code/model_code/backbones/lss.py:544
↓ 2 callersMethod_get_2d_bb_baseline
Returns 2 coordinates for the baseline for 2d bbs in world coordinates (distance behind trigger volume, as seen from camera) Args:
leaderboard/team_code/base_agent.py:571
↓ 2 callersMethod_get_action_beta
(self, alpha, beta)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:405
↓ 2 callersMethod_get_actor_speed
Get the initial actor speed provided by the Init section
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:342
↓ 2 callersMethod_get_angle_to
(self, pos, theta, target)
leaderboard/team_code/auto_pilot.py:119
↓ 2 callersMethod_get_dist
Returns the distance between p1 and p2 Args: target ([type]): [description] Returns: [type]: [description]
leaderboard/team_code/base_agent.py:830
↓ 2 callersMethod_get_distance
Returns the distance from the (rgb_front) camera to the target Args: target ([type]): [description] Returns:
leaderboard/team_code/base_agent.py:847
↓ 2 callersMethod_get_forward_speed
Convert the vehicle transform directly to forward speed
leaderboard/team_code/roach_ap_agent_data_collection.py:714
↓ 2 callersMethod_is_actor_affected_by_stop
Check if the given actor is affected by the stop
leaderboard/team_code/auto_pilot.py:242
↓ 2 callersMethod_is_light_red
Method to check if there is a red light affecting us. This version of the method is compatible with both European and US style traffi
agents/navigation/agent.py:73
↓ 2 callersMethod_is_vehicle_hazard
:param vehicle_list: list of potential obstacle to check :return: a tuple given by (bool_flag, vehicle), where - bo
agents/navigation/agent.py:189
← previousnext →101–200 of 1,526, ranked by callers