Skip to content

pseudo_step may lack the validation of yellow phase #38

@thinker310

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

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