Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
/ openpilot Public archive
forked from sshane/openpilot

tesla HMI protoype, in-lane lateral offset

License

Notifications You must be signed in to change notification settings

golden299299/openpilot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Fork of Fork of openpilot

original fork https://github.com/ShaneSmiskol/openpilot/

only tested in car corolla 2020

Additional Features

output all op internal data structure over WIFI for my HMI prototype

https://github.com/299299/tesla_hmi

the code to publish data by wifi using zmq, msg_sync.py

the code to receive data by wifi using zmq (json format) phone_control.py

automaticlly adjust in lane offset

It will check if the ego car is in the left most lane or right most lane or middle lane,

if ego is in left most lane, it will adjust the offset 0.2m to the left and vice versa to keep distance away from the big truck.

Sometimes the car is driving too much "dead center", human driver wont do that

pic1

keep left (0.2m) if you have cars on your right side keep_left

keep center is there is no car surrounded keep_center

offline simulation testing tool

Instead of carla, we use a simple python script to simulate in car environment with mock can messages

ssh to C2
cd /data/openpilot
./selfdrive/golden/can_bridge.py # start simulation

to selfdrive/golden/ folder with you own repo without modifying any source code of openpilot

pic2

About

tesla HMI protoype, in-lane lateral offset

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 46.8%
  • C++ 39.4%
  • Python 12.0%
  • Cap'n Proto 0.6%
  • Objective-C 0.6%
  • Assembly 0.4%
  • Other 0.2%