(self, dt=1./4)
| 63 | # Taken from World on Rails |
| 64 | class 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 |
nothing calls this directly
no outgoing calls
no test coverage detected