Git Product home page Git Product logo

autodrive's Introduction

Welcome To Doge Driver Project!

Formatter & Linter

Install mypy & black for typing and reformatting

  • vscode Ctrl+Shift+P > python select linter > mypy 선택 (우측하단에 설치하라고 하면 설치) (타입 지원위해서)
  • vscode settings > python formatting provider black 선택 (우측하단에 설치하라고 하면 설치)
  • vscode settings > format on save 체크

파일 설명

Vehicle.getLane(angle, findRange)

angle 타입: Vehicle.LEFT_LANE_ANGLE, Vehicle.FRONT_LANE_ANGLE, Vehicle.RIGHT_LANE_ANGLE findRange: 기본값=0.7 (시뮬레이터 좌표 기준 탐지할 최대거리) return: LaneType enum 클래스에 해당하는 value 웬만하면 쓸일없음

Vehicle.getFrontLane()

차량중앙점기준 전방 0.7m 안에 도로선 검출 return: LaneType enum 클래스에 해당하는 value

Vehicle.getLeftLane()

차량중앙점기준 좌방 0.4m 안에 도로선검출 return: LaneType enum 클래스에 해당하는 value

Vehicle.getRightLane()

차량중앙점기준 우방 0.4m 안에 도로선검출 return: LaneType enum 클래스에 해당하는 value

Example

Vehicle.getLeftLane()
# 만약 좌측 레인이 점선이면 LaneType.DOT.value 반환함
Vehicle.getRig음tLane()
# 만약 우측 레인이 실선이면 LaneType.EDGE.value 반환함
Vehicle.getRightLane()
# 만약 정방향 레인이 정지선이면 LaneType.STOP.value 반환함

Utils (archived)

src/wecar_ros/scripts/archive/util_recorder.py: 프레임 단위로 카메라에서 데이터 레코딩 (src/wecar_ros/scripts/pickles 폴더에 저장됨) src/wecar_ros/scripts/archive/util_recordPlayer.py: 프레임 단위로 레코딩된 데이터 재생

autodrive's People

Contributors

parkjbdev 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.