sunfounder / SunFounder_PiCar

GNU General Public License v2.0
34 stars 75 forks source link

Issue with servo-install #7

Open eharveyjr opened 5 years ago

eharveyjr commented 5 years ago

Hi,

I currently have the picar-S 1.0V. When I run the picar servo-install script, it states the servo is set to 90 degrees but it never goes back to my prompt (it never closes). The first time I ran everything it sent the front wheels hard left and kept trying to do it. It got extremely hot and now it doesn't do anything did I break it? This is for a work project that I need to finish testing by the Wednesday. Please get back to me as soon as you have a chance.

Thanks, Eric Servo

sunfounder commented 5 years ago

Hi Eric, Thank you for contacting us. Please note that the calibration program does not stop until you press the 'ctrl+c', otherwise the servo will be stuck in the 90 degrees, and we recommend you to install the wheels after finishing the calibration.

Best Regards, SunFounder Team From: eharveyjr Date: 2019-07-16 00:02 To: sunfounder/SunFounder_PiCar CC: Subscribed Subject: [sunfounder/SunFounder_PiCar] Issue with servo-install (#7) Hi, I currently have the picar-S 1.0V. When I run the picar servo-install script, it states the servo is set to 90 degrees but it never goes back to my prompt (it never closes). The first time I ran everything it sent the front wheels hard left and kept trying to do it. It got extremely hot and now it doesn't do anything did I break it? This is for a work project that I need to finish testing by the Wednesday. Please get back to me as soon as you have a chance. Thanks, Eric — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ndastur commented 4 years ago

@sunfounder I came here because of the same issue. The PDF documentation says

Now the servo may or may not make noises to rotates to 90 degrees. Script will end almost immediately, but all servos will keep at 90 degrees. You can continue the rest assembly.

Can we then assume the documentation is incorrect?

ndastur commented 4 years ago

Screenshot of the PDF image

drmc149 commented 4 years ago

Hey There... I'm having the same issue. What is the workaround?

eharveyjr commented 4 years ago

I just went ahead and bought new servo’s from amazon. Basically the servo you have is broke when the code ran and overheated.

On Dec 8, 2019, at 9:06 PM, drmc149 notifications@github.com<mailto:notifications@github.com> wrote:

[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.

Hey There... I'm having the same issue. What is the workaround?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sunfounder/SunFounder_PiCar/issues/7?email_source=notifications&email_token=AMTZ4Z5DBWDMFHB2SAPYFSLQXWY4RA5CNFSM4IDYLXRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGHVYNQ#issuecomment-563043382, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMTZ4Z7KIUR3AEYL3BXPEMDQXWY4RANCNFSM4IDYLXRA.

drmc149 commented 4 years ago

How does this step go when the servo is good?

eharveyjr commented 4 years ago

Once you out the handle (little white piece that controls the front wheels) on the end and run the servo install command it will turn left and turn right. It will then stop at 90 degrees, if that handle isn’t straight ahead just take it off and put it on the right way. The servo itself will stay at 90 degrees unless you turn it manually so be gentle, or you’ll have to run the code again

On Dec 9, 2019, at 4:31 AM, drmc149 notifications@github.com<mailto:notifications@github.com> wrote:

[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.

How does this step go when the servo is good?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sunfounder/SunFounder_PiCar/issues/7?email_source=notifications&email_token=AMTZ4Z466Y7ILRBC2ED3UGDQXYNA7A5CNFSM4IDYLXRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIULMA#issuecomment-563168688, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMTZ4Z7DFV7UFK2ZOCU7T7DQXYNA7ANCNFSM4IDYLXRA.

drmc149 commented 4 years ago

Hey.... Is there anything else you did?

I ordered servos and am getting the same error. They are happening on all of them so I'm feeling it is something with the package/code.

eharveyjr commented 4 years ago

Wipe the file and start from square one is the only thing i did different.

On Dec 10, 2019, at 8:04 PM, drmc149 notifications@github.com<mailto:notifications@github.com> wrote:

[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.

Hey.... Is there anything else you did?

I ordered servos and am getting the same error. They are happening on all of them so I'm feeling it is something with the package/code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sunfounder/SunFounder_PiCar/issues/7?email_source=notifications&email_token=AMTZ4ZYU4HLI5SCQKZSRYA3QYBDCFA5CNFSM4IDYLXRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGRTHIQ#issuecomment-564343714, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMTZ4Z3XWWJLPKXKC3WVMVLQYBDCFANCNFSM4IDYLXRA.

drmc149 commented 4 years ago

Did you need to press ctrl + C to terminate the package?

When you started from scratch, did you start from reinstalling Raspbian buster?

eharveyjr commented 4 years ago

Yes either ctrl + c or z.

I didn’t reinstall raspbian basically just deleted the Picar directory and files and started from there.

On Dec 10, 2019, at 8:04 PM, drmc149 notifications@github.com<mailto:notifications@github.com> wrote:

[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.

Hey.... Is there anything else you did?

I ordered servos and am getting the same error. They are happening on all of them so I'm feeling it is something with the package/code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sunfounder/SunFounder_PiCar/issues/7?email_source=notifications&email_token=AMTZ4ZYU4HLI5SCQKZSRYA3QYBDCFA5CNFSM4IDYLXRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGRTHIQ#issuecomment-564343714, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMTZ4Z3XWWJLPKXKC3WVMVLQYBDCFANCNFSM4IDYLXRA.

drmc149 commented 4 years ago

Thanks... I reread your original problem. my error is a traceback error after running servo install. I didn't calibrate it until after I set it up but my Servos didn't get hot. Is this ctrl c and traceback error expected? It isn't in the instructions.

eharveyjr commented 4 years ago

Okay got it. Yes the ctrl + c is expected just not in the instructions. After you do the servo install are you not allowed to run the front wheel test?

On Dec 11, 2019, at 3:37 AM, drmc149 notifications@github.com<mailto:notifications@github.com> wrote:

[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.

Thanks... I reread your original problem. my error is a traceback error after running servo install. I didn't calibrate it until after I set it up but my Servos didn't get hot. Is this ctrl c and traceback error expected? It isn't in the instructions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sunfounder/SunFounder_PiCar/issues/7?email_source=notifications&email_token=AMTZ4ZZVNK62IFNGMBN7QG3QYCYGFA5CNFSM4IDYLXRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGSPJSQ#issuecomment-564458698, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMTZ4Z7TDHL6PKNFG4JPOETQYCYGFANCNFSM4IDYLXRA.

drmc149 commented 4 years ago

That's good... there might not be anything wrong with my servos.

When I type ctrl +C, I am getting an error similar to this one, but mine is different. It didn't work when I tried it.

https://github.com/sunfounder/SunFounder_PiCar-V/issues/18