From 6a2ff869d9144e04a9c2dd429725d598f024a2fc Mon Sep 17 00:00:00 2001 From: krishauser Date: Mon, 8 Feb 2016 18:38:26 -0500 Subject: [PATCH] Simple test file --- common/Testing/simpletest.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 common/Testing/simpletest.py diff --git a/common/Testing/simpletest.py b/common/Testing/simpletest.py new file mode 100644 index 0000000..75d9a4b --- /dev/null +++ b/common/Testing/simpletest.py @@ -0,0 +1,13 @@ +from Motion import motion + +motion.setup(mode='client',klampt_model='klampt_models/baxter_with_parallel_grippers',libpath='.') + +motion.robot.startup() +try: + while True: + raw_input() + print motion.robot.left_limb.sensedPosition() +except KeyboardInterrupt: + motion.robot.stopMotion() + +