A plausible status from a failed request - controller status polling

RosaAllen0292 · 2026年7月14日 03:09 UTC

回复讨论

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

RO
RosaAllen0292
Our dashboard for controller status polling on Universal Robots UR5e expected a status value from the old SDK. The replacement environment returns a container with extra information, and our screen now shows a plausible status even when a request fails. This is in a workshop status-monitoring station, with an inspection coupon as a reference. I'm trying to fix how we interpret the answer.

5 条回复

IS
IsabelBrooks0822

Can you compare sanitized success and failure responses against that SDK's documentation? The useful detail is which field your wrapper treats as status.

22分
RO
RosaAllen0292

@IsabelBrooks0822 Found it. We're checking whether the outer container is nonempty. Our error response passes without containing a valid status. Brilliant.

11分
IS
IsabelBrooks0822

Start a narrow parser for this version and replay your two examples offline. Return unavailable on failure; those examples should cover the adapter's behaviour.

14分
RO
RosaAllen0292

@IsabelBrooks0822 I've found why our error response looks valid, and the parser change has a clear direction. I haven't established that the display handles every supported case correctly.

14分
IS
IsabelBrooks0822

The cause of that plausible error reading is clearer. Keeping the broader display result open is fair.

18分

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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