M4 ESP32 UI for stop vs abort

Feedback requested: does this seem ok for “abort” vs “stop”:

My intent is to allow stop (square icon) to stop the maslow and gcode job running, but not require a restart/power off. while abort (“not” icon) will act like the stop does now (eStop).

I’ll probably pull request this soon, no matter what, to get the functionality out there, but I can change it if the iconography or position of this is not ideal, and would love community feedback, Realizing EVERYone has opinions on user interface, and its always the user interface’s fault for everything :slight_smile:

3 Likes

currently the maslow_estop is something specific to maslow.

fluidNC has ! to halt all movement, and also a door open signal that freezes
everything.

it would probably be best to verify that they stop all movement (including not
letting the pid loop continue, so it may require inserting a test inside the
loop) and then switch to using those instead of a maslow-proprietary command.

(fluidnc already recovers from those events happening)

David Lang

2 Likes

Thanks David. I’ll look into calling ! on “abort” before I PR this

How about the word ‘ABORT’ instead of the ‘forbidden’ icon ? Using the forbidden icon is confusing to me.

In industrial robotics, this is called ‘Emergency Motion Off’, or EMO, which stops motion but does not remove power from the controller, and is different from ‘Emergency Power Off’ or EPO, which removes power from everything. EMO and EPO would probably be confusing to many people, so best not to use them.

2 Likes

Fair enough, given we already have english words on this page, and not really any translation support yet…

image

2 Likes

Looks like the current javascript/html code is already calling ! on pause, but also this code is a bit confusing in that there is code in here to set the buttons up based on grbl state, but it does not appear to be used right now. I’m going to take some time to figure this out, clean up a bit and test a lot before I pr.

The actual change to “stop” to make it call ! is simple, and I’ve confirmed it works well, but I think the UI state is not reseting “pause” to be “resume” (~) any more, so I’m trying to unwind that right now.

Hi,
Would it be possible to move the button away from “mm” or “define home”

In some occassion I inadvertently hit the stop button instead… And you know what that means… Un tie…Retract… Extend…

If possible

1 Like

The more I look at and use this, the more I want to rearrange things. I also have accidentally hit the wrong thing a few times on my little tablet. The files dropdown is something I can barely get my fat finger to click and it also is close to that “bad” button.

Current thought: 3 buttons “Play” and “stop” and “abort”. When the job is running, “play” becomes “pause”. when paused or stopped it becomes “play” again. When stop is hit, it just stops the machine and the job. No reboot required.

When abort is hit, it is like hitting stop today, but it will also stop motion and require reboot.

It looks to me like this is growing to be a slightly bigger job than I was thinking :smiley: so I may be a bit…

Also, no shade intended on anyone that worked on this before me! It works fine “in the lab” (i.e. on my computer) but some of this is difficult on my small device, which is what I’ll run jobs on mostly.

2 Likes

The most universal symbol for e-stop I have seen is this:

(image from Pixabay)

I believe “Not Halt” is Emergency Stop in German

1 Like

I tried to incorporate the best of the above comments (and some unnecessary icons, lol) :

image

Here is an experimental UI if anyone wants to take it for a spin. (save your old index.html.gz!)

Feel free to post feedback.

1 Like

And today, more icons — what do people think of these extend all, retract all and calibrate icons?

image

2 Likes

I’m not a fan of icons. As a practical matter, all the documentation and help is in English, so someone who can’t work their way through it is not going to be helped by icons, and too many icons only work if you know what they mean (and it’s a lot harder to say ‘press the button with the four arrows pointing away from a circle in the center’ than ‘press extend’)

4 Likes

Plus people will confuse the calipers with a pipe wrench. It took me a minute to realize that those were calipers and meant ‘calibrate’. I vote for words too.

4 Likes

I’m in favor of both. English speakers are, I believe, the largest part of the user base, so might as well cater to them. The icons will help the non-English speakers figure it out. Eventually we can have options to change the words to other languages.

3 Likes

WFD wrote:

Plus people will confuse the calipers with a pipe wrench. It took me a minute to realize that those were calipers and meant ‘calibrate’. I vote for words too.

I didn’t catch on that they were calipers until you posted it, I thought it was
a wrench as well.

David Lang

1 Like

:smile: That is exactly the feedback I expected, thanks! Spot on that we already went too far down the english only path here. I’ll add words to the icons I already have and leave the setup dialog alone.

Note too that for me, I have little ego about code, so keep the comments coming as I learn this project!

1 Like

If I search the web for images of “calibrate icon” I see a lot of target-like arrangements. Maybe that would be more obvious. Of course calibration is not a word used in everyday conversation, so it’s not surprising that we’re having trouble coming up with an icon.

2 Likes

The UI looks great. I do prefer words but maybe a combo could work.

Once we get the bugs worked out and we get the capability to start and stop the router with a relay. It would be nice to have a manual Router On and Off buttons on the control UI. I used this function quite a bit on the old maslow.

1 Like

2 Likes

re: combo of icons and words, think about using this on a small phone, buttons
big enough for both may be an issue.

David Lang

2 Likes