Git Product home page Git Product logo

aeye's Introduction

  • πŸ‘‹ Hi, I’m @kka-na
  • πŸ‘€ I’m interested in AI, DL, Autonomous Vehicle
  • πŸ“« How to reach me [email protected]
Kana's github stats

aeye's People

Contributors

hanbro-inha avatar kka-na avatar maru-jang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

aeye's Issues

License Manual

μ£Όν–‰ μ‹œλ‚˜λ¦¬μ˜€

단독

  • μ„€μ • κ°€λŠ₯ν•œ 졜고 μ†λ„μ—μ„œ 직선&곑선 μ°¨μ„  μœ μ§€(고속 주회둜 3바퀴 이상 μœ μ§€)

  • 단독 μ°¨μ„  λ³€κ²½ μˆ˜ν–‰ μ‹œ 정상 μž‘λ™ 확인

  • 끝 μ°¨μ„ μ—μ„œ μ°¨μ„  λ³€κ²½ μ‹œ μ°¨μ„  λ³€κ²½ μ œν•œ

  • 속도 λ³€κ²½ 잘 λ˜λŠ”μ§€

  • μ„€μ • 속도 Maxκ°’ μ΄μƒμœΌλ‘œ μ„€μ • λΆˆκ°€λŠ₯

  • 곑선 κ΅¬κ°„μ—μ„œ μ°¨μ„  λ³€κ²½ μ‹œ μ°¨μ„  변경이 νž˜λ“€λ©΄ 곑λ₯ μ— λ”°λΌμ„œ μ°¨μ„  λ³€κ²½ μ œν•œ

  • 곑선 κ΅¬κ°„μ—μ„œ 곑λ₯ μ— 따라 μ°¨λŸ‰ 속도 κ°μ†ν•˜κΈ°

  • μ°¨μ„  μ΄νƒˆ 징쑰가 보일 λ•Œ κ²½κ³  μ•Œλ¦Ό & μ°¨μ„  μ΄νƒˆ μ‹œ 자율 μ£Όν–‰ λͺ¨λ“œ ν•΄μ œ

with Target CAR

  • 차둜 λ³€κ²½ μš”μ²­ μ‹œ μ‚¬κ°μ§€λŒ€ μ˜μ—­μ— μƒλŒ€ μ°¨λŸ‰μ΄ 있으면 차둜 μœ μ§€ (쒌&우)

  • 차둜 λ³€κ²½ μš”μ²­ μœ μ§€ν–ˆμ„ λ•Œ μƒλŒ€ μ°¨λŸ‰μ΄ μ‚¬κ°μ§€λŒ€μ—μ„œ λΉ μ Έλ‚˜κ°€λ©΄ 차둜 λ³€κ²½ μˆ˜ν–‰ (쒌&우)

  • μƒλŒ€ μ°¨λŸ‰μ΄ μ „λ°© 쒌&μš°μΈ‘μ—μ„œ cut-in ν•˜λ©΄μ„œ κ°μ†ν•˜λ©΄ ACC λŒ€μ‘μ΄ 잘 λ˜λŠ”μ§€

  • μƒλŒ€ μ°¨λŸ‰μ΄ cut-outν•˜λ©΄ μ„€μ • μ†λ„λ‘œ λ‹€μ‹œ κ°€μ†ν•˜λŠ”μ§€

  • 직선&곑선 κ΅¬κ°„μ—μ„œ 정체 μ‹œ ACC (μ™„μ „ μ •μ§€κΉŒμ§€) μž˜λ˜λŠ”μ§€

  • 정체 ν•΄μ œ μ‹œ μ„€μ • μ†λ„λ‘œ λ‹€μ‹œ κ°€μ†ν•˜λŠ”μ§€

  • μ‹œμ•Όμ—μ„œ λ²—μ–΄λ‚œ μ„ ν–‰ μ°¨λŸ‰μ΄ μ •μ§€ν•΄μžˆλŠ” μƒν™©μ—μ„œ λ‚΄ μ°¨λŸ‰μ΄ λ§žμΆ°μ„œ 정지 κ°€λŠ₯ ν•œμ§€

  • μ „λ°© 좩돌 방지 μž₯치(AEB) Test 1 : μ„ ν–‰ μ°¨λŸ‰μ΄ 급정지 μ‹œ AEB μž‘λ™ (μœ„ν—˜)

  • μ „λ°© 좩돌 방지 μž₯치(AEB) Test 1 : μ „λ°© 쒌&μš°μΈ‘μ—μ„œ μƒλŒ€ μ°¨λŸ‰μ΄ κΈ‰κ²©ν•˜κ²Œ Cut-in ν›„ κΈ‰μ •μ§€ν–ˆμ„ λ•Œ AEB μž‘λ™ (맀우 μœ„ν—˜)

  • λ“±νŒλ‘œμ—μ„œ μ„ ν–‰ μ°¨λŸ‰ μ •μ§€μ‹œ μ™„μ „ 정지 + μ•ž λ’€λ‘œ 밀리지 μ•Šκ²Œ(였λ₯΄λ§‰ & 내리막)

