Revision 1202
Station/server communication:
- Implemented backspace handling
- Implemented all test starting commands with parameter
Tests:
- Added functions for testing only one component of a kind
- Made function names consistent with server commands
test_motors.c | ||
---|---|---|
37 | 37 |
test_motors_direction_velocity (direction1, direction2, vel); |
38 | 38 |
} |
39 | 39 |
|
40 |
void test_motors (void)
|
|
40 |
void test_motor_all (void)
|
|
41 | 41 |
{ |
42 | 42 |
usb_puts("# Testing motors" NL); |
43 | 43 |
|
... | ... | |
51 | 51 |
|
52 | 52 |
usb_puts("# Testing motors finished" NL); |
53 | 53 |
} |
54 |
|
|
55 |
void test_motor (uint8_t num) |
|
56 |
{ |
|
57 |
// TODO implement single motor testing |
|
58 |
if (!(num==1 || num==2)) return; |
|
59 |
|
|
60 |
test_motor_all (); |
|
61 |
} |
Also available in: Unified diff