Skip to content
Snippets Groups Projects
Commit 9462a59e authored by m-guberina's avatar m-guberina
Browse files

cm

parent 1787f715
Branches
No related tags found
No related merge requests found
No preview for this file type
......@@ -35,7 +35,7 @@ if __name__ == "__main__":
moveL(args, robot, Mgoal)
else:
goal_transform = pin.SE3.Identity()
goal_transform.translation[0] = 0.1
goal_transform.translation[1] = 0.1
moveLDualArm(args, robot, Mgoal, goal_transform)
robot.closeGripper()
robot.openGripper()
......
No preview for this file type
......@@ -281,10 +281,10 @@ class ControlLoopManager:
if i % 20 == 0:
# don't send what wasn't ready
if self.args.visualize_manipulator:
if self.robot_name != "yumi":
if self.robot_manage.robot_name != "yumi":
self.robot_manager.visualizer_manager.sendCommand({"q" : self.robot_manager.q,
"T_w_e" : self.robot_manager.getT_w_e()})
else self.robot_name != "yumi":
else:
T_w_e_left, T_w_e_right = self.robot_manager.getT_w_e()
self.robot_manager.visualizer_manager.sendCommand({"q" : self.robot_manager.q,
"T_w_e" : T_w_e_left})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment