Commit 2fafa72d authored by Mathieu Reymond's avatar Mathieu Reymond
Browse files

typo and indent fixes

parent ecb98207
......@@ -23,8 +23,8 @@ class BaxterAgent(object):
self.is_train = config['is_train']
self.navs {'left': baxter_interface.Navigator('left')
'right': baxter_interface.Navigator('right')}
self.navs = {'left': baxter_interface.Navigator('left'),
'right': baxter_interface.Navigator('right')}
if self.is_train:
self.tree = DecisionTreeGR()
......
......@@ -124,14 +124,14 @@ class Baxter(object):
arm = self.left
else:
arm = self.right
arm.move(arm.pick)
arm.gripper.open()
rospy.sleep(3)
arm.move(arm.grasp)
rospy.sleep(1)
arm.close()
rospy.sleep(1)
arm.move(arm.pick)
arm.move(arm.neutral)
arm.open()
arm.move(arm.pick)
arm.gripper.open()
rospy.sleep(3)
arm.move(arm.grasp)
rospy.sleep(1)
arm.close()
rospy.sleep(1)
arm.move(arm.pick)
arm.move(arm.neutral)
arm.open()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment