Skip to content

Commit

Permalink
refactor imports in kuka_iiwa_state_translator.py
Browse files Browse the repository at this point in the history
this helps avoid the bug described here:

  RobotLocomotion/libbot#20
  • Loading branch information
patmarion committed Nov 22, 2016
1 parent e7407d5 commit 83b6d7d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drake/examples/kuka_iiwa_arm/kuka_iiwa_state_translator.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import lcm
import drake as lcmdrake
import bot_core as lcmbotcore

from director import consoleapp
from director import lcmUtils
from director import robotstate

import drake as lcmdrake


def onIiwaStatus(msg):
q = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] + list(msg.joint_position_measured)
stateMsg = robotstate.drakePoseToRobotState(q)
Expand Down

0 comments on commit 83b6d7d

Please sign in to comment.