MCPcopy Create free account

hub / github.com/OpenDriveLab/DriveAdapter / functions

Functions1,526 in github.com/OpenDriveLab/DriveAdapter

Methodis_vehicle_light_active
Returns the elapsed time of the traffic light at a specific frame.
scenario_runner/srunner/metrics/tools/metrics_log.py:404
Methodis_within_distance
(w)
roach/obs_manager/birdview/chauffeurnet.py:94
Functionkill_carla
()
dataset/tools/generate_random_routes.py:293
Functionkill_carla
()
leaderboard/leaderboard/leaderboard_evaluator.py:90
Methodlane_marking_color_to_tango
(lane_marking_color)
scenario_runner/no_rendering_mode.py:462
Methodlateral_shift
(transform, shift)
scenario_runner/no_rendering_mode.py:613
Methodlearn
(self, total_timesteps, callback=None, seed=2021)
roach/models/ppo.py:212
Methodload_annotations
(self)
open_loop_training/code/datasets/base_dataset.py:50
Functionload_obs_configs
(agent_configs_dict)
roach/utils/config_utils.py:58
Methodlog_prob
(self, actions: th.Tensor)
roach/models/distributions.py:73
Methodlog_prob
(self, actions: th.Tensor, gaussian_actions: Optional[th.Tensor] = None)
roach/models/distributions.py:143
Methodloss
(self, batch, pred,)
open_loop_training/code/model_code/dense_heads/driver_adapter_head.py:434
Methodmake_queue
(register_event)
camera_calibration/collect_data_for_calibration.py:361
Methodmatch_waypoints
Check if waypoint1 and wtransform are similar
leaderboard/leaderboard/utils/route_parser.py:192
Methodmatch_waypoints
Check if waypoint1 and wtransform are similar
scenario_runner/srunner/tools/route_parser.py:158
Functionnp_encoder
(object)
leaderboard/team_code/roach_ap_agent_data_collection.py:43
Methodobs_configs
(self)
roach/rl_birdview_agent.py:57
Methodon_carla_tick
Callback from CARLA
scenario_runner/srunner/scenariomanager/carla_data_provider.py:102
Methodon_vehicle_control
callback if a new vehicle control command is received
leaderboard/leaderboard/autoagents/ros_agent.py:184
Methodon_vehicle_control
callback if a new vehicle control command is received
scenario_runner/srunner/autoagents/ros_agent.py:183
Methodparse_preset_weather
Returns one of the 14 preset weather condition. If the route has no weather attribute, the default one is triggered.
leaderboard/leaderboard/utils/route_parser.py:140
Functionparse_routes_file
(routes_xml_filename)
roach/utils/config_utils.py:73
Methodposition_sampled
Check if a position was already sampled, i.e. used for another scenario
leaderboard/leaderboard/scenarios/route_scenario.py:315
Methodposition_sampled
Check if a position was already sampled, i.e. used for another scenario
scenario_runner/srunner/scenarios/route_scenario.py:272
Methodprepare_test_data
(self, index)
open_loop_training/code/datasets/carla_dataset.py:272
Methodproba_distribution
(self, mean_actions: th.Tensor, log_std: th.Tensor)
roach/models/distributions.py:66
Methodproba_distribution
(self, mean_actions: th.Tensor, log_std: th.Tensor)
roach/models/distributions.py:136
Methodproba_distribution_net
(self, latent_dim: int)
roach/models/distributions.py:44
Methodproba_distribution_net
(self, latent_dim: int)
roach/models/distributions.py:128
Methodregister_actors
Add new set of actors to dictionaries
scenario_runner/srunner/scenariomanager/carla_data_provider.py:94
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:206
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:246
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:344
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:1147
Methodrender
(self, display)
scenario_runner/no_rendering_mode.py:1258
Methodreroute
This method implements re-routing for vehicles approaching its destination. It finds a new target and computes another path to reach
agents/navigation/behavior_agent.py:123
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:136
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:57
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py:33
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py:32
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:87
Methodreset
Reset the controller
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:34
Methodreset_noise
(self, n_envs: int = 1)
roach/models/ppo_policy.py:62
Methodreset_vehicle
Reset the ego-vehicle
agents/navigation/local_planner_behavior.py:76
Methodresume
(self, endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:93
Functionrot_ref_to_global
(target_rot_in_ref, ref_rot_in_global)
roach/utils/transforms.py:44
Methodrotate_point
rotate a given point by a given angle
scenario_runner/srunner/scenariomanager/carla_data_provider.py:310
Methodrotate_point
rotate a given point by a given angle
agents/navigation/agent.py:114
Methodrun
Run the GUI
scenario_runner/srunner/autoagents/human_agent.py:55
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/dummy_agent.py:68
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/human_agent.py:120
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/ros_agent.py:409
Methodrun_step
Execute one step of navigation.
leaderboard/leaderboard/autoagents/npc_agent.py:64
Methodrun_step
(self, gps)
leaderboard/team_code/planner.py:78
Methodrun_step
(self, input_data, timestamp)
leaderboard/team_code/auto_pilot.py:167
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/dummy_agent.py:61
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/human_agent.py:151
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/ros_agent.py:408
Methodrun_step
Execute one step of navigation.
scenario_runner/srunner/autoagents/npc_agent.py:62
Methodrun_step
Execute on tick of the controller's control loop If _waypoints are provided, the vehicle moves towards the next waypoint wit
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:149
Methodrun_step
Execute on tick of the controller's control loop If _waypoints are provided, the vehicle moves towards the next waypoint wit
scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py:67
Methodrun_step
Execute on tick of the controller's control loop The control loop is very simplistic: If the actor speed is below the _t
scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py:40
Methodrun_step
The control loop and setting the actor controls is implemented externally.
scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py:39
Methodrun_step
Execute on tick of the controller's control loop
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:150
Methodrun_step
Execute on tick of the controller's control loop If _waypoints are provided, the pedestrian moves towards the next waypoint
scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py:41
Methodrun_step
Execute one step of local planning which involves running the longitudinal and lateral PID controllers to follow the waypoint
agents/navigation/local_planner_behavior.py:176
Methodrun_step
Execute one step of navigation. :param debug: boolean flag for debugging :return: control
agents/navigation/agent.py:55
Methodrun_step
Execute one step of navigation. :return: carla.VehicleControl
agents/navigation/basic_agent.py:81
Methodrun_step
Execute one step of control invoking both lateral and longitudinal PID controllers to reach a target waypoint at a given targ
agents/navigation/controller.py:50
Methodrun_step
Execute one step of longitudinal control to reach a given target speed. :param target_speed: target speed in Km/h :p
agents/navigation/controller.py:114
Methodrun_step
Execute one step of lateral control to steer the vehicle towards a certain waypoin. :param waypoint: target waypoint
agents/navigation/controller.py:172
Methodrun_step
Execute one step of navigation. :return: carla.VehicleControl
agents/navigation/roaming_agent.py:34
Methodrun_step
Execute one step of local planning which involves running the longitudinal and lateral PID controllers to follow the waypoints trajec
agents/navigation/local_planner.py:219
Methodrun_step
(self, input_data, timestamp)
roach/rl_birdview_agent.py:36
Methodselect_scenario
(list_scenarios)
leaderboard/leaderboard/scenarios/route_scenario.py:343
Methodselect_scenario_randomly
(list_scenarios)
leaderboard/leaderboard/scenarios/route_scenario.py:360
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/dummy_agent.py:31
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/human_agent.py:94
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/npc_agent.py:39
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
leaderboard/leaderboard/autoagents/autonomous_agent.py:57
Methodsensors
(self)
leaderboard/team_code/driveadapter_agent.py:262
Methodsensors
(self)
leaderboard/team_code/roach_ap_agent_data_collection.py:237
Methodsensors
(self)
leaderboard/team_code/map_agent.py:11
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/dummy_agent.py:28
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/human_agent.py:115
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/npc_agent.py:36
Methodsensors
Define the sensor suite required by the agent :return: a list containing the required sensors in the following format: [
scenario_runner/srunner/autoagents/autonomous_agent.py:42
Methodset_epoch
(self, epoch)
open_loop_training/code/encoder_decoder_framework.py:178
Methodset_global_plan
Set the plan (route) for the agent
leaderboard/team_code/driveadapter_agent.py:598
Methodset_global_plan
Set the plan (route) for the agent
leaderboard/team_code/roach_ap_agent_data_collection.py:226
Methodset_global_plan
(self, global_plan_gps, global_plan_world_coord, wp=None)
leaderboard/team_code/map_agent.py:23
Methodset_global_plan
Sets new global plan. :param current_plan: list of waypoints in the actual plan
agents/navigation/local_planner_behavior.py:138
Methodset_init_speed
Update the actor's initial speed setting
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:144
Methodset_noise_exist
(self, noise_exist)
roach/utils/expert_noiser.py:107
Methodset_speed
Request new target speed. :param speed: new target speed in km/h
agents/navigation/local_planner_behavior.py:129
Methodsetup
Setup the agent parameters
leaderboard/leaderboard/autoagents/dummy_agent.py:25
Methodsetup
Setup the agent parameters
leaderboard/leaderboard/autoagents/human_agent.py:83
Methodsetup
setup agent
leaderboard/leaderboard/autoagents/ros_agent.py:65
Methodsetup
Setup the agent parameters
leaderboard/leaderboard/autoagents/npc_agent.py:30
Methodsetup
(self, path_to_conf_file)
leaderboard/team_code/auto_pilot.py:105
← previousnext →1,301–1,400 of 1,526, ranked by callers