MCPcopy Create free account

hub / github.com/OpenDriveLab/TCP / functions

Functions1,281 in github.com/OpenDriveLab/TCP

↓ 1 callersMethodparse_annotations_file
Return the annotations of which positions where the scenarios are going to happen. :param annotation_filename: the filename for the a
leaderboard/leaderboard/utils/route_parser.py:48
↓ 1 callersMethodparse_annotations_file
Return the annotations of which positions where the scenarios are going to happen. :param annotation_filename: the filename for the a
scenario_runner/srunner/tools/route_parser.py:30
↓ 1 callersFunctionparse_control
Parses a list into a carla.VehicleControl Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:60
↓ 1 callersMethodparse_events
Parse the keyboard events and set the vehicle controls accordingly
leaderboard/leaderboard/autoagents/human_agent.py:192
↓ 1 callersFunctionparse_gears_control
Parses a list into a GearPhysicsControl Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:246
↓ 1 callersMethodparse_input
(self, clock)
scenario_runner/no_rendering_mode.py:1349
↓ 1 callersMethodparse_recorder_info
Parses the recorder into readable information. Args: recorder_info (str): string given by the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:307
↓ 1 callersMethodparse_routes_file
Returns a list of route elements. :param route_filename: the path to a set of routes. :param single_route: If set, only this
leaderboard/leaderboard/utils/route_parser.py:65
↓ 1 callersMethodparse_routes_file
Returns a list of route elements. :param route_filename: the path to a set of routes. :param single_route: If set, only this
scenario_runner/srunner/tools/route_parser.py:48
↓ 1 callersMethodparse_scenario_configuration
Parse all scenario configuration files at srunner/examples and the additional config files, providing a list of ScenarioConfiguration
scenario_runner/srunner/tools/scenario_parser.py:27
↓ 1 callersFunctionparse_scene_lights
Parses a list into a carla.VehicleLightState Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:165
↓ 1 callersFunctionparse_state_times
Parses a list into a dict containing the state times of the traffic lights Args: info (list): list corresponding to a row of the rec
scenario_runner/srunner/metrics/tools/metrics_parser.py:211
↓ 1 callersFunctionparse_traffic_light
Parses a list into a dictionary with all the traffic light's information Args: info (list): list corresponding to a row of the recor
scenario_runner/srunner/metrics/tools/metrics_parser.py:109
↓ 1 callersFunctionparse_transform
Parses a list into a carla.Transform Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:37
↓ 1 callersFunctionparse_vector_list
Parses a list of string into a list of Vector2D Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:228
↓ 1 callersFunctionparse_vehicle_lights
Parses a list into a carla.VehicleLightState Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:80
↓ 1 callersFunctionparse_velocity
Parses a list into a carla.Vector3D with the velocity Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:133
↓ 1 callersMethodparse_weather
Returns a carla.WeatherParameters with the corresponding weather for that route. If the route has no weather attribute, the default o
leaderboard/leaderboard/utils/route_parser.py:100
↓ 1 callersMethodparse_weather
Returns a carla.WeatherParameters with the corresponding weather for that route. If the route has no weather attribute, the default o
scenario_runner/srunner/tools/route_parser.py:83
↓ 1 callersFunctionparse_wheels_control
Parses a list into a WheelsPhysicsControl Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:262
↓ 1 callersMethodparse_xml
Parse route config XML
scenario_runner/srunner/scenarioconfigs/route_scenario_configuration.py:27
↓ 1 callersMethodpeek
(self)
leaderboard/leaderboard/utils/route_indexer.py:37
↓ 1 callersMethodprepare_map
This function set the current map and loads all traffic lights for this map to _traffic_light_map
scenario_runner/srunner/scenariomanager/carla_data_provider.py:250
↓ 1 callersFunctionprettify_json
(args)
leaderboard/scripts/pretty_print_json.py:21
↓ 1 callersMethodproba_distribution_net
(self, latent_dim: int)
roach/models/distributions.py:201
↓ 1 callersMethodprocess_act
(self, action)
leaderboard/team_code/roach_ap_agent.py:510
↓ 1 callersMethodprocess_action
(self, pred, command, speed, target_point)
TCP/model.py:206
↓ 1 callersMethodpublish_camera
Function to publish camera data
leaderboard/leaderboard/autoagents/ros_agent.py:302
↓ 1 callersMethodpublish_camera
Function to publish camera data
scenario_runner/srunner/autoagents/ros_agent.py:301
↓ 1 callersMethodpublish_can
publish can data
leaderboard/leaderboard/autoagents/ros_agent.py:316
↓ 1 callersMethodpublish_can
publish can data
scenario_runner/srunner/autoagents/ros_agent.py:315
↓ 1 callersMethodpublish_gnss
Function to publish gnss data
leaderboard/leaderboard/autoagents/ros_agent.py:286
↓ 1 callersMethodpublish_gnss
Function to publish gnss data
scenario_runner/srunner/autoagents/ros_agent.py:285
↓ 1 callersMethodpublish_hd_map
publish hd map data
leaderboard/leaderboard/autoagents/ros_agent.py:358
↓ 1 callersMethodpublish_hd_map
publish hd map data
scenario_runner/srunner/autoagents/ros_agent.py:357
↓ 1 callersMethodpublish_lidar
Function to publish lidar data
leaderboard/leaderboard/autoagents/ros_agent.py:265
↓ 1 callersMethodpublish_lidar
Function to publish lidar data
scenario_runner/srunner/autoagents/ros_agent.py:264
↓ 1 callersMethodpublish_plan
publish the global plan
leaderboard/leaderboard/autoagents/ros_agent.py:225
↓ 1 callersMethodpublish_plan
publish the global plan
scenario_runner/srunner/autoagents/ros_agent.py:224
↓ 1 callersMethodregister_sensor
(self, tag, sensor_type, sensor)
leaderboard/leaderboard/envs/sensor_interface.py:217
↓ 1 callersMethodregister_sensor
Registers the sensors
scenario_runner/srunner/autoagents/sensor_interface.py:89
↓ 1 callersMethodremove_actors_in_surrounding
Remove all actors from the pool that are closer than distance to the provided location
scenario_runner/srunner/scenariomanager/carla_data_provider.py:754
↓ 1 callersMethodrender_actors
(self, surface, vehicles, traffic_lights, speed_limits, walkers)
scenario_runner/no_rendering_mode.py:1111
↓ 1 callersMethodrender_vehicles_ids
(self, vehicle_id_surface, list_actors, world_to_pixel, hero_actor, hero_transform)
scenario_runner/no_rendering_mode.py:320
↓ 1 callersFunctionrepeatable_behavior
This behaviour allows a composite with oneshot ancestors to run multiple times, resetting the oneshot variables after each execution
scenario_runner/srunner/scenarios/open_scenario.py:25
↓ 1 callersMethodrequest_new_actors
This method tries to series of actor in batch. If this was successful, the new actors are returned, None otherwise. param:
scenario_runner/srunner/scenariomanager/carla_data_provider.py:578
↓ 1 callersMethodreset_lights
Reset traffic lights
scenario_runner/srunner/scenariomanager/carla_data_provider.py:360
↓ 1 callersMethodresidual
(self, x)
roach/models/torch_util.py:56
↓ 1 callersFunctionresnet34
r"""ResNet-34 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_. Args: pretrained (
TCP/resnet.py:280
↓ 1 callersMethodrestart
(self)
scenario_runner/manual_control.py:85
↓ 1 callersMethodrestart
Reset game timer to 0
scenario_runner/srunner/scenariomanager/timer.py:47
↓ 1 callersFunctionrot_global_to_ref
(target_rot_in_global, ref_rot_in_global)
roach/utils/transforms.py:36
↓ 1 callersFunctionrot_to_mat
(roll, pitch, yaw)
TCP/data.py:217
↓ 1 callersMethodrun
Run the challenge mode
leaderboard/leaderboard/leaderboard_evaluator.py:431
↓ 1 callersMethodrun
(self)
leaderboard/leaderboard/envs/sensor_interface.py:62
↓ 1 callersMethodrun
Run all scenarios according to provided commandline args
scenario_runner/scenario_runner.py:477
↓ 1 callersMethodrun_interface
Run the GUI
leaderboard/leaderboard/autoagents/human_agent.py:56
↓ 1 callersMethodrun_scenario
Trigger the start of the scenario and wait for it to finish/fail
leaderboard/leaderboard/scenarios/scenario_manager.py:119
↓ 1 callersMethodrun_scenario
Trigger the start of the scenario and wait for it to finish/fail
scenario_runner/srunner/scenariomanager/scenario_manager.py:114
↓ 1 callersMethodrun_step
Execute one step of navigation. :return: control
leaderboard/leaderboard/autoagents/autonomous_agent.py:79
↓ 1 callersMethodrun_step
(self, input_data, timestamp)
leaderboard/team_code/roach_ap_agent.py:304
↓ 1 callersMethodrun_step
(self, input_data, timestamp)
leaderboard/team_code/tcp_agent.py:170
↓ 1 callersMethodrun_step
Execute one step of navigation. :return: control
scenario_runner/srunner/autoagents/autonomous_agent.py:64
↓ 1 callersMethodsample
(self)
roach/models/distributions.py:100
↓ 1 callersMethodsample
(self)
roach/models/distributions.py:162
↓ 1 callersMethodsave
(self, near_node, far_node, near_command, far_command, tick_data, supervision_dict, render_img, should_brake)
leaderboard/team_code/roach_ap_agent.py:440
↓ 1 callersMethodsave_entry_status
(entry_status, eligible, endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:330
↓ 1 callersFunctionsave_from_dict
Creates a mini json with the data from the scenario waypoint. used to copy paste it to the .json
leaderboard/scripts/set_new_scenarios.py:64
↓ 1 callersFunctionsave_from_wp
Creates a mini json with the data from the scenario location. used to copy paste it to the .json
leaderboard/scripts/set_new_scenarios.py:45
↓ 1 callersMethodsave_global_record
(route_record, sensors, total_routes, endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:258
↓ 1 callersMethodsave_record
(route_record, index, endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:240
↓ 1 callersMethodsave_sensors
(sensors, endpoint)
leaderboard/leaderboard/utils/statistics_manager.py:319
↓ 1 callersMethodscale_action
(self, action: th.Tensor, eps=1e-7)
roach/models/ppo_policy.py:182
↓ 1 callersMethodscale_map
(self, scale)
scenario_runner/no_rendering_mode.py:771
↓ 1 callersMethodscan_route_for_scenarios
Just returns a plain list of possible scenarios that can happen in this route by matching the locations from the scenario into the ro
leaderboard/leaderboard/utils/route_parser.py:297
↓ 1 callersMethodscan_route_for_scenarios
Just returns a plain list of possible scenarios that can happen in this route by matching the locations from the scenario into the ro
scenario_runner/srunner/tools/route_parser.py:263
↓ 1 callersMethodsensors
(self)
leaderboard/team_code/base_agent.py:83
↓ 1 callersMethodset_ego
Set the ego vehicle
scenario_runner/srunner/scenariomanager/carla_data_provider.py:177
↓ 1 callersMethodset_global_parameters
Set global_osc_parameter dictionary Args: parameter_dict (Dictionary): Input for global_osc_parameter
scenario_runner/srunner/tools/openscenario_parser.py:189
↓ 1 callersMethodset_init_speed
Set _init_speed to True
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:75
↓ 1 callersMethodset_noise
(self)
roach/utils/expert_noiser.py:26
↓ 1 callersMethodset_osc_filepath
Set path of OSC file. This is required if for example custom commands are provided with relative paths.
scenario_runner/srunner/tools/openscenario_parser.py:130
↓ 1 callersMethodset_route
(self, route_id, index)
leaderboard/leaderboard/utils/statistics_manager.py:99
↓ 1 callersMethodset_scenario
Sets the scenario from which the statistics willb e taken
leaderboard/leaderboard/utils/statistics_manager.py:112
↓ 1 callersMethodset_text
(self, text, color=COLOR_WHITE, seconds=2.0)
scenario_runner/no_rendering_mode.py:234
↓ 1 callersMethodset_use_carla_coordinate_system
CARLA internally uses a left-hand coordinate system (Unreal), but OpenSCENARIO and OpenDRIVE are intended for right-hand coordinate s
scenario_runner/srunner/tools/openscenario_parser.py:138
↓ 1 callersMethodsetup
setup agent
leaderboard/leaderboard/autoagents/ros_agent.py:65
↓ 1 callersMethodsetup
Initialize everything needed by your agent and set the track attribute to the right type: Track.SENSORS : CAMERAS, LIDAR, RADAR,
leaderboard/leaderboard/autoagents/autonomous_agent.py:49
↓ 1 callersMethodsetup
setup agent
scenario_runner/srunner/autoagents/ros_agent.py:65
↓ 1 callersMethodsetup
Initialize everything needed by your agent and set the track attribute to the right type:
scenario_runner/srunner/autoagents/autonomous_agent.py:36
↓ 1 callersMethodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
leaderboard/leaderboard/autoagents/agent_wrapper.py:84
↓ 1 callersMethodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
scenario_runner/srunner/autoagents/agent_wrapper.py:41
↓ 1 callersMethodsignal_handler
Terminate scenario ticking when receiving a signal interrupt
leaderboard/leaderboard/scenarios/scenario_manager.py:82
↓ 1 callersMethodstart_caching
(self, batch_size)
roach/models/ppo_buffer.py:243
↓ 1 callersMethodstart_modules
(self)
scenario_runner/no_rendering_mode.py:216
↓ 1 callersMethodstop_scenario
This function triggers a proper termination of a scenario
leaderboard/leaderboard/scenarios/scenario_manager.py:191
↓ 1 callersMethodstop_scenario
This function is used by the overall signal handler to terminate the scenario execution
scenario_runner/srunner/scenariomanager/scenario_manager.py:194
↓ 1 callersMethodtick
(self, input_data, timestamp)
leaderboard/team_code/roach_ap_agent.py:227
↓ 1 callersFunctionto_route_record
(record_dict)
leaderboard/leaderboard/utils/statistics_manager.py:55
↓ 1 callersMethodtoggle
(self)
scenario_runner/no_rendering_mode.py:270
← previousnext →501–600 of 1,281, ranked by callers