etc

  • λͺ¨λ“  μ£Όν–‰ μ‹œλ‚˜λ¦¬μ˜€λŠ” μ°¨μ„  μ΄νƒˆ X와 좩돌 Xκ°€ 수반됨.

System Check

  • 자율 주행에 μ‚¬μš©λ˜λŠ” λͺ¨λ“  μ„Όμ„œ ν•˜λ‚˜μ”© 뽑아보며 μ„Όμ„œ Error μ‹œ 자율 μ£Όν–‰ λͺ¨λ“œ ν•΄μ œλ˜λ©° μ‹œμ²­κ° κ²½κ³ (Error TOR 계열)

  • μ„Όμ„œ Error μ‹œ μ–΄λ–€ Sensorκ°€ κ³ μž₯ λ‚¬λŠ”μ§€ ν‘œκΈ° 될 것.(μ„Όμ„œ Error μ‹œ μˆ˜λ™ μš΄μ „ λͺ¨λ“œλ‘œ λ°”λ€Œμ—ˆκ±°λ‚˜ μˆ˜λ™ μš΄μ „ λͺ¨λ“œλΌλ©΄ 자율 μ£Όν–‰ λͺ¨λ“œκ°€ μΌœμ§€λ©΄ μ•ˆλ˜κ² μ£ ?)

  • 차선이 μ™„μ „νžˆ 확보가 된 μƒνƒœμ—μ„œλ§Œ 자율 μ£Όν–‰ λͺ¨λ“œκ°€ 켜질 수 μžˆλ„λ‘ ν•΄μ•Ό 함

UI

  • μ°¨μ„  끝단 λ°Ÿμ„ μ‹œ 청각 κ²½κ³ 

  • μ°¨μ„  μ΄νƒˆ μ‹œ 자율 μ£Όν–‰ λͺ¨λ“œ ν•΄μ œ(Error TOR 계열 μ‹œμ²­κ° μ•Œλ¦Ό)

  • 자율 μ£Όν–‰ λͺ¨λ“œμ—μ„œ μ•‘μ…€, 브레이크, ν•Έλ“€ ν•˜λ‚˜λΌλ„ μž‘λ™ μ‹œ μˆ˜λ™ μš΄μ „ λͺ¨λ“œ μ „ν™˜(Normal TOR 계열 μ‹œμ²­κ° μ•Œλ¦Ό)

  • 물리적인 μˆ˜λ™ μš΄μ „ λͺ¨λ“œ λ²„νŠΌ(E-STOP) μž‘λ™ μ‹œ TOR μ‹œμ²­κ°(Normal TOR 계열)

  • Take Over Request μ‹œ μ‹œμ²­κ° μ•Œλ¦Ό(Error : sensor_state, system_state, lane_departure, Normal: handle trq, brake pedal, accel pedal, e-stop)

  • Error TOR, Normal TOR κ΅¬λΆ„ν•˜μ—¬ μ‹œμ²­κ° μ•Œλ¦Ό

기둝

