Skip to content

pseudo_step may lack the validation of yellow phase #38

Description

@thinker310

in world_sumo.py, class Intersection,
"if self.current_phase_time == self.yellow_phase_time:
self._change_phase(action)"
if current phase is green phase, then its current_phase_time reaches 3 (yellow_phase_time), the action is a new green phase, the current phase directly switch to new green phase, lack a yellow transition

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions