hamuchiwa / AutoRCCar

OpenCV Python Neural Network Autonomous RC Car
BSD 2-Clause "Simplified" License
3.33k stars 1.48k forks source link

A small Bug #177

Closed SaiSurya9999 closed 5 years ago

SaiSurya9999 commented 5 years ago

bug There are equal no of forward action calls for the same obstacle detected which is not stopping my car please help me... Ignore that prediction 5 printing it doesnt mean anything..

SaiSurya9999 commented 5 years ago

I have used delay functions in audrino board program to slow the car is this causing any problem please check... Here is the forward function which i modified to slow the car speed.. I use optacouplers to use transmitter buttons from audrino pwm for amplification that is why my pins are in high...The audrino code in this repository is not working in my scenario that is why i made changes void forward(int time){ digitalWrite(forward_pin, HIGH); delay(20); digitalWrite(forward_pin, LOW); delay(time); // time = 50 } Please help me as soon as possible if i overcome this bug i will complete my project successfully...!!! please please @hamuchiwa

Siraj95Abudaber commented 5 years ago

Hi @SaiSurya9999 Did the rc_driver.py worked fine for you or did you face any problem in connection ,if so please let me know what is it my problem that the rc_driver_nn_only.py worked but the rc_driver.py didn't because some problems in connection

SaiSurya9999 commented 5 years ago

Video stream and ultrasonic data connection is fine i didn't get any error like broken pipe.

hamuchiwa commented 5 years ago

@SaiSurya9999 Is this duplicated with your #174?

SaiSurya9999 commented 5 years ago

Ohh yes sorry..!!