Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

차선이 있을 경우에만 자율주행 모드로 전환 #9

Closed
Tracked by #2
hanbro-inha opened this issue Jun 13, 2022 · 1 comment
Closed
Tracked by #2

차선이 있을 경우에만 자율주행 모드로 전환 #9

hanbro-inha opened this issue Jun 13, 2022 · 1 comment
Assignees

Comments

@hanbro-inha
Copy link
Collaborator

No description provided.

@kka-na
Copy link
Owner

kka-na commented Jun 13, 2022

# 2. Calculate Whether a Car is on the Lane or Not
onLane = False
if (line2s[0]-line1s[0] > 3.5):
print("Lane 1 & 2's Width {} ".format(line2s[0]-line1s[0]))
onLane = True
if (line1s[0]>-0.7):
print("Lane 1 is Near 0")
onLane = True
if (line2s[0]<0.7):
print("Lane 2 is Near 0")
onLane = True
if(not onLane):
print("STABLE MY LINE")

@kka-na kka-na closed this as completed Jun 13, 2022
@hanbro-inha hanbro-inha added this to the Demo Ready Release milestone Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants