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

Add driver and test code for engineer vehicle arm #60

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AzulRadio
Copy link
Member

@AzulRadio AzulRadio commented Jul 27, 2023

Need 3 A1, 3 M4310, 1 M3508, and a GPIO bool sensor to test this.

All motor IDs, GPIO ports, and other config params should be set in vehicle/Engineer/arm_config.h.

Expected behavior:

vehicle/Engineer/arm.cc is the arm test thread.
It should turn each motor for PI/16 degrees every 2 seconds and stop at the defined limitation in arm_config.h.
This has a 2 sec stop before running anything.

vehicle/Engineer/arm_test.cc is the motor test thread.
It tests 3 types of motors. One of each type.
Tester should enable 3 motors in lines 39 - 41.
Push the white key and the motors should be enabled.
Then, push the white key and the motors should turn for PI/4. Push again and they should go back.

@AzulRadio AzulRadio changed the title Add test code for engineer vehicle arm Add driver and test code for engineer vehicle arm Jul 27, 2023
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

Successfully merging this pull request may close these issues.

1 participant