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

Calibration fail : cali message received but nothing moves #69

Open
andalousam opened this issue May 8, 2021 · 2 comments
Open

Calibration fail : cali message received but nothing moves #69

andalousam opened this issue May 8, 2021 · 2 comments

Comments

@andalousam
Copy link

andalousam commented May 8, 2021

Hi, the server started fine, and everything can moves,

But neither pyQT client nor web client can do the calibration

The web client calibration part is even with more bugs

all cali command is doing nothing...

Log from the server when i try to calibrate front wheels

[08/May/2021 13:51:14] "GET /cali/?action=fwcali HTTP/1.1" 200 7670
"fwcali" command received
[08/May/2021 13:51:14] "GET /cali/?action=fwcali HTTP/1.1" 200 7670
"fwcalileft" command received
[08/May/2021 13:51:17] "GET /cali/?action=fwcalileft HTTP/1.1" 200 7670
"fwcalileft" command received
[08/May/2021 13:51:18] "GET /cali/?action=fwcalileft HTTP/1.1" 200 7670
"fwcalileft" command received
[08/May/2021 13:51:19] "GET /cali/?action=fwcalileft HTTP/1.1" 200 7670
"fwcalileft" command received
[08/May/2021 13:51:19] "GET /cali/?action=fwcalileft HTTP/1.1" 200 7670
"fwcalileft" command received

Please help, thats frustrating

@andalousam
Copy link
Author

Hi here is a little debug when sending cali request

Looks that some attribute issues in file front_wheels.py

‐-------

Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
"fwcalileft" command received
Internal Server Error: /cali/
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/usr/local/lib/python3.7/dist-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.7/dist-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/pi/SunFounder_PiCar-V/remote_control/remote_control/views.py", line 124, in cali
fw.cali_left()
File "/usr/local/lib/python3.7/dist-packages/SunFounder_PiCar-1.0.1-py3.7.egg/picar/front_wheels.py", line 133, in cali_left
self.cali_turning_offset -= 1
AttributeError: 'Front_Wheels' object has no attribute 'cali_turning_offset'
[10/May/2021 11:32:36] "GET /cali/?action=fwcalileft HTTP/1.1" 500 62917

@Chris-Schaefer-DE
Copy link

Howdy, I have the same problem and symptoms

  • get the server messages
  • but no servo moves
  • back wheel calibration does work.

### [25/Aug/2021 09:39:08] "GET /cali/? HTTP/1.1" 200 7670
"camcali" command received
[25/Aug/2021 09:39:09] "GET /cali/?action=camcali HTTP/1.1" 200 7670
"fwcali" command received
[25/Aug/2021 09:39:09] "GET /cali/?action=fwcali HTTP/1.1" 200 7670
"bwcali" command received
[25/Aug/2021 09:39:09] "GET /cali/?action=bwcali HTTP/1.1" 200 7670
"camcaliup" command received
[25/Aug/2021 09:39:13] "GET /cali/?action=camcaliup HTTP/1.1" 200 7670
"camcaliup" command received
[25/Aug/2021 09:39:13] "GET /cali/?action=camcaliup HTTP/1.1" 200 7670
"camcaliup" command received
[25/Aug/2021 09:39:14] "GET /cali/?action=camcaliup HTTP/1.1" 200 7670
"camcaliup" command received

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

2 participants