Server is running on Raspberry Pi 3B+ with latest Raspberry Pi OS 64-Bit (headless).
Note, that it's the smart car with the mecanum wheels.
Steps to reproduce:
ssh to Raspberry Pi 3B+
navigate to Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server
execute "sudo python test.py Motor"
=> The last too moves "diagonally to the right and forward" and "diagonally to the left and backward" don't work.
Output:
~/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server $ sudo python test.py Motor
Program is starting ...
The car is moving forward
The car is going backwards
The car is turning left
The car is turning right
The car is moving left
The car is moving right
The car is moving diagonally to the left and forward
The car is moving diagonally to the right and backward
The car is moving diagonally to the right and forward
The car is moving diagonally to the left and backward
End of program
Server is running on Raspberry Pi 3B+ with latest Raspberry Pi OS 64-Bit (headless).
Note, that it's the smart car with the mecanum wheels.
Steps to reproduce:
Output:
Solution: I created a pull request to fix this issue at https://github.com/Freenove/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/pull/47