Git Product home page Git Product logo

Comments (4)

kka-na avatar kka-na commented on June 14, 2024 1

Addition of OP Null Checking Solution

rospy.Subscriber('/op_null', Bool, self.op_null_callback)

def op_null_callback(self, msg):
self.op_null = int(msg.data)

aeye/error/error_check.py

Lines 122 to 127 in 0b1edb3

if self.op_null == 1: # op_null true
sensor_state.data.extend([False])
elif self.op_null == 0: # op_null false
sensor_state.data.extend([True])
print("LKAS" : {}".format(self.op_null))

aeye/error/error_check.py

Lines 207 to 211 in 0b1edb3

# ---
# This is for Test ( Have to Remove !!!!!! )
sensorstate.data = [0,not self.op_null,0,0,0,not self.radar]
systemstate.data = [0,0,self.test_lane]
# ----

from aeye.

kka-na avatar kka-na commented on June 14, 2024

Addition of op_null Topic

#for Openpilot Error Checking
op_null_pub = rospy.Publisher('/op_null', Bool, queue_size=1)
op_null=Bool()
op_null.data = False

#If Lanelines doesn't work,
else:
# There is some Error
op_null.data = True
op_null_pub.publish(op_null)

from aeye.

kka-na avatar kka-na commented on June 14, 2024
  • Need to Modify the LKAS Error Check Process

in lane_check.py

from aeye.

maru-jang avatar maru-jang commented on June 14, 2024

aeye/control/can_bridge.py

Lines 214 to 219 in 37ed0d5

else:
if time.time() - lkas_time > 0.2:
self.lkas = False
self.lkas_state.publish(self.lkas)
time.sleep(0.1)
# print("LKAS FAULT")

from aeye.

Related Issues (20)

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.