56
●Motor movement direction is incorrect
Due to the different batches of motors, when the same signal is given, the direction of rotation of the motor may
be different. We have set an interface to adjust the direction of rotation of the motor in the program. You need to open
move.py. In the program part, you can see To the following variable definitions:
Dir_forward
=
Dir_backward =
1
left_forward
=
left_backward =
1
right_forward
=
right_backward
=
If all your motor actions are reversed, just change Dir_forward = 0 to Dir_forward = 1,Just change Dir_backward
= 1 to Dir_backward = 0.
If you only have one motor reversed, you only need to change the corresponding set of variables.
●After running the server, I get an error and can't find config.txt
This is because the installation script did not copy con fi g.txt to the specified location due to permissions
problems during installation. The new version of webServer will not use this file, only the old version of the server will use
it. Copy the server folder of the Raspberry Pi to / etc / of the Raspberry Pi, use the following command
sudo cp -f //home/pi/adeept_PiCar-B/server/config.txt //etc/config.txt
Just replace adeept_PiCar-B above with your product name, we will take PiCar-B as an example here.
●Running GUI.py reports ip.txt NotFound error
The correct mode of operation is to execute GUI.py directly in the GUI directory. If you execute GUI.py in another
directory, it will look for ip.txt in your current directory.
0
0
0
0
Need help?
Do you have a question about the AWR Adeept Wheeled Robot and is the answer not in the manual?