Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
waynekyrie committed Nov 16, 2023
1 parent 8f0aacc commit e29845f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/python/controller_usage_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def main():

goal_idx = -1
cur_goal = goal_list[0]
time.sleep(0.1)
time.sleep(1)
while not rospy.is_shutdown():
if(goal_idx == -1 or fanuc.goal_reached()):
print("Reached: ", goal_idx)
Expand All @@ -61,7 +61,7 @@ def main():
elif(goal_idx == 1):
fanuc.set_robot_travel_time(5)
elif(goal_idx == 3):
fanuc.set_robot_travel_time(0.1)
fanuc.set_robot_travel_time(2)

goal_idx += 1
if(goal_idx < len(goal_list)):
Expand Down

0 comments on commit e29845f

Please sign in to comment.