MCPcopy Create free account

hub / github.com/Thinklab-SJTU/Bench2Drive / functions

Functions1,781 in github.com/Thinklab-SJTU/Bench2Drive

Methodset_init_speed
Update the actor's initial speed setting
scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py:170
Methodset_score_penalty
(score_penalty)
leaderboard/leaderboard/utils/statistics_manager.py:352
Methodsetup
Setup the agent parameters
leaderboard/leaderboard/autoagents/dummy_agent.py:25
Methodsetup
Setup the agent parameters
leaderboard/leaderboard/autoagents/human_agent.py:104
Methodsetup
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:51
Methodsetup
Setup the agent parameters
scenario_runner/srunner/autoagents/dummy_agent.py:23
Methodsetup
Setup the agent parameters
scenario_runner/srunner/autoagents/human_agent.py:81
Methodsetup
setup agent
scenario_runner/srunner/autoagents/ros_agent.py:65
Methodsetup
Setup the agent parameters
scenario_runner/srunner/autoagents/npc_agent.py:28
Methodsetup
Default setup
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:60
Methodsetup_sensors
Create the sensors defined by the user and attach them to the ego-vehicle :param vehicle: ego vehicle :return:
tools/data_collect.py:396
Methodsetup_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:300
Methodspawn_object
(self, type_, id_, transform, attributes, attach_to=0)
leaderboard/leaderboard/autoagents/ros1_agent.py:107
Methodspawn_object
(self, type_, id_, transform, attributes, attach_to=0)
leaderboard/leaderboard/autoagents/ros_base_agent.py:168
Methodstart
(self)
scenario_runner/no_rendering_mode.py:836
Methodstart
(self)
scenario_runner/no_rendering_mode.py:1254
Methodterminate
Terminate and mark Blackboard entry with END
scenario_runner/srunner/scenarios/open_scenario.py:110
Methodterminate
Destroy all actors
scenario_runner/srunner/scenarios/background_activity.py:344
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:73
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:133
Methodterminate
On termination of this behavior, set the target speed to its desired one. This function is called several times, so the use of self._
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:695
Methodterminate
On termination of this behavior, the offset is set back to zero
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1182
Methodterminate
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:1485
Methodterminate
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:1677
Methodterminate
Destroy the collision sensor of the agent
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:1767
Methodterminate
Resets the control
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2017
Methodterminate
Resets the control
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2081
Methodterminate
Resets the control
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2155
Methodterminate
On termination of this behavior, the controls should be set back to 0.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:2428
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3137
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3252
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3395
Methodterminate
Reset all traffic lights back to their previous states
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3497
Methodterminate
Default terminate. Can be extended in derived class
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4179
Methodterminate
Modifies the blackboard to tell the `ScenarioTimeoutTest` if the timeout was triggered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:4316
Methodterminate
Set final status
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:193
Methodterminate
Set final status
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:272
Methodterminate
Cleanup sensor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:349
Methodterminate
Cleanup sensor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:517
Methodterminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:924
Methodterminate
If there is currently an event running, it is registered
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1292
Methodterminate
Set test status to failure if not successful and terminate
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1606
Methodterminate
Set the actual value as a percentage of the two mean speeds, the test status to failure if not successful and terminate
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:2075
Methodterminate
Set the traffic event, if needed
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:2138
Methodterminate
check the blackboard for the data and update the criteria if one found
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:2177
Methodtest_all_xosc
Load all examples OpenSCENARIO files
scenario_runner/srunner/tests/test_xosc_load.py:25
Functionthreaded
(fn)
leaderboard/leaderboard/envs/sensor_interface.py:16
Methodtick
(self, _, clock)
scenario_runner/manual_control.py:523
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:201
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:241
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:914
Methodtick
(self, clock)
scenario_runner/no_rendering_mode.py:1261
Methodtip
Get the *tip* of this behaviour's subtree (if it has one) after it's last tick. This corresponds to the the deepest node that was run
scenario_runner/srunner/tools/py_trees_port.py:91
Methodto_json
Return a JSON serializable object
leaderboard/leaderboard/utils/statistics_manager.py:96
Methodto_json
Return a JSON serializable object
leaderboard/leaderboard/utils/statistics_manager.py:125
Methodto_json
Return a JSON serializable object
leaderboard/leaderboard/utils/statistics_manager.py:136
Methodtoggle
(self)
scenario_runner/manual_control.py:554
Methodupdate
(self)
scenario_runner/srunner/tools/background_manager.py:36
Methodupdate
(self)
scenario_runner/srunner/tools/background_manager.py:59
Methodupdate
(self)
scenario_runner/srunner/tools/background_manager.py:83
Methodupdate
(self)
scenario_runner/srunner/tools/background_manager.py:113
Methodupdate
(self)
scenario_runner/srunner/tools/background_manager.py:127
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:140
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:153
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:168
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:182
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:201
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:219
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:249
Methodupdate
Updates the blackboard and succeds
scenario_runner/srunner/tools/background_manager.py:279
Methodupdate
Reflect the decorated child's status Returns: the decorated child's status
scenario_runner/srunner/scenarios/open_scenario.py:103
Methodupdate
(self)
scenario_runner/srunner/scenarios/background_activity.py:302
Methodupdate
Get current game time, and compare it to the timeout value Upon successfully comparison using the provided comparison_operator,
scenario_runner/srunner/scenariomanager/timer.py:115
Methodupdate
Get current game time, and compare it to the timeout value Upon successfully comparison using the provided comparison_operator,
scenario_runner/srunner/scenariomanager/timer.py:208
Methodupdate
Reset the watchdog.
scenario_runner/srunner/scenariomanager/watchdog.py:68
Methodupdate
Check if new weather settings are available on the blackboard, and if yes fetch these into the _weather attribute. Apply the
scenario_runner/srunner/scenariomanager/weather_sim.py:125
Methodupdate
Check the location of the ego vehicle, updating the weather if it has advanced through the route
scenario_runner/srunner/scenariomanager/weather_sim.py:275
Methodupdate
Turns on / off all the lghts around a radius of the ego vehicle
scenario_runner/srunner/scenariomanager/lights_sim.py:51
Methodupdate
Check if actor is in trigger distance
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:118
Methodupdate
Check if actor can arrive within trigger time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:183
Methodupdate
Gets the speed of the two actors and compares them according to the comparison operator returns: py_trees.common.Status.
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:300
Methodupdate
Gets the speed of the actor and compares it with the reference one returns: py_trees.common.Status.RUNNING when the comp
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:347
Methodupdate
Gets the accleration of the actor and compares it with the reference one returns: py_trees.common.Status.RUNNING when th
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:391
Methodupdate
Gets the time of day of the simulation and compares it with the reference one returns: py_trees.common.Status.RUNNING wh
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:436
Methodupdate
Check if the specified story element has started/ended since the beginning of the condition
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:492
Methodupdate
Check if the _actor location is within trigger region
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:535
Methodupdate
Check if the ego vehicle is within trigger distance to other actor
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:593
Methodupdate
Check if the actor is within trigger distance to the target location
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:647
Methodupdate
Check if the actor is within trigger distance to the intersection
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:698
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:745
Methodupdate
Check if the actor can arrive at target_location within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:794
Methodupdate
Check if the ego vehicle can arrive at other actor within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:859
Methodupdate
Check if the ego vehicle can arrive at other actor within time
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:957
Methodupdate
Checks if the two actors meet the requirements
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1018
Methodupdate
Checks if the two actors meet the requirements
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1086
Methodupdate
Check driven distance
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1139
Methodupdate
Check actor waypoints
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1179
Methodupdate
Set status to SUCCESS, when traffic light state matches the expected one
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1223
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1256
Methodupdate
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py:1301
← previousnext →1,601–1,700 of 1,781, ranked by callers