You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local velocity = norm(step_end[idx] - step_start[idx]) / time
101
101
if velocity > JOINT_IGNORE_SPEED:
102
-
local str = str_cat(str_cat("Velocity ", velocity), str_cat(str_cat(" required to reach the received target ", step_end), str_cat(str_cat(" within ", time), " seconds is exceeding the joint velocity limits. Ignoring commands until a valid command is received.")))
102
+
local str = str_cat(
103
+
str_cat("Velocity ", velocity), str_cat(
104
+
str_cat(" required in joint ", idx), str_cat(
105
+
str_cat(" to go from ", step_start[idx]), str_cat(
106
+
str_cat(" to ", step_end[idx]), str_cat(
107
+
str_cat(" within ", time), " seconds is exceeding the joint velocity limits. Ignoring commands until a valid command is received.")))))
103
108
if violation_popup_counter == 0:
104
109
# We want a popup when an invalid commant is sent. As long as we keep sending invalid
105
110
# commands, we do not want to repeat the popup.
106
-
popup(str, title="External Control error", blocking=False, error=True)
111
+
popup(str, title="External Control speed limit", blocking=False, warning=True)
107
112
end
108
113
if violation_popup_counter * get_steptime() % 5.0 == 0:
109
114
# We want to have a log printed regularly. We are receiving motion commands that are not
110
115
# feasible. The user should have a chance to know about this.
0 commit comments