Skip to main content

Advanced autonomous vehicle simulation with PyQt5 GUI, AI path planning, and real-time physics

Project description

Advanced Autonomous Vehicle Simulation

A sophisticated autonomous vehicle simulator built with PyQt5 featuring advanced sensor systems, 3D visualization, and real-time simulation capabilities.

Features

Core Simulation

  • 3D Visualization Engine: Real-time 3D environment with PyOpenGL/VTK integration
  • Advanced Sensor Systems: LiDAR, cameras (RGB/depth/thermal/stereo), radar, ultrasonic, IMU/GPS
  • Vehicle Physics: Realistic vehicle dynamics with configurable parameters
  • Multi-vehicle Support: Multiple autonomous vehicles with V2V communication

Sensor Systems

  • LiDAR: Configurable range, resolution, and point cloud visualization
  • Cameras: Multiple camera types with real-time image processing
  • Radar: Range-doppler visualization and target tracking
  • Ultrasonic: Close-proximity detection
  • IMU/GPS: Noise modeling and sensor fusion

Advanced Features

  • Path Planning: A*, RRT, PRM algorithms with visualization
  • Autonomous Algorithms: Waypoint following, lane keeping, obstacle avoidance
  • Traffic Scenarios: Generation and playback system
  • Data Recording: Sensor data recording and replay functionality
  • Performance Metrics: Real-time dashboard with graphs

GUI Components

  • Modern Dark Theme: Professional interface with customizable layouts
  • Central 3D Viewport: Camera controls (orbit, pan, zoom, first-person)
  • Sensor Panels: Live feeds from cameras and processed data
  • Control Panel: Simulation parameters and vehicle settings
  • Timeline Scrubber: Scenario playback and analysis
  • Real-time Plots: Vehicle telemetry and sensor data visualization

Installation

  1. Clone the repository:
git clone <repository-url>
cd robotics-simulation
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python main.py

Project Structure

robotics-simulation/
├── main.py                 # Main application entry point
├── requirements.txt        # Python dependencies
├── README.md              # This file
├── config/                # Configuration files
│   ├── settings.yaml      # Application settings
│   └── scenarios/         # Pre-built scenarios
├── src/                   # Source code
│   ├── core/             # Core application components
│   ├── gui/              # GUI components and widgets
│   ├── simulation/       # Simulation engine
│   ├── sensors/          # Sensor models and processing
│   ├── visualization/    # 3D visualization engine
│   ├── algorithms/       # Path planning and AI algorithms
│   └── utils/            # Utility functions and helpers
├── assets/               # Resources (icons, models, textures)
├── data/                 # Data storage and exports
└── tests/                # Unit tests

Usage

Basic Operation

  1. Launch the application
  2. Load a scenario or create a new one
  3. Configure vehicle and sensor parameters
  4. Start the simulation
  5. Monitor sensor data and vehicle performance

Advanced Features

  • Custom Scenarios: Create and save custom simulation scenarios
  • Sensor Configuration: Adjust sensor parameters in real-time
  • Data Export: Export sensor data in standard formats (PCD, rosbag-like)
  • Plugin System: Extend functionality with custom plugins

Development

Architecture

The application follows a modular architecture with clear separation of concerns:

  • Core: Application lifecycle and main coordination
  • GUI: User interface components and event handling
  • Simulation: Physics engine and world simulation
  • Sensors: Sensor models and data processing
  • Visualization: 3D rendering and graphics
  • Algorithms: Path planning and autonomous driving algorithms

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • PyQt5 for the GUI framework
  • PyOpenGL/VTK for 3D visualization
  • NumPy/SciPy for scientific computing
  • OpenCV for computer vision algorithms

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autonomous_vehicle_simulator-1.0.1.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autonomous_vehicle_simulator-1.0.1-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file autonomous_vehicle_simulator-1.0.1.tar.gz.

File metadata

File hashes

Hashes for autonomous_vehicle_simulator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c0c9bfbd4dce5a28392d9057b611d883b63d2c8e07d3536329b51417630e58ca
MD5 8ee7a3d811f90a08ad2ed1937557d343
BLAKE2b-256 99d8ba60289323c15d959940c216a0344c923f8b4ba960df0c595194a49260b2

See more details on using hashes here.

File details

Details for the file autonomous_vehicle_simulator-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for autonomous_vehicle_simulator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57f5b2ca19e7877249e3e5b6dea955ff7f847fd6dc60583cc0c8cd8b77f1225b
MD5 b47425d1c4cdecfb6f3391b0c0da8d13
BLAKE2b-256 0bb415dcb753e13e868e94d6a5c5bf1952396be83576750455fd1aa6eb99de6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page