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

Motor test for moving "diagonally to the right & forward" and "moving diagonally to the left & backward" is not working as expected #51

Open
sjuk opened this issue Jan 7, 2024 · 0 comments

Comments

@sjuk
Copy link

sjuk commented Jan 7, 2024

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:

  1. ssh to Raspberry Pi 3B+
  2. navigate to Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server
  3. 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

Solution:
I created a pull request to fix this issue at #47

@sjuk sjuk mentioned this issue Jan 7, 2024
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

1 participant