MCPcopy Create free account

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

Functions516 in github.com/PJLab-ADG/OASim

↓ 38 callersMethodget_lane_by_id
(self, lane_id: str)
limsim/utils/roadgraph.py:175
↓ 18 callersMethodgetJunction
(self, jid: str)
limsim/simModel/common/networkBuild.py:64
↓ 17 callersMethodgetJunctionLane
(self, jlid: str)
limsim/simModel/common/networkBuild.py:70
↓ 17 callersMethodgetLane
(self, lid: str)
limsim/simModel/common/networkBuild.py:58
↓ 16 callersMethodgetEdge
(self, eid: str)
limsim/simModel/common/networkBuild.py:52
↓ 15 callersMethodcalc_position
Given frenet coordinate (pos_s, 0), compute its cartesian coordinate. Args: pos_s (float): longitudinal coordinate Retur
limsim/utils/cubic_spline.py:137
↓ 15 callersMethodplotSelf
(self, vtag: str, widget: QWidget, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/common/carFactory.py:333
↓ 13 callersMethodcalc_yaw
compute the yaw angle in frenet coordinate (pos_s, 0) Args: pos_s (float): longitudinal coordinate Returns:
limsim/utils/cubic_spline.py:190
↓ 12 callersMethodfrenet_to_cartesian
(self, lanes: list[AbstractLane], init_state: State)
limsim/utils/trajectory.py:246
↓ 11 callersMethodcartesian_to_frenet1D
Given the cartesian coordinate (pos_x, pos_y), computes its frenet coordinate Args: pos_x (float): x coordinate pos_y
limsim/utils/cubic_spline.py:230
↓ 11 callersMethodqtCoord
( self, x: float, y: float, ex: float, ey: float)
limsim/utils/simBase.py:34
↓ 10 callersMethodexport2Dict
(self, nb: NetworkBuild | Rebuild)
limsim/simModel/common/carFactory.py:323
↓ 10 callersMethodleft_lane
(self)
limsim/utils/roadgraph.py:103
↓ 10 callersMethodright_lane
(self)
limsim/utils/roadgraph.py:112
↓ 9 callersMethodfrenet_to_cartesian1D
Given the frenet coordinate (pos_s, pos_d), compute its cartesian coordinate Args: pos_s (float): longitudinal coordinate
limsim/utils/cubic_spline.py:204
↓ 9 callersMethodget
(self)
limsim/networkFiles/CarlaTown05/randomTrips.py:281
↓ 8 callersMethodcalc_curvature
compute the curvature at position (pos_s, 0) Args: pos_s (float): longitudinal coordinate Returns: float: cu
limsim/utils/cubic_spline.py:151
↓ 8 callersMethodplotTrajectory
(self, widget: QWidget, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/common/carFactory.py:367
↓ 8 callersMethody
(self)
limsim/simModel/common/carFactory.py:129
↓ 7 callersMethodarriveDestination
(self, nb: NetworkBuild | Rebuild)
limsim/simModel/common/carFactory.py:198
↓ 7 callersMethoddestroy
(self)
limsim/simModel/fixedScene/model.py:445
↓ 7 callersMethodmoveStep
(self)
limsim/simModel/fixedScene/model.py:439
↓ 7 callersMethodsetTrajectories
(self, trajectories: dict[str, Trajectory])
limsim/simModel/fixedScene/model.py:408
↓ 7 callersMethodstart
(self)
limsim/simModel/fixedScene/model.py:252
↓ 7 callersMethodx
(self)
limsim/simModel/common/carFactory.py:121
↓ 6 callersMethodbuildTopology
(self)
limsim/simModel/common/networkBuild.py:638
↓ 6 callersMethodcalculate_derivative
Given x coordinate, use Spline to approximate dy/dx at x Args: pos_x (float): x coordinate Returns: float: a
limsim/utils/cubic_spline.py:53
↓ 6 callersMethodexitControlMode
(self)
limsim/simModel/common/carFactory.py:284
↓ 6 callersMethodgetData
(self)
limsim/simModel/common/networkBuild.py:503
↓ 6 callersMethodget_available_next_lane
(self, lane_id: str, available_lanes: list[str])
limsim/utils/roadgraph.py:197
↓ 6 callersMethodget_state_in_lane
(self, lane)
limsim/trafficManager/common/vehicle.py:112
↓ 6 callersMethodplotDBTrajectory
(self, widget: QWidget, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/common/carFactory.py:381
↓ 6 callersMethodupdate
(self, reward)
limsim/trafficManager/decision_maker/mcts/mcts.py:37
↓ 5 callersMethoddrawPolyline
(self, points: list[QPointF], color: QColor, width: int = 1)
hmi/routeEdit/gui.py:374
↓ 5 callersMethodexportSce
(self)
limsim/simModel/fixedScene/model.py:424
↓ 5 callersMethodplan
This function plans the trajectories of vehicles in a given roadgraph. It takes in the total time T, the roadgraph, and the vehicles
limsim/trafficManager/traffic_manager.py:96
↓ 5 callersMethodplotEdge
edge: 某个方向几条车道的集合
limsim/simModel/common/networkBuild.py:380
↓ 5 callersMethodplotJunction
( self, jid: str, widget: QWidget, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/common/networkBuild.py:447
↓ 5 callersMethodrender
(self)
limsim/simModel/fixedScene/model.py:427
↓ 5 callersMethodstart
(self)
hmi/routeEdit/gui.py:265
↓ 5 callersMethodwidth
(self)
limsim/utils/obstacles.py:35
↓ 4 callersMethod__init__
(self, radius: float)
limsim/utils/obstacles.py:106
↓ 4 callersMethodcalculate_second_derivative
Given x coordinate, use Spline to approximate d^2y/dx^2 at x Args: pos_x (float): x coordinate Returns: floa
limsim/utils/cubic_spline.py:71
↓ 4 callersFunctioncheck_collsion_new
Check if there is a collision between ego vehicle and obstacle. Args: ego_center (np.ndarray): The center coordinates of the ego veh
limsim/trafficManager/common/obstacle_cost.py:33
↓ 4 callersFunctiondeduceEdge
(laneID: str)
limsim/utils/simBase.py:43
↓ 4 callersMethoddrawPolygon
( self, points: list[QPointF], pen_color: QColor, brush_color: QColor = QColor
hmi/routeEdit/gui.py:386
↓ 4 callersMethodfind_nearest_rs
find the closest frenet coordinate on reference line, i.e. argmin_{s} (x(s, 0) - pos_x)^2 + (y(s, 0) - pos_y)^2 where x(s, 0), y
limsim/utils/cubic_spline.py:261
↓ 4 callersMethodgetLaneLevelRoute
(self, nb: NetworkBuild)
limsim/simModel/common/carFactory.py:62
↓ 4 callersMethodgetNewFrame
(self, rendered, cam)
hmi/run_oasim_gui.py:68
↓ 4 callersMethodgetPlotElem
(self)
limsim/utils/roadgraph.py:80
↓ 4 callersMethodin_collision
check if two rectangles intersects (in collision) Args: other_rectangle (Rectangle): another rectangle Returns:
limsim/evaluation/collision_statistics.py:118
↓ 4 callersMethodplotScene
(self, draw_items: list, ex:float, ey:float, ctf: CoordTF)
limsim/simModel/egoTracking/movingScene.py:165
↓ 4 callersMethodpop_last_state_r
return the last state of the trajectory for replay model: x, y, yaw, vel, acc, laneID, lanPos, routeIdx
limsim/utils/trajectory.py:181
↓ 4 callersFunctionprependSpace
(s)
limsim/networkFiles/CarlaTown05/randomTrips.py:524
↓ 4 callersMethodprocessRawShape
(self, rawShape: str)
limsim/simModel/common/networkBuild.py:120
↓ 4 callersMethodreward
(self)
limsim/trafficManager/decision_maker/mcts/flow_state.py:285
↓ 4 callersMethodstart
(self)
limsim/simModel/egoTracking/model.py:293
↓ 4 callersMethodterminal
(self)
limsim/trafficManager/decision_maker/mcts/flow_state.py:272
↓ 4 callersFunctionto_img
(tensor, cam)
hmi/run_oasim_gui.py:25
↓ 3 callersMethodVTCollisionCheck
(self, veh1: Vehicle, veh2: Vehicle)
limsim/simModel/egoTracking/interReplay.py:498
↓ 3 callersMethod__init__
(self)
hmi/run_oasim_gui.py:47
↓ 3 callersMethod__init__
(self)
hmi/routeEdit/gui.py:298
↓ 3 callersMethod_check_collision
( self, veh1: Vehicle, state1: State, veh2: Vehicle, state2: State )
limsim/trafficManager/decision_maker/mcts/flow_state.py:338
↓ 3 callersFunctionbest_child
(node, scalar)
limsim/trafficManager/decision_maker/mcts/mcts.py:103
↓ 3 callersMethodcalc_first_derivative
(self, t)
limsim/trafficManager/planner/frenet_optimal_planner/polynomial_curve.py:93
↓ 3 callersMethodcalc_point
(self, t)
limsim/trafficManager/planner/frenet_optimal_planner/polynomial_curve.py:81
↓ 3 callersMethodcalc_second_derivative
(self, t)
limsim/trafficManager/planner/frenet_optimal_planner/polynomial_curve.py:104
↓ 3 callersMethodcalc_third_derivative
(self, t)
limsim/trafficManager/planner/frenet_optimal_planner/polynomial_curve.py:114
↓ 3 callersMethodcalculate_approximation
Given x coordinate, use Spline to approximate y coordinate Args: pos_x (float): x coordinate Returns: float:
limsim/utils/cubic_spline.py:34
↓ 3 callersFunctioncheck_path
(vehicle, path)
limsim/trafficManager/planner/trajectory_generator.py:29
↓ 3 callersFunctioncreate_vehicle
Creates a new Vehicle instance based on the provided information. Args: vehicle_info (Dict): Information about the vehicle.
limsim/trafficManager/common/vehicle.py:273
↓ 3 callersMethoddbTrajectory
(self, vehid: str, currFrame: int)
limsim/simModel/egoTracking/interReplay.py:255
↓ 3 callersFunctiongenerate_one
(idx, departureTime, arrivalTime, period, origin, destination, intermediate, timeIdx=None)
limsim/networkFiles/CarlaTown05/randomTrips.py:630
↓ 3 callersFunctiongenerate_origin_destination
(trip_generator, options)
limsim/networkFiles/CarlaTown05/randomTrips.py:563
↓ 3 callersFunctionget_prob_fun
(options, fringe_bonus, fringe_forbidden, max_length)
limsim/networkFiles/CarlaTown05/randomTrips.py:334
↓ 3 callersMethodget_vertexes
(self, center: np.ndarray)
limsim/utils/obstacles.py:42
↓ 3 callersMethodplotArea
(self, node: dpg.node, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/common/carFactory.py:510
↓ 3 callersMethodplotScene
(self, node: dpg.node, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/fixedScene/localScene.py:140
↓ 3 callersMethodplotdeArea
(self, widget: QWidget, ex: float, ey: float, ctf: CoordTF)
limsim/simModel/common/carFactory.py:487
↓ 3 callersMethodputFrameInfo
(self, vid: str, vtag: str, veh: Vehicle)
limsim/simModel/egoTracking/interReplay.py:212
↓ 3 callersMethodputFrameInfo
(self, vid: str, vtag: str, veh: Vehicle)
limsim/simModel/egoTracking/model.py:418
↓ 3 callersFunctionrotate_mat
(axis, radian)
hmi/preview/preview_3d.py:108
↓ 3 callersFunctionrotate_yaw
Rotate the yaw angle. Args: yaw (float): The yaw angle in radians. Returns: np.ndarray: The rotation matrix for the giv
limsim/trafficManager/common/obstacle_cost.py:19
↓ 3 callersMethodupdateScene
(self, dataQue: Queue, timeStep: int)
limsim/simModel/egoTracking/movingScene.py:31
↓ 3 callersMethodupdateScene
(self, dataQue: Queue, timeStep: int)
limsim/simModel/fixedScene/localScene.py:54
↓ 3 callersMethodupdateSurroudVeh
(self)
limsim/simModel/egoTracking/movingScene.py:96
↓ 3 callersMethodupdateSurroundVeh
(self)
limsim/simModel/fixedScene/localScene.py:87
↓ 3 callersMethodupdateVeh
(self, veh: Vehicle | egoCar)
limsim/simModel/egoTracking/interReplay.py:371
↓ 3 callersMethodupdateVeh
(self, veh: Vehicle | egoCar)
limsim/simModel/egoTracking/replay.py:241
↓ 3 callersMethodupdateVeh
(self)
limsim/simModel/fixedScene/model.py:403
↓ 3 callersMethodwrite_weights
(self, fname, interval_id, begin, end)
limsim/networkFiles/CarlaTown05/randomTrips.py:286
↓ 2 callersMethodVTCollisionCheck
(self, veh1: Vehicle, veh2: Vehicle)
limsim/simModel/fixedScene/interReplay.py:385
↓ 2 callersMethod_evaluation_transform_coordinate
(self, points: List[float], scale: float)
limsim/simModel/egoTracking/interReplay.py:218
↓ 2 callersMethod_evaluation_transform_coordinate
(self, points: List[float], scale: float)
limsim/simModel/egoTracking/replay.py:93
↓ 2 callersMethodaffGridIDs
(self, centerLine: list[tuple[float]])
limsim/simModel/common/networkBuild.py:88
↓ 2 callersMethodcalculate_third_derivative
Given x coordinate, use Spline to approximate d^3y/dx^3 at x Args: pos_x (float): x coordinate Returns: floa
limsim/utils/cubic_spline.py:89
↓ 2 callersFunctioncartesian_to_frenet2D
Converts a given state from Cartesian coordinates to Frenet coordinates. Args: rs (float): The s coordinate of the reference poi
limsim/trafficManager/common/coord_conversion.py:56
↓ 2 callersMethodchange_to_lane
Change the vehicle to the next lane.
limsim/trafficManager/common/vehicle.py:131
↓ 2 callersMethodcontrolSelf
( self, centerx: float, centery: float, yaw: float, speed: float, accel: float )
limsim/simModel/common/carFactory.py:251
↓ 2 callersMethodcorners
Get the coordinates of corners of a rectangle Returns: List[np.ndarray]: an array of shape (4, 2) each of them repres
limsim/evaluation/collision_statistics.py:102
next →1–100 of 516, ranked by callers