Skip to content

A comprehensive traffic light control system designed specifically for Thai roads, supporting intersections from single-way up to five-way configurations. Developed by PROLEAK Innovation.

Notifications You must be signed in to change notification settings

nomadsdev/thai-intersection-traffic-light-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PROLEAK Innovation - Thai Intersection Traffic Light System

A comprehensive traffic light control system designed specifically for Thai roads, supporting intersections from single-way up to five-way configurations. Developed by PROLEAK Innovation.

Features

  • Support for 1-way to 5-way intersections
  • Thai-specific traffic light patterns and timing sequences
  • Configurable timing parameters
  • Modular and extensible architecture
  • Comprehensive testing suite
  • Real-time traffic flow optimization
  • PROLEAK's advanced traffic management algorithms

Project Structure

thai_traffic_light/
├── intersections/           # Intersection-specific implementations
│   ├── one_way/            # Single-way intersection
│   ├── two_way/            # Two-way intersection
│   ├── three_way/          # Three-way intersection
│   ├── four_way/           # Four-way intersection
│   └── five_way/           # Five-way intersection
├── core/                   # Core traffic light control logic
├── config/                 # Configuration files
├── utils/                  # Utility functions
└── tests/                  # Test suite

Installation

  1. Clone the repository
  2. Create a virtual environment:
    python -m venv venv
    source venv/bin/activate
  3. Install dependencies:
    pip install -r requirements.txt

Usage

from thai_traffic_light.core.controller import TrafficLightController
from thai_traffic_light.intersections.four_way import FourWayIntersection

controller = TrafficLightController(FourWayIntersection())

controller.start()

Testing

Run the test suite:

pytest

Contact

For more information about PROLEAK Innovation and our products, please visit our website or contact us at:

About

A comprehensive traffic light control system designed specifically for Thai roads, supporting intersections from single-way up to five-way configurations. Developed by PROLEAK Innovation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages