MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / __init__

Method __init__

leaderboard/team_code/driveadapter_agent.py:65–74  ·  view source on GitHub ↗
(self, dt=1./4)

Source from the content-addressed store, hash-verified

63# Taken from World on Rails
64class EgoModel():
65 def __init__(self, dt=1./4):
66 self.dt = dt
67
68 # Kinematic bicycle model. Numbers are the tuned parameters from World on Rails
69 self.front_wb = -0.090769015
70 self.rear_wb = 1.4178275
71
72 self.steer_gain = 0.36848336
73 self.brake_accel = -4.952399
74 self.throt_accel = 0.5633837
75
76 def forward(self, locs, yaws, spds, acts):
77 # Kinematic bicycle model. Numbers are the tuned parameters from World on Rails

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected