summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/motor/test_motor.cc
diff options
context:
space:
mode:
authorhaller2005-04-30 22:55:24 +0000
committerhaller2005-04-30 22:55:24 +0000
commit79cee4f5f7fc5179c1476b8e9cf031059544cb56 (patch)
tree1b3d5603b6ee92a6a2bef76d3f76f85349920fe9 /2005/i/robert/src/motor/test_motor.cc
parent6ee37563decaae479821488cb5ab13838d1a4cec (diff)
Prise en charge du jack
codage de goTo Ajout de log Version qui compile, à tester
Diffstat (limited to '2005/i/robert/src/motor/test_motor.cc')
-rw-r--r--2005/i/robert/src/motor/test_motor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/2005/i/robert/src/motor/test_motor.cc b/2005/i/robert/src/motor/test_motor.cc
index 477da41..9ccd4b8 100644
--- a/2005/i/robert/src/motor/test_motor.cc
+++ b/2005/i/robert/src/motor/test_motor.cc
@@ -99,6 +99,9 @@ main (int argc, char **argv)
throw std::runtime_error("syntax error");
motor.rotation(strtod(argv[i], 0));
break;
+ case 'J':
+ std::cout << "Etat du Jack: " << (motor.jackState() ? "Retiré" : "Dedans");
+ break;
}
break;
}