Skip to content

Commit

Permalink
Update arm.py (#62)
Browse files Browse the repository at this point in the history
changed update_fk_iteratively to iterative_update_fk
  • Loading branch information
kev278 authored and lukeschmitt-tr committed Feb 26, 2024
1 parent e2451a0 commit 7282980
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _publish_commands(
self.core.pub_group.publish(joint_commands)
if blocking:
self.core.get_clock().sleep_for(Duration(nanoseconds=int(self.moving_time*S_TO_NS)))
if self.update_fk_iteratively:
if self.iterative_update_fk:
self._update_Tsb()

def set_trajectory_time(
Expand Down Expand Up @@ -490,7 +490,7 @@ def set_single_joint_position(
self.core.pub_single.publish(single_command)
if blocking:
self.core.get_clock().sleep_for(Duration(nanoseconds=int(self.moving_time*S_TO_NS)))
if self.update_fk_iteratively:
if self.iterative_update_fk:
self._update_Tsb()
return True

Expand Down

0 comments on commit 7282980

Please sign in to comment.