Skip to content

Commit

Permalink
Revert a bit to see if this have impact on the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
urrsk committed Jun 29, 2023
1 parent 0992492 commit 45792e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/external_control.urscript
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,6 @@ while keepalive > 0 and control_mode > MODE_STOPPED:
elif control_mode == MODE_FREEDRIVE:
textmsg("Leaving freedrive mode")
end_freedrive_mode()
else:
kill thread_move
stopj(STOPJ_ACCELERATION)
end

# If tool is in contact, tool contact should be ended before switching control mode
Expand All @@ -463,6 +460,7 @@ while keepalive > 0 and control_mode > MODE_STOPPED:
thread_move = run speedThread()
elif control_mode == MODE_FORWARD:
kill thread_move
stopj(STOPJ_ACCELERATION)
elif control_mode == MODE_SPEEDL:
thread_move = run speedlThread()
elif control_mode == MODE_POSE:
Expand Down

0 comments on commit 45792e7

Please sign in to comment.