AutoRCCar icon indicating copy to clipboard operation
AutoRCCar copied to clipboard

Problem in movement of car

Open ShwetaLalwani opened this issue 5 years ago • 18 comments

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?

ShwetaLalwani avatar Mar 30 '19 19:03 ShwetaLalwani

It might have low battery( change batteries) or it can't bear the weight u put on them like pi and power bank.

On Sun 31 Mar, 2019, 1:25 AM ShwetaLalwani <[email protected] wrote:

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?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/184, or mute the thread https://github.com/notifications/unsubscribe-auth/At7cbtr0GlijX3ZORGy3FQZtcmY_bXbdks5vb8EwgaJpZM4cT8AI .

VishalWrench avatar Mar 30 '19 21:03 VishalWrench

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

ShwetaLalwani avatar Apr 01 '19 19:04 ShwetaLalwani

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 ?

ShwetaLalwani avatar Apr 06 '19 04:04 ShwetaLalwani

Attach the screenshot of whole error u got

On Sat 6 Apr, 2019, 10:14 AM ShwetaLalwani <[email protected] wrote:

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 ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/184#issuecomment-480473887, or mute the thread https://github.com/notifications/unsubscribe-auth/At7cbiMIDpmWu5Xy_kn5ovn_BvIKO1C_ks5veCYzgaJpZM4cT8AI .

VishalWrench avatar Apr 06 '19 05:04 VishalWrench

2019-04-06-113000_1364x768_scrot

ShwetaLalwani avatar Apr 06 '19 06:04 ShwetaLalwani

It may be open cv version issue problem try to downgrade opencv

On Sat 6 Apr, 2019, 11:42 AM ShwetaLalwani <[email protected] wrote:

[image: 2019-04-06-113000_1364x768_scrot] https://user-images.githubusercontent.com/48839546/55665632-eeeb1800-5860-11e9-8617-e6135eb5766a.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/184#issuecomment-480477863, or mute the thread https://github.com/notifications/unsubscribe-auth/At7cbrio9njFTthdlh-AplU3-PFsb-Mgks5veDq5gaJpZM4cT8AI .

VishalWrench avatar Apr 06 '19 06:04 VishalWrench

Downgrade to which version? Now my OpenCV version is 3.4.4

ShwetaLalwani avatar Apr 06 '19 06:04 ShwetaLalwani

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

ShwetaLalwani avatar Apr 09 '19 20:04 ShwetaLalwani

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

ShwetaLalwani avatar Apr 20 '19 12:04 ShwetaLalwani

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

sundar19 avatar May 29 '19 03:05 sundar19

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

arpitpartani avatar Jun 26 '19 07:06 arpitpartani

pls help @ShwetaLalwani @VishalWrench

arpitpartani avatar Jun 26 '19 08:06 arpitpartani

@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.

ShwetaLalwani avatar Jun 26 '19 08:06 ShwetaLalwani

exactly we are doing @ShwetaLalwani but its not working

can u share your collect_training_data.py code

arpitpartani avatar Jun 26 '19 08:06 arpitpartani

@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?

ShwetaLalwani avatar Jun 26 '19 08:06 ShwetaLalwani

Atleast send the code

On Wed 26 Jun, 2019, 2:18 PM ShwetaLalwani, [email protected] wrote:

@arpitpartani https://github.com/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?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hamuchiwa/AutoRCCar/issues/184?email_source=notifications&email_token=AH7SX3T7A5R4LV6WJEXJ64LP4MUMVA5CNFSM4HCPYAEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYS2BXQ#issuecomment-505782494, or mute the thread https://github.com/notifications/unsubscribe-auth/AH7SX3UES7R7GSVTEQEWFNDP4MUMVANCNFSM4HCPYAEA .

arpitpartani avatar Jun 26 '19 08:06 arpitpartani

@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 avatar Mar 20 '20 15:03 Yoganandhan01

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

Yoganandhan01 avatar Mar 20 '20 16:03 Yoganandhan01