Changeset 584:8df35f33dbdd
- Timestamp:
- 06/05/08 17:14:17 (7 months ago)
- Author:
- Maxime Petazzoni <maxime.petazzoni@…>
- Branch:
- default
- Message:
-
Use a more comprehensive test of RCMD.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r551
|
r584
|
|
| 1 | | /** Tag-route follower. |
| | 1 | /* Copyright (c) 2007-2008 the NxOS developers |
| 2 | 2 | * |
| 3 | | * Replays a recorded tag route. |
| | 3 | * See AUTHORS for a full list of the developers. |
| | 4 | * |
| | 5 | * Redistribution of this file is permitted under |
| | 6 | * the terms of the GNU Public License (GPL) version 2. |
| 4 | 7 | */ |
| | 8 | |
| | 9 | /** Tag-route follower. Replays a recorded tag route. */ |
| 5 | 10 | |
| 6 | 11 | #include "base/types.h" |
| … |
… |
|
| 17 | 22 | #define ROUTE_FILE "tag.data" |
| 18 | 23 | |
| 19 | | #define TEST_DATA "print hello world\nmove A,B -90 500\nwait 2000\nplay 1500 1000 sync\nprint done" |
| | 24 | #define TEST_DATA "print hello world\nmove A,B 100 1500\nwait 2000\nplay 1500 1000 sync\nprint done" |
| 20 | 25 | #define DATA_SIZE strlen(TEST_DATA) |
| 21 | 26 | |