You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report] BinaryJointAction.process_actions: bool-action convention mismatch / confusing comment (True treated as open, False as close) #4670
If you are submitting a bug report, please fill in the following details and use the tag [bug].
Describe the bug
With torch.bool, False == 0 evaluates to True, so False is mapped to close_command and True is mapped to open_command (because torch.where(binary_mask, close, open) is used).
This behavior appears to contradict the inline comment (true: close, false: open) and can also be interpreted as inconsistent with a common expectation that True means “activate/close”. Even if the intended convention is “Open=1/True, Close=0/False”, the current comment is misleading and likely to cause user confusion / integration bugs.
Activity
fix: correct misleading comments and docs in BinaryJointAction
RandomOakForest commentedon Mar 5, 2026
Thank you for posting this. The team will review it.
fix: correct misleading comments and docs in BinaryJointAction (#4679)
StafaH commentedon Sep 20, 2026
Fixed by #4679.
fix: correct misleading comments and docs in BinaryJointAction (isaac…