FarmBot / FarmBot/Farmbot-Web-App

Improve motor load/stall indication

Open
#2,391 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
973
Forks
356
Avg merge
1h 6m
Merged PRs (30d)
3

Description

From Marc: "The software communication back to the user regarding motor stalls need to be improved in a way that makes it easy for new users to clearly understand that a motor stall has occurred."

When a stall occurs:

- [ ] Change axis current position field and jog arrow button background to `#ed6666`.
- [ ] Change the main navbar current coordinates color of the stalled axis to `#ed6666`.
- [ ] Override axis state text to "_stalled_", with color `#ed6666`, when a stall has occurred for an axis.
- [ ] Revert above styles/text upon initiation of new movement (non-idle axis state).
- [ ] Change "Relative movement failed" toast for stalls to "Stall detected on Y axis"?

![Stall indicators (1)](https://user-images.githubusercontent.com/5524043/202295294-027bbaf9-5640-4dd7-9d53-c72dbc87bff2.jpg)

The following improvements are subject to change depending on the new 3D farm designer environment. Best not to start them until 3D designer is in production.

- [ ] Change nominal trail color to blue.
- [ ] Add `stroke-linecap: round;` to all trail segment styles.
- [ ] When a trail segment has missed steps, change trail color from blue (0) -> yellow (1-3) -> orange (4-6) -> red (7+).
- [ ] When user mouses over trail segments, increase stroke-width to 5 and change cursor to `pointer`.
- [ ] Add tooltip popup for when user clicks trail segments to indicate motor load for that segment.
- [ ] Remove current **FARMBOT MOTOR LOAD** layer/toggle, as the above changes replace that functionality.

![FarmBot Trail + Motor Load (1)](https://user-images.githubusercontent.com/5524043/202302255-76244fd7-299d-4a4e-a0f5-f4ca6446a894.jpg)

- [ ] Add motor load heat map indicators on edges of map.

![Motor Load Heat Map](https://user-images.githubusercontent.com/5524043/202007488-535b4f8a-a767-4a5a-bc23-64c073273885.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.