GalileoBotball / Botball Library
2 лайк(-ов)
0 форк(-ов)
7 файл(-ов)
Последняя активность 1 month ago
| 1 | // Test program: verifies all motors and servos are functioning. |
| 2 | // Run this on the robot before competition to check hardware. |
| 3 | |
| 4 | #include <kipr/wombat.h> |
| 5 | |
| 6 | void test_servo(int port) { |
| 7 | printf("testing servo %d\n", port); |
| 8 | printf("\tup 2 seconds\n"); |
| 9 | enable_servo(port); |
| 10 | enable_servos(); |
jesse / Botball Team Docs
0 лайк(-ов)
0 форк(-ов)
5 файл(-ов)
Последняя активность 1 month ago
Coaching guide, student coding reference, troubleshooting guide, and self-test programs (standard + mecanum) for middle school Botball teams.
Troubleshooting Guide
When something isn't working, don't just start changing code. Observe first, then figure out what's actually wrong.
Step 1: Run the Self-Test
Before assuming it's a code problem, run self_test.c. It will test each motor and servo one at a time. This rules out hardware problems quickly.
Новее
Позже