I have the server running on the Pi, but I’m unsure how to access it on PC. Did I miss a step. Is there a PC Client I install? Thanks.
I don’t know if I am using the right client, but I got it off GitHub. Now I’m getting this error on the Pi side.
[03/Aug/2023 17:42:37] “GET /connection_test/ HTTP/1.1” 200 2
Internal Server Error: /run/
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 87, in run
fw.ready()
NameError: name ‘fw’ is not defined
[03/Aug/2023 17:42:38] “GET /run/?action=fwready HTTP/1.1” 500 59706
Internal Server Error: /run/
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 70, in run
bw.ready()
NameError: name ‘bw’ is not defined
[03/Aug/2023 17:42:38] “GET /run/?action=bwready HTTP/1.1” 500 59739
Internal Server Error: /run/
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 100, in run
cam.ready()
NameError: name ‘cam’ is not defined
[03/Aug/2023 17:42:38] “GET /run/?action=camready HTTP/1.1” 500 59791
-
Please follow our tutorial steps:
Install the source code:
cd ~/
git clone GitHub - sunfounder/SunFounder_PiCar-V: Smart Video Car Kit V2.0 for Raspberry Pi from SunFounder -b V3.0
cd ~/SunFounder_PiCar-V
sudo . /install_dependencies -
Run the server on the Raspberry Pi:
cd ~/SunFounder_PiCar-V/remote_control
sudo python3 manage.py migrate
sudo . /start -
The server is ready, go ahead and start the client:
Go to PC browser to access the car’s server:
http://<RPi_IP_address>:8000/
Example: http://199.168.0.168:8888/
You will enter the page, click LET’S ROCK to enter the operation interface.