UR5e reporting test passes with the read removed

ChenBarnes0529 · 2026年5月10日 09:39 UTC

回复讨论

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

CH
ChenBarnes0529
I commented out the controller read while tracing our bracket report and the offline test still passed. The mock supplies true everywhere, then the screen test congratulates it for being true. Not the most demanding colleague. I want useful tests for the installed read-only interface while the station is unavailable. We have a few captured responses, but no failure examples in the suite. Where would you start before trusting the displayed status or export?

7 条回复

SA
SarahCarter1024

Which boundary are those captured responses from? Feed the fake into the same parsing path as the real interface, otherwise you can test the screen perfectly while bypassing the broken read again.

17分
CH
ChenBarnes0529

They are the raw replies our adapter consumes. We replaced the all-true helper with those shapes and added valid unavailable status, read failure and malformed replies. The parser now fails visibly on malformed data instead of treating a nonempty object as success.

4分
IM
ImranBrown0914

What does the operator actually see on a read failure? Our screen once kept the last cheerful status and tucked the error into a log. You could tell something was wrong only if you already knew to look for it.

16分
CH
ChenBarnes0529

That's our next failure. The screen changes, but the export keeps the last good status without its age. I've asked the maintainer to make both preserve the read outcome and the time of the last valid observation.

16分
SA
SarahCarter1024

Have you tested recovery after that failed read as well? The corrected export should not remain stuck on an old failure once a genuinely new observation arrives.

7分
CH
ChenBarnes0529

Yes. Saved sequences now cover first-read failure, malformed response, valid status, later failure, recovery and reopening. Screen and export agree on current availability and the identity and time of any retained observation. The covering user could distinguish old from current without my commentary. This closes the reporting bug; comparison with the live interface is still on the station's return list.

10分
IM
ImranBrown0914

Thanks for checking it with the covering user. That is the person who has to decide whether the screen is worth believing when you aren't beside it.

12分

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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