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

Problem in movement of car #184

Open
ShwetaLalwani opened this issue Mar 30, 2019 · 18 comments
Open

Problem in movement of car #184

ShwetaLalwani opened this issue Mar 30, 2019 · 18 comments

Comments

@ShwetaLalwani
Copy link

Hi,
While running collect_training_data.py,everything is working fine. When I'm placing my car in hands, wheels are properly moving in forward reverse left right direction,... But when I'm placing my car on floor , it is only moving in forward and reverse direction. What must be the problem?

@VishalWrench
Copy link

VishalWrench commented Mar 30, 2019 via email

@ShwetaLalwani
Copy link
Author

Thank you so much .. I charged my battery and now it's moving in all directions :)

@ShwetaLalwani
Copy link
Author

Hi, after running rc_driven_nn_only.py ,I'm getting this error- module object has no attribute ml.
What should I do to remove this ?

@VishalWrench
Copy link

VishalWrench commented Apr 6, 2019 via email

@ShwetaLalwani
Copy link
Author

2019-04-06-113000_1364x768_scrot

@VishalWrench
Copy link

VishalWrench commented Apr 6, 2019 via email

@ShwetaLalwani
Copy link
Author

Downgrade to which version? Now my OpenCV version is 3.4.4

@ShwetaLalwani
Copy link
Author

Ok that error is solved. Now I'm getting this error-.
20190410_013031

@ShwetaLalwani
Copy link
Author

My car is moving only in forward direction. Plz help. @hamuchiwa

@sundar19
Copy link

@ShwetaLalwani rc_driver_nn_only.py should be run on your computer and not RPi

@arpitpartani
Copy link

while running collect_training_data.py my car is not moving with computer arrow buttons , hence not collecting frames

@arpitpartani
Copy link

pls help @ShwetaLalwani @VishalWrench

@ShwetaLalwani
Copy link
Author

@arpitpartani first you have to run collect_training_data.py and then in other terminal run stream_client.py ,then a pygame window along with a streaming window will pop up. Click on pygame window and then click the arrow keys to move your car. When your data collection is done press x or q to exit from pygame window and then press q to exit from streaming window , your saved frames and lost frames will then be displayed on terminal window.

@arpitpartani
Copy link

exactly we are doing @ShwetaLalwani
but its not working

can u share your collect_training_data.py code

@ShwetaLalwani
Copy link
Author

@arpitpartani actually I've done my whole project on raspberry pi, I haven't used Arduino. So my code is a bit different than this, but the procedure is same . I've only changed the pins according to my dc motor pins and removed the Arduino part. Rest is same as collect_training_data.py. Tell me what error are u getting?

@arpitpartani
Copy link

arpitpartani commented Jun 26, 2019 via email

@Yoganandhan01
Copy link

@arpitpartani I am also having the same problem after running collect_training_data.py file and model_training.py after I'm running the rc_driver.py my car only goes on straight line it does not follow the lane..?

@Yoganandhan01
Copy link

@arpitpartani can you explain the file "train_predict_test.ipynb" the jupyter notebook file in model_train_test folder..?

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

5 participants