MCPcopy Create free account

hub / github.com/PJLab-ADG/OASim / functions

Functions516 in github.com/PJLab-ADG/OASim

MethoddrawMapBG
(self)
limsim/simModel/egoTracking/replay.py:149
MethoddrawMapBG
(self)
limsim/simModel/egoTracking/model.py:591
MethoddrawRadarBG
(self)
limsim/simModel/egoTracking/replay.py:110
MethodedgeID
(self)
limsim/simModel/common/carFactory.py:164
Functionedge_probability
(edge)
limsim/networkFiles/CarlaTown05/randomTrips.py:336
Methodedge_width
(self)
limsim/utils/roadgraph.py:51
MethodexportSce
(self)
limsim/simModel/egoTracking/interReplay.py:557
MethodexportSce
(self)
limsim/simModel/egoTracking/model.py:545
MethodexportSce
(self)
limsim/simModel/fixedScene/interReplay.py:435
MethodexportScene
(self)
limsim/simModel/egoTracking/movingScene.py:312
MethodexportScene
(self)
limsim/simModel/fixedScene/localScene.py:266
Functionfrenet_to_cartesian2D
Converts a Frenet coordinate to a 2D Cartesian coordinate. Args: rx (float): x-coordinate of the Frenet coordinate. ry (
limsim/trafficManager/common/coord_conversion.py:19
Methodfrenet_to_cartesian2D
(self, s: float, d: float, s_d: float, d_d: float)
limsim/utils/cubic_spline.py:221
Methodfuture_trajectory
(self)
limsim/utils/obstacles.py:253
MethodgetData
(self)
limsim/simModel/common/networkBuild.py:279
MethodgetNewFrame
(self, rendered, cam)
hmi/run_oasim_gui.py:97
MethodgetNewFrame
(self, rendered, cam)
hmi/run_oasim_gui.py:134
MethodgetNewFrame
(self, timestep)
hmi/run_oasim_gui.py:198
MethodgetNewFrame
(self, timestep)
hmi/dataGenerator/data_generator.py:108
Functionget_lane_id
(vehicle_info, roadgraph)
limsim/trafficManager/common/vehicle.py:429
Functionget_logger
obtain the module's logger name Args: module_name (str): name of the logger. Returns: logging.Logger: the logger object
limsim/logger/logger.py:50
Methodget_x_list
(self)
limsim/utils/cubic_spline.py:131
Methodget_y_list
(self)
limsim/utils/cubic_spline.py:134
Functionguidance
Calculate the guidance cost of a given trajectory. Args: trajectory (Trajectory): The trajectory to evaluate. weight_config
limsim/trafficManager/common/cost.py:101
Functionimg_to_fig
(img: torch.Tensor)
hmi/dataGenerator/data_generator.py:78
Methodin_collision
check if two rectangles intersects (in collision) Args: other_rectangle (Rectangle): another rectangle Returns:
limsim/utils/obstacles.py:51
MethodinsertCommit
(self)
limsim/simModel/common/networkBuild.py:97
Methodiscontroled
(self)
limsim/simModel/common/carFactory.py:109
Functionjerk
Calculate the jerk cost of a given trajectory. Args: trajectory (Trajectory): The trajectory to evaluate. weight_config (dic
limsim/trafficManager/common/cost.py:153
MethodkeyPressEvent
(self, a0)
hmi/run_oasim_gui.py:238
MethodkeyPressEvent
(self, event: QKeyEvent)
hmi/preview/preview_3d.py:182
MethodlaneID
(self)
limsim/simModel/common/carFactory.py:150
MethodlaneIDQueue
(self)
limsim/utils/trajectory.py:210
MethodlanePos
(self)
limsim/simModel/common/carFactory.py:157
MethodlanePosAppend
(self, lanePos: float)
limsim/simModel/common/carFactory.py:408
MethodlanePosQueue
(self)
limsim/utils/trajectory.py:214
Methodlane_id
(self)
limsim/utils/obstacles.py:178
Functionlanechange_trajectory_generator
( vehicle: Vehicle, target_lane: AbstractLane, obs_list, config, T, )
limsim/trafficManager/planner/trajectory_generator.py:48
Functionlanekeeping_trajectory_generator
(vehicle: Vehicle, lanes: list[AbstractLane], obs_list,
limsim/trafficManager/planner/trajectory_generator.py:344
Methodlength
(self)
limsim/utils/obstacles.py:31
Methodmake_decision
( self, observation: Observation, road_graph: RoadGraph, prediction: Predictio
limsim/trafficManager/decision_maker/abstract_decision_maker.py:42
Methodmake_decision
( self, observation: Observation, road_graph: RoadGraph, prediction: Predictio
limsim/trafficManager/decision_maker/abstract_decision_maker.py:53
Methodmake_decision
Implement decision maker here Step 0: Determine if there are any vehicles that require decision-making. Step 1: Extract vehic
limsim/trafficManager/decision_maker/mcts_decision_maker.py:192
Methodmini_maximize
(self)
hmi/run_oasim_gui.py:227
Methodminimize_win
(self)
hmi/run_oasim_gui.py:235
Methodmodel_move_step
(self)
hmi/routeEdit/gui.py:229
MethodmouseMoveEvent
(self, event)
hmi/run_oasim_gui.py:210
MethodmousePressEvent
(self, event)
hmi/run_oasim_gui.py:204
MethodmousePressEvent
(self, event)
hmi/routeEdit/gui.py:110
MethodmouseReleaseEvent
(self, event)
hmi/run_oasim_gui.py:220
MethodmoveStep
(self)
limsim/simModel/egoTracking/interReplay.py:620
MethodmoveStep
(self)
limsim/simModel/egoTracking/replay.py:439
MethodmoveStep
(self)
limsim/simModel/egoTracking/model.py:614
MethodmoveStep
(self)
limsim/simModel/fixedScene/interReplay.py:447
MethodmoveStep
(self)
limsim/simModel/fixedScene/replay.py:251
MethodnextEdgeID
(self)
limsim/simModel/common/carFactory.py:183
Functionobs
Calculate the obstacle cost of a given trajectory. Args: vehicle (Vehicle): The vehicle object. trajectory (Trajectory): The
limsim/trafficManager/common/cost.py:71
Methodon_press
This function is used to detect the key press from the keyboard. When the left arrow key or 'a' is pressed, the global variab
limsim/trafficManager/traffic_manager.py:79
Methodoutput_result
evaluate the scenario evaluation result and output to a dict. Returns: List[List[float]] (5, 2): An array of five elements,
limsim/evaluation/evaluation.py:186
Methodpaint
(self, painter: QPainter, option: QStyleOptionGraphicsItem, widget)
hmi/routeEdit/gui.py:101
MethodpaintEvent
(self, event: QPaintEvent)
hmi/routeEdit/gui.py:317
Methodplan
(self, controlled_observation: Observation, roadgraph: RoadGraph, uncon
limsim/trafficManager/planner/multi_vehicle_planner.py:24
Methodplan
( self, observation: Observation, road_graph: RoadGraph, prediction: Predictio
limsim/trafficManager/planner/abstract_planner.py:23
Methodplan
( self, observation: Observation, road_graph: RoadGraph, prediction: Predictio
limsim/trafficManager/planner/abstract_planner.py:35
Methodplan
(self, ego_veh: Vehicle, observation: Observation, roadgraph: RoadGraph
limsim/trafficManager/planner/ego_vehicle_planner.py:19
MethodplotScene
(self, graphics_items: list, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/egoTracking/movingScene.py:336
MethodplotScene
(self, node: dpg.node, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/fixedScene/localScene.py:289
MethodplotScene
(self, widget: QWidget, ex:float, ey:float, ctf: CoordTF, is_selectable: bool = False)
limsim/simModel/common/networkBuild.py:457
MethodplotSelf
Plots the rectangle shape. Args: node: The node to plot the shape on. ex: The x-coordinate of the observer.
limsim/utils/obstacles.py:78
MethodplotSelf
Plots the circle shape. Args: node: The node to plot the shape on. ex: The x-coordinate of the observer.
limsim/utils/obstacles.py:114
MethodplotVState
(self)
limsim/simModel/egoTracking/replay.py:256
Functionplot_roadgraph
(roadgraph: RoadGraph)
limsim/utils/plotting.py:21
Functionplot_ttc_version_1
(ttc_statistics)
limsim/evaluation/ttc_test.py:11
Functionplot_ttc_version_2
(ttc_statistics)
limsim/evaluation/ttc_test.py:33
Functionplot_ttc_version_3
(ttc_statistics)
limsim/evaluation/ttc_test.py:75
Methodpredict
( self, observation: Observation, roadgraph: RoadGraph, lastseen_vehicles, through_timestep, c
limsim/trafficManager/predictor/simple_predictor.py:19
Functionproject
compute the projection of v1 to v2 Args: v1 (np.ndarray): vector to be projected v2 (np.ndarray): projection vector Returns:
limsim/evaluation/math_utils.py:21
MethodputEvaluationInfo
(self, points: np.ndarray)
limsim/simModel/egoTracking/model.py:429
MethodputFrameInfo
(self, vid: str, vtag: str, veh: Vehicle)
limsim/simModel/fixedScene/interReplay.py:200
FunctionqCleanupResources
()
hmi/resources_rc.py:5819
Methodradius
(self)
limsim/utils/obstacles.py:111
Functionref_waypoints_guidance
Calculate the waypoint reference cost for guidance. Args: trajectory (Trajectory): The trajectory to evaluate. waypoints (li
limsim/trafficManager/common/cost.py:120
Functionrelative_angle
Get the relative angle between ego state and the other state Args: ego_state (EvaluationState): state of ego other_state (Evaluat
limsim/evaluation/collision_statistics.py:206
MethodrouteIdxQueue
(self)
limsim/utils/trajectory.py:218
Methodrun
(self)
hmi/routeEdit/gui.py:71
Methodscreenshot
(self, img_name: str = "screen.png")
hmi/routeEdit/gui.py:286
MethodsetTrajectories
(self, trajectories: dict[str, Trajectory])
limsim/simModel/egoTracking/interReplay.py:337
MethodsetTrajectories
(self, trajectories: dict[str, Trajectory])
limsim/simModel/egoTracking/model.py:510
MethodsetTrajectories
(self, trajectories: dict[str, Trajectory])
limsim/simModel/fixedScene/interReplay.py:301
Functionsetup_app_level_logger
create a logger Args: logger_name (str, optional): name of the logger. Defaults to APP_LOGGER_NAME. level (str, optional): contro
limsim/logger/logger.py:7
Methodshape
(self)
limsim/utils/obstacles.py:174
MethodshowTextOnEdge
(self, signal: Signal, eid: str, text: str, ex:float, ey:float, ctf: CoordTF)
limsim/simModel/common/networkBuild.py:466
MethodsimEnd
(self)
limsim/simModel/fixedScene/model.py:433
Functionsmoothness
Calculate the smoothness cost of a given path. Args: trajectory (Trajectory): The path to evaluate. ref_line (Spline2D): The
limsim/trafficManager/common/cost.py:15
Methodspeed
(self)
limsim/simModel/common/carFactory.py:136
Methodspline_length
(self)
limsim/utils/roadgraph.py:77
MethodstartSimulate
(self)
hmi/routeEdit/gui.py:211
Functionstop
(weight_config)
limsim/trafficManager/common/cost.py:170
Functionstop_trajectory_generator
(vehicle: Vehicle, lanes: list[AbstractLane], obs_
limsim/trafficManager/planner/trajectory_generator.py:128
Functiontime
Calculate the time cost of a given path. Args: path (Path): The path to evaluate. weight_config (dict): The weight configura
limsim/trafficManager/common/cost.py:57
← previousnext →401–500 of 516, ranked by callers