Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions resources/external_control.urscript
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,13 @@ while control_mode > MODE_STOPPED:
end
else:
textmsg("Socket timed out waiting for command on reverse_socket. The script will exit now.")
if control_mode == MODE_FREEDRIVE:
end_freedrive_mode()
end
control_mode = MODE_STOPPED
kill thread_move
kill thread_trajectory
kill thread_script_commands
stopj(STOPJ_ACCELERATION)
halt
end
Expand Down
Loading