Git Product home page Git Product logo

qunzhang1996 / lane-navigation-for-self-driving-car Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jagani-aditya/lane-navigation-for-self-driving-car

0.0 0.0 0.0 18.81 MB

This is an implementation in CARLA of a self-driving car that is capable of turning at intersections, and overtaking other vehicles. We have used a motion planner based on Bezier curves for safe lane navigation.

License: MIT License

C++ 17.05% Python 79.22% CMake 3.73%

lane-navigation-for-self-driving-car's Introduction

Autonomous-turning-of-vehicle-and-overtaking-in-CARLA

This project aims to automate left and right turns and overtaking for autonomous vehicles with the self-driving cars simulator CARLA. The two main focus are on Turning and Overtaking by Bezier curve (Bezier Curve).

Test Platform

Windows 10 CARLA 0.9.11

Carla Simulator Installation

Go to official Carla Releases Github page.

Download [Windows] CARLA 0.9.11, unzip the file and rename the folder as CARLA_0.9.11. Additional maps are optional.

Put CARLA_Simulator folder and this repository folder in the same folder.

Other prerequisites

numpy, opencv and pygame should be correctly installed.

Run Instruction

Performing Phase

  1. Go to CARLA_0.9.11 folder,

    cd Carla/CARLA_0.9.11

    run CARLA in Low Graphic Quality

    ./CarlaUE4.sh -quality-level=Low

  2. Go to the environment folder of this repository. There are options for generating different scenes.

    To perform turning in empty city:

    python ego_vehicle.py

    To perform turning in city with n=80 vehicles: run ego_vehicle.py first `python ego_vehicle

    Open new terminal. go to exaples directory of PythonAPI of carla repository

    cd C:\CARLA_0.9.11\WindowsNoEditor\PythonAPI\examples

    Spawn n=80 vehicle of how many you want

    python spawn_npc.py -n 80

    To perform overtaking when there is one vehicle in front, generate scene 1 where only the ego vehicle exists by:

    python ego_vehicle.py -s 1

Note: Overtaking is still experimental and might fail in heavy traffic environment. Do not spawn vehicles for overtaking

Results



lane-navigation-for-self-driving-car's People

Contributors

jagani-aditya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.