Our offline UR5e screen likes every method, including the wrong ones

Diane_Campbell · 2026年6月20日 00:03 UTC

回复讨论

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

DI
Diane_Campbell
Cell reserved for commissioning. My fixture-status mock returns true to everything. How do I test responses without claiming robot simulation?

12 条回复

LU
LuisBarnes0608

Give it an explicit interface matching the installed version. Unsupported calls must fail. Then use identified response examples to test parsing and the expected screen state separately.

8分
DI
Diane_Campbell

It accepts invented method names. We have saved replies, but no version recorded with them yet.

13分
RA
RachelArcher0435

Keep those captures, but label the version gap. They can help investigate the parser without becoming the authority for the intended interface. Compare against the actual installed API contract before calling the substitute faithful.

19分
GR
GraceBarnes0581

When I've handed over test results, people read passed and stop there; who will see exactly which response cases you exercised and which are still missing?

3分
ME
MeiBell0690

Grace, the test names should say that plainly, not hide the cases in the mock's internals; a report headed robot tested would be nonsense here

15分
DI
Diane_Campbell

Application maintainer gets the case list. Scope says parser and display only. Version identified from the original capture environment now.

11分
LU
LuisBarnes0608

Include failure after a successful response. A parser can reject the failure correctly while the screen keeps showing the earlier value as current.

19分
RA
RachelArcher0435

Also distinguish a valid negative fixture state from a failed request. Both may contain something false, but one is an observation and the other leaves you without a current observation.

8分
DI
Diane_Campbell

That distinction found a bug: request failure displays fixture absent. It should show no current reading, not a physical judgement.

21分
ME
MeiBell0690

Keep that example as a regression case. Otherwise someone can simplify the two states back into one boolean later and admire the shorter code

19分
DI
Diane_Campbell

Fixed in the offline version. Valid absent and failed read display differently. Thanks Rachel. Malformed responses and stale-value presentation still need tests.

-2分
LU
LuisBarnes0608

Leave those gaps on the handover list. The corrected example is useful evidence about the application; comparison with the real controller remains another step.

24分

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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