Giter VIP home page Giter VIP logo

programmers_sdv's Introduction

do not collide

  1. 속도는 PID 중 P gain만 속도 에러에 적용시켜서 가속도를 조절하였습니다.
  2. optimal_frenet 을 통하여 최적의 경로를 구하고 그 경로를
  3. stanley 방법을 통하여 tracking 하게 만들었습니다.

Marker를 통해서 현재가고있는 경로와 가능한 경로를 보이게 만들었습니다. 3.py 가 최종본이고 나머지는 연습본입니다.

건드린것

  1. obastacle이 cartesian 좌표이기에 frenet 으로 옮겨서 적용하였습니다.

  2. 속도가 상당히 느린것같아서 target_speed를 조금 높게 하였습니다.

  3. check_path() 에서 각각 속도, 가속도, 곡률 ,충돌 에대하여 print문을 달아서 발생할때마다 MAX를 늘려주다가 그냥 많이 늘려줬습니다.

  4. collision_check 할떄 Path를 미리 변경하지 않으면 no_solution 이 발생하여 구해진 path들 의 경로를 조금 늘려주어서 미리 바꿀수 있게 하였습니다. 너무 늘린 경우에는 계산량이 많아져서 컴퓨터가 감당할 수 없던것 같습니다.

  5. 또한 LANE_WIDTH를 좀 더 넓혀서 유연하게 많은 경로를 계산하게하여 path의 길이가 조금만 길어져도 충분히 꺾어서 장애물을 피해가게 하였습니다. 넓히지 않은경우 no_solution 이 많이 발생하였습니다.

  6. 아래에 주석처리된 markerArray = MarkerArray()로 경로들을 표현을 할 수 있지만 변성목님이 함수로 깔끔하게 정리했길레 그것으로 대체하였습니다.

  7. 같은팀 김병수님의 도움으로 obstacle을 피해서 지나간후에 경로를 다시 중앙차선으로 복귀 할 수 있게되었습니다. d 의 제곱값을 cost로 하고 K_D2 gain을 부여 하였습니다.

Screenshot

programmers_sdv's People

Contributors

kuuku123 avatar hayoung-kim 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.