Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/TCP
/ functions
Functions
1,281 in github.com/OpenDriveLab/TCP
⨍
Functions
1,281
◇
Types & classes
231
↓ 2 callers
Method
get_last_waypoint_command
Get timestamp of the last issued waypoint control command returns: Timestamp of last waypoint control command
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:135
↓ 2 callers
Function
get_nearby_lights
(vehicle, lights, pixels_per_meter=5.5, size=512, radius=5)
leaderboard/team_code/map_agent.py:55
↓ 2 callers
Method
get_noise
(self)
roach/utils/expert_noiser.py:37
↓ 2 callers
Method
get_noise_removing
(self)
roach/utils/expert_noiser.py:51
↓ 2 callers
Method
get_running_status
returns: bool: False if watchdog exception occured, True otherwise
scenario_runner/srunner/scenariomanager/scenario_manager.py:187
↓ 2 callers
Method
get_total_frame_count
Returns an int with the total amount of frames the simulation lasted.
scenario_runner/srunner/metrics/tools/metrics_log.py:52
↓ 2 callers
Method
get_traffic_light_from_osc_name
Returns a carla.TrafficLight instance that matches the name given
scenario_runner/srunner/tools/openscenario_parser.py:98
↓ 2 callers
Method
get_weather_from_env_action
Extract the CARLA weather parameters from an OSC EnvironmentAction Args: xml_tree: Containing the EnvironmentAction,
scenario_runner/srunner/tools/openscenario_parser.py:289
↓ 2 callers
Method
handle_actor_batch
Forward a CARLA command batch to spawn actors to CARLA, and gather the responses. Returns list of actors on success, none otherwise
scenario_runner/srunner/scenariomanager/carla_data_provider.py:498
↓ 2 callers
Method
initialise
Initialize the start time of this condition
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:254
↓ 2 callers
Method
initialise
Initialise the criterion. Can be extended by the user-derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:67
↓ 2 callers
Method
is_actor_affected_by_stop
Check if the given actor is affected by the stop
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1935
↓ 2 callers
Method
is_affected_by_stop
Check if the given actor is affected by the stop
roach/criteria/run_stop_sign.py:94
↓ 2 callers
Method
is_time_for_noise
(self, steer)
roach/utils/expert_noiser.py:63
↓ 2 callers
Method
length
(v)
scenario_runner/no_rendering_mode.py:170
↓ 2 callers
Method
make_surface
(tl)
scenario_runner/no_rendering_mode.py:400
↓ 2 callers
Function
parse_bounding_box
Parses a list into a carla.BoundingBox Args: info (list): list corresponding to a row of the recorder
scenario_runner/srunner/metrics/tools/metrics_parser.py:187
↓ 2 callers
Method
parse_events
Parse the keyboard events and set the vehicle controls accordingly
scenario_runner/srunner/autoagents/human_agent.py:180
↓ 2 callers
Method
passed_enough_time
Returns true or false depending on the time that has passed from the first time this function was called
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2261
↓ 2 callers
Method
point_inside_boundingbox
X :param point: :param bb_center: :param bb_extent: :return:
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1910
↓ 2 callers
Method
point_inside_boundingbox
X :param point: :param bb_center: :param bb_extent: :return:
roach/criteria/run_stop_sign.py:131
↓ 2 callers
Method
proba_distribution
(self, alpha, beta)
roach/models/distributions.py:220
↓ 2 callers
Method
process_act
(action, acc_as_action, train=True)
roach/utils/rl_birdview_wrapper.py:124
↓ 2 callers
Method
process_obs
(obs, input_states, train=True)
roach/utils/rl_birdview_wrapper.py:90
↓ 2 callers
Method
remove_actor_by_id
Remove an actor from the pool using its ID
scenario_runner/srunner/scenariomanager/carla_data_provider.py:742
↓ 2 callers
Function
remove_files
(root, index, items = {"bev":".png", "meta":".json", "rgb":".png", "supervision":".npy"})
tools/filter_data.py:6
↓ 2 callers
Method
render
(self)
roach/models/ppo_buffer.py:195
↓ 2 callers
Method
reset
Pure virtual function to reset the controller. This should be implemented in the user-defined agent implementation.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:90
↓ 2 callers
Method
reset
(world)
roach/utils/traffic_light.py:89
↓ 2 callers
Method
resume
(self, endpoint)
leaderboard/leaderboard/utils/route_indexer.py:49
↓ 2 callers
Method
rotozoom
(self, angle, scale)
scenario_runner/no_rendering_mode.py:424
↓ 2 callers
Method
sample
(self)
roach/models/distributions.py:251
↓ 2 callers
Method
save
(self, tick_data)
leaderboard/team_code/tcp_agent.py:259
↓ 2 callers
Method
save_state
(self, endpoint)
leaderboard/leaderboard/utils/route_indexer.py:66
↓ 2 callers
Method
select_hero_actor
(self)
scenario_runner/no_rendering_mode.py:888
↓ 2 callers
Method
sensors
Define the sensor suite required by the agent :return: a list containing the required sensors
scenario_runner/srunner/autoagents/ros_agent.py:247
↓ 2 callers
Method
set_client
Set the CARLA client
scenario_runner/srunner/scenariomanager/carla_data_provider.py:163
↓ 2 callers
Method
set_ego_vehicle_route
Set the route of the ego vehicle @todo extend ego_vehicle_route concept to support multi ego_vehicle scenarios
scenario_runner/srunner/scenariomanager/carla_data_provider.py:408
↓ 2 callers
Method
set_global_plan
Set the plan (route) for the agent
leaderboard/leaderboard/autoagents/autonomous_agent.py:120
↓ 2 callers
Method
set_traffic_manager_port
Set the port to use for the traffic manager.
scenario_runner/srunner/scenariomanager/carla_data_provider.py:775
↓ 2 callers
Method
setup
(self, path_to_conf_file)
roach/rl_birdview_agent.py:17
↓ 2 callers
Method
show
(self)
leaderboard/team_code/planner.py:29
↓ 2 callers
Method
step
(self, error)
leaderboard/team_code/pid_controller.py:16
↓ 2 callers
Method
step
(self, error)
TCP/model.py:18
↓ 2 callers
Method
terminate
This function sets the status of all leaves in the scenario tree to INVALID
scenario_runner/srunner/scenarios/basic_scenario.py:288
↓ 2 callers
Method
train
(self)
roach/models/ppo.py:103
↓ 2 callers
Function
transform_to_pos_vec
Convert left/right/front to a meaningful CARLA position
leaderboard/leaderboard/scenarios/route_scenario.py:141
↓ 2 callers
Function
transform_to_pos_vec
Convert left/right/front to a meaningful CARLA position
scenario_runner/srunner/scenarios/route_scenario.py:104
↓ 2 callers
Method
update
If the weather animation is true, the new sun position is calculated w.r.t delta_time Nothing happens if animation or datetime are N
scenario_runner/srunner/scenariomanager/weather_sim.py:71
↓ 2 callers
Method
update_waypoints
Update the actor's waypoints Args: waypoints (List of carla.Transform): List of new waypoints.
scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py:65
↓ 1 callers
Method
__call__
(self)
leaderboard/leaderboard/envs/sensor_interface.py:58
↓ 1 callers
Method
__init__
Setup all relevant parameters and create scenario and instantiate scenario manager
scenario_runner/srunner/scenarios/junction_crossing_route.py:40
↓ 1 callers
Method
__init__
Setup all relevant parameters and create scenario
scenario_runner/srunner/scenarios/object_crash_vehicle.py:144
↓ 1 callers
Method
__init__
Setup all relevant parameters and create scenario If randomize is True, the scenario parameters are randomized
scenario_runner/srunner/scenarios/follow_leading_vehicle.py:52
↓ 1 callers
Method
__init__
Setup timeout
scenario_runner/srunner/scenariomanager/timer.py:141
↓ 1 callers
Method
__init__
Class constructor
scenario_runner/srunner/scenariomanager/weather_sim.py:51
↓ 1 callers
Method
__init__
(self, inchan, nblock, outchan, scale=1, pool=True, **kwargs)
roach/models/torch_util.py:79
↓ 1 callers
Method
__init__
(self, observation_space, features_dim=256, states_neurons=[256])
roach/models/torch_layers.py:15
↓ 1 callers
Method
_analyze_scenario
Provide feedback about success/failure of a scenario
scenario_runner/scenario_runner.py:234
↓ 1 callers
Method
_build
(self)
roach/models/ppo_policy.py:66
↓ 1 callers
Method
_build_scenario_instances
Based on the parsed route and possible scenarios, build all the scenario classes.
leaderboard/leaderboard/scenarios/route_scenario.py:388
↓ 1 callers
Method
_build_scenario_instances
Based on the parsed route and possible scenarios, build all the scenario classes.
scenario_runner/srunner/scenarios/route_scenario.py:302
↓ 1 callers
Method
_calculate_base_transform
(self, _start_distance, waypoint)
scenario_runner/srunner/scenarios/object_crash_vehicle.py:179
↓ 1 callers
Method
_calculate_speed
(carla_velocity)
roach/criteria/run_stop_sign.py:127
↓ 1 callers
Method
_calculate_speed
(carla_velocity)
roach/criteria/blocked.py:29
↓ 1 callers
Method
_check_version
Ensure correct OpenSCENARIO version is used
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:95
↓ 1 callers
Method
_compute_scale
(self, scale_factor)
scenario_runner/no_rendering_mode.py:1126
↓ 1 callers
Method
_count_collisions
Callback to update collision count
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:365
↓ 1 callers
Method
_count_lane_invasion
Callback to update lane invasion count
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:563
↓ 1 callers
Method
_create_behavior
Pure virtual function to setup user-defined scenario behavior
scenario_runner/srunner/scenarios/basic_scenario.py:171
↓ 1 callers
Method
_create_environment_behavior
(self)
scenario_runner/srunner/scenarios/open_scenario.py:196
↓ 1 callers
Method
_create_init_behavior
(self)
scenario_runner/srunner/scenarios/open_scenario.py:211
↓ 1 callers
Method
_create_metric
Pure virtual function to setup the metrics by the user. Args: town_map (carla.Map): Map of the simulation. Used to acces
scenario_runner/srunner/metrics/examples/basic_metric.py:31
↓ 1 callers
Method
_create_test_criteria
Pure virtual function to setup user-defined evaluation criteria for the scenario
scenario_runner/srunner/scenarios/basic_scenario.py:179
↓ 1 callers
Method
_draw_waypoints
Draw a list of waypoints at a certain height given in vertical_shift.
leaderboard/leaderboard/scenarios/route_scenario.py:280
↓ 1 callers
Method
_draw_waypoints
Draw a list of waypoints at a certain height given in vertical_shift.
scenario_runner/srunner/scenarios/route_scenario.py:234
↓ 1 callers
Method
_estimate_route_timeout
Estimate the duration of the route
leaderboard/leaderboard/scenarios/route_scenario.py:265
↓ 1 callers
Method
_estimate_route_timeout
Estimate the duration of the route
scenario_runner/srunner/scenarios/route_scenario.py:219
↓ 1 callers
Method
_forward_impl
(self, x: Tensor)
TCP/resnet.py:230
↓ 1 callers
Method
_get_actor_transform
Get the initial actor transform provided by the Init section Note: - The OpenScenario specification allows multiple definitions. We
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:304
↓ 1 callers
Method
_get_actors_instances
Get the full list of actor instances.
leaderboard/leaderboard/scenarios/route_scenario.py:443
↓ 1 callers
Method
_get_actors_instances
Get the full list of actor instances.
scenario_runner/srunner/scenarios/route_scenario.py:361
↓ 1 callers
Method
_get_camera_to_car_calibration
returns the calibration matrix for the given sensor Args: sensor ([type]): [description] Returns: [type]: [d
leaderboard/team_code/base_agent.py:924
↓ 1 callers
Method
_get_control
(self, target, far_target, tick_data)
leaderboard/team_code/auto_pilot.py:131
↓ 1 callers
Method
_get_criteria
Parses the criteria argument into a dictionary
scenario_runner/metrics_manager.py:81
↓ 1 callers
Method
_get_data_from_carla
(self)
scenario_runner/no_rendering_mode.py:819
↓ 1 callers
Method
_get_forward_speed
Convert the vehicle transform directly to forward speed
leaderboard/leaderboard/envs/sensor_interface.py:96
↓ 1 callers
Method
_get_forward_speed
Convert the vehicle transform directly to forward speed
leaderboard/team_code/auto_pilot.py:228
↓ 1 callers
Method
_get_history_masks
(self, M_warp)
roach/obs_manager/birdview/chauffeurnet.py:195
↓ 1 callers
Method
_get_init_kwargs
(self)
roach/models/ppo.py:249
↓ 1 callers
Function
_get_latlon_ref
Convert from waypoints world coordinates to CARLA GPS coordinates :return: tuple with lat and lon coordinates
leaderboard/leaderboard/utils/route_manipulation.py:61
↓ 1 callers
Function
_get_latlon_ref
Convert from waypoints world coordinates to CARLA GPS coordinates :return: tuple with lat and lon coordinates
scenario_runner/srunner/tools/route_manipulation.py:62
↓ 1 callers
Method
_get_metric_class
Function to extract the metrics class from the path given by the metrics argument. Returns the first class found that is a child of B
scenario_runner/metrics_manager.py:93
↓ 1 callers
Method
_get_position
(self, tick_data)
leaderboard/team_code/base_agent.py:77
↓ 1 callers
Method
_get_recorder
Parses the log argument into readable information
scenario_runner/metrics_manager.py:60
↓ 1 callers
Method
_get_recorder_map
Returns the name of the map the simulation took place in
scenario_runner/metrics_manager.py:116
↓ 1 callers
Method
_get_samples
(self, batch_inds: np.ndarray)
roach/models/ppo_buffer.py:166
↓ 1 callers
Method
_get_scenario_class_or_fail
Get scenario class by scenario name If scenario is not supported or not found, exit script
scenario_runner/scenario_runner.py:138
↓ 1 callers
Method
_get_stops
(criteria_stop)
roach/obs_manager/birdview/chauffeurnet.py:76
↓ 1 callers
Function
_get_traffic_light_waypoints
get area of a given traffic light adapted from "carla-simulator/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py"
roach/utils/traffic_light.py:7
← previous
next →
201–300 of 1,281, ranked by callers