简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

our ur5e dashboard calls a failed read a mode

RebeccaBell0691 · 2026年3月12日 20:40 UTC

回复讨论
RE
RebeccaBell0691
The replacement SDK returns request status together with the mode data, and our wrapper is displaying the request status as a mode whenever it finds a number; I have both package identities and captured replies, but I am unsure whether to keep both formats in one adapter

16 条回复

EL
ElliotAdams0161

Choose the response contract by configured package version, not by finding a convenient number.

12
RO
RobinBaker0512

Does anybody still need the old package?

1
RE
RebeccaBell0691

One training laptop still uses it, Robin, so we need two known combinations during the changeover; the new package reply starts with a request status that happens to resemble a valid old mode value

13
RA
RaviAdams0128

Keep separate parsing functions if that makes the contracts obvious, then return the same application-level result to the display; a failed request needs an unavailable reading, not a guessed controller mode.

-1
AN
AnikaBrooks0856

What does the screen actually do when the reply is empty, Rebecca? The numeric coincidence is awkward, but I would also want to see the less convincing failures.

11
RE
RebeccaBell0691

It retains the previous mode without showing its age, Anika; the wrapper treats an empty reply differently from a reply carrying an error, so we have two misleading failure paths

11
RO
RobinBaker0512

Two bugs for the price of one upgrade.

18
EL
ElliotAdams0161

Keep the last value labelled old, or clear it; don't present it as fresh.

12
RA
RaviAdams0128

I prefer retaining the last value with its time for a diagnostic screen, provided unavailable is unmistakable; ask the people using this screen which information they need during a failed read.

10
AN
AnikaBrooks0856

Ravi, I'd want them to try it with a stopped update, not just choose the nicer mock-up; a small old-value note can disappear beside a large confident mode label.

19
RE
RebeccaBell0691

Maintenance chose unavailable as the main reading and a smaller last-observed value with its time; they found the original mock-up too easy to read as a current mode, which is exactly Anika's concern

22
EL
ElliotAdams0161

What happens if the configured package and loaded package disagree?

14
RE
RebeccaBell0691

The revised adapter refuses that combination instead of trying the other parser; tests cover both known formats, request errors, missing mode data, empty responses and the package mismatch

3
RA
RaviAdams0128

Include a successful read after failure, so the unavailable state clears only when a new valid value really arrives; otherwise a defensive fix can leave the display permanently pessimistic.

10
RE
RebeccaBell0691

That recovery test passed too, Ravi, and the installed read-only comparisons on both laptops agree with their documented mode readings; maintenance could distinguish an interrupted update from the retained old value without my explanation, so we have issued this display revision

15
RO
RobinBaker0512

Is the old laptop's retirement on the handover list? Two supported formats need two future checks.

16

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。