(self)
| 282 | |
| 283 | # exit control mode and set self.iscontroled = 0 |
| 284 | def exitControlMode(self): |
| 285 | if self._iscontroled: |
| 286 | try: |
| 287 | traci.vehicle.setLaneChangeMode(self.id, 0b101010101010) |
| 288 | traci.vehicle.setSpeedMode(self.id, 0b010111) |
| 289 | traci.vehicle.setSpeed(self.id, 20) |
| 290 | except TraCIException: |
| 291 | pass |
| 292 | self._iscontroled = 0 |
| 293 | |
| 294 | def replayUpdate(self): |
| 295 | # if plannedTrajectory and dbTrajectory are both empty, return 'Failure', |
no outgoing calls
no test coverage detected