summaryrefslogtreecommitdiff
path: root/2003/i/buzz/src/busp/test_busp.cc
diff options
context:
space:
mode:
authorschodet2003-05-26 08:57:42 +0000
committerschodet2003-05-26 08:57:42 +0000
commit349546cd507e0a1d3259c7a92aa2c89bb36736e0 (patch)
treeccea057550b314f8e9cebe6988a0e25ce9e94b8c /2003/i/buzz/src/busp/test_busp.cc
parent44b062ea034a817ac03192980e9e8bfc1ac0f9b8 (diff)
Boulette de merde sur l'inversion des cables.
Ajout de GPS.
Diffstat (limited to '2003/i/buzz/src/busp/test_busp.cc')
-rw-r--r--2003/i/buzz/src/busp/test_busp.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/2003/i/buzz/src/busp/test_busp.cc b/2003/i/buzz/src/busp/test_busp.cc
index 154e83c..3ca65e5 100644
--- a/2003/i/buzz/src/busp/test_busp.cc
+++ b/2003/i/buzz/src/busp/test_busp.cc
@@ -57,6 +57,12 @@ main (int argc, char **argv)
busp.reset ();
cout << "reset" << endl;
}
+ else if (strcmp (argv[1], "gps") == 0)
+ {
+ // Lit une trame sur le GPS.
+ busp.getGPS ().read ();
+ busp.getGPS ().dump ();
+ }
else
{
// Lecture.
@@ -99,6 +105,7 @@ main (int argc, char **argv)
<< "\t" << argv[0] << " reset" << endl
<< "\t" << argv[0] << " irq" << endl
<< "\t" << argv[0] << " capteurs" << endl
+ << "\t" << argv[0] << " gps" << endl
<< "\t" << argv[0] << " actionneurs [<n> <val>...]" << endl
<< "\t" << argv[0] << " actionneurs all <set> <reset>" <<
endl