TDS-1

  • 속도, GPS, μ’…λ°©ν–₯ 및 횑방ν–₯ 가속도 *λ‚΄μ—°κΈ°κ΄€ μ°¨λŠ” RPM도 기둝

ROS bag (from CAN)

  • RPM

  • ν˜„μž¬ 무슨 λͺ¨λ“œμΈμ§€(자율 μ£Όν–‰ λͺ¨λ“œ & μˆ˜λ™ μš΄μ „ λͺ¨λ“œ)

  • 브레이크&μ•‘μ…€ νŽ˜λ‹¬μ˜ μ‹ ν˜Έκ°’

  • 브레이크&μ•‘μ…€μ˜ μž‘λ™ 주체(ν˜„μž¬ 무슨 λͺ¨λ“œμΈμ§€μ™€ κ°™μŒ)

  • μ‘°ν–₯ ν•Έλ“€ 각도 or μ‘°ν–₯ 바퀴 각도

  • 변속단

μš”κ΅¬ 사항

  • PRND 변속 - ν•Έλ“€ μ‘°μž‘ TOR 3번 - PRND 변속 - 브레이크 TOR 3번 - PRND 변속 - μ•‘μ…€ TOR 3번 데이터 λ‘œκΉ…

Changing Mode Bug

aeye/control/can_bridge.py

Lines 208 to 209 in 311cedc

if 1 in self.switch:
self.switch = [0, 0, 0]

이거λ₯Ό 카운트λ₯Ό κ±Έμ–΄μ„œ 10 이전 κ°’μ΄λž‘ λ‹€λ₯΄κ³ , 10 μ…Œμ„λ•Œ 0으둜 μ΄ˆκΈ°ν™” ν•΄μ£Όλ©΄ 될 것 κ°™μ•„μœ 

self.can_cnt = 0 ... if self.can_cnt > 10 and 1 in self.switch : self.switch = [0, 0, 0]

Start Script

[1] NUVO - roscore
[2] NUVO - sensors, perception, bsd_pub, mode_check, error_check, estop_check, tor_check
[3] NUC - can_bridge
[4] CAR - ( Turn off Engine & Turn on Engine ) * 2
[5] Open Pilot - bridge
[6] NUC - lane_check, vacs, can_record


[1], [2] -> LicenseNUVO.service 컴퓨터 λΆ€νŒ… μ‹œ μ‹€ν–‰
[3] -> LicenseNUC_bridge.service 컴퓨터 λΆ€νŒ… λ’€ 20초 ν›„ μ‹€ν–‰
[4] -> μ°¨ μ‹œλ™ 껐켜 *2
[5] -> OpenPilot bridge
[6] -> LicenseNUC_node.sh μ‹€ν–‰

AEB

  • CAN AEB Message Recording & Analyzing
  • Implement AEB TOR Request Process

λΆ€νŒ…μ‹œ μžλ™μ‹€ν–‰ν•  슀크립트 μž‘μ„±

Systemd 에 λΆ€νŒ…μ‹œ μžλ™ μ‹€ν–‰ν•  ν”„λ‘œκ·Έλž¨μ—λŒ€ν•œ 슀크립트 μž‘μ„±

  • /etc/systemd/system/ κ²½λ‘œμ— μ‹€ν–‰ 슀크립트 μž‘μ„±

ν™•μž₯μžλŠ” *.service

  • μ‹€ν–‰ 슀크립트 파일 μž‘μ„±

serviceμ—μ„œ execute ν•  μ‹€ν–‰νŒŒμΌ (*.sh)

  • Systemd에 μž‘μ„±ν•œ Service 등둝
    systemctl daemon-reload
    systemctl enabel nuvo.service
    systemctl start nuvo.service

  • Service μƒνƒœ 체크
    systemctl list-units --type=service

Clean Repository

  • #13
  • #14
  • λΈ”λž™λ°•μŠ€
  • μŠ€ν”Όμ»€
  • μ„  정리
  • NUC 전원 μ„ 
  • TDS-1 CAN μ„ 
  • #6

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.