diff --git a/MainRobotLane.py b/MainRobotLane.py index 0d79296..1357803 100644 --- a/MainRobotLane.py +++ b/MainRobotLane.py @@ -28,8 +28,9 @@ def main(): if curveVal<0.05: curveVal=0 else: if curveVal>-0.08: curveVal=0 - car.motion.skt_drive(0.3,-curveVal*sen,0.05) - print(curveVal) + car.motion.skt_drive(0.3,-curveVal*sen) + turn_value = -curveVal*sen + print("Curve Value : " + curveVal + "Turn Value : "+ turn_value) cv2.waitKey(1)