Skip to content

Commit

Permalink
bugFix: ros-industrial#61 - fix joint-name remapping in industrial_ro…
Browse files Browse the repository at this point in the history
…bot_simulator
  • Loading branch information
JeremyZoss committed May 22, 2013
1 parent 69b9dfe commit 31e336a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion industrial_robot_simulator/industrial_robot_simulator
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class IndustrialRobotSimulatorNode():

for point in msg_in.points:

self._to_controller_order(msg_in.joint_names, point)
point = self._to_controller_order(msg_in.joint_names, point)
self.motion_ctrl.add_motion_waypoint(point)

except Exception as e:
Expand All @@ -332,6 +332,7 @@ class IndustrialRobotSimulatorNode():
pt_rtn = copy.deepcopy(point)
pt_rtn.positions = self._remap_order(self.joint_names, keys, point.positions)

return pt_rtn

def _remap_order(self, ordered_keys, value_keys, values):

Expand Down

0 comments on commit 31e336a

Please sign in to comment.