Skip to content

"unlabelled" door in the instance segmentation map #947

Answered by hang-yin
MhdMohammadi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MhdMohammadi , here's a proposed fix for your problem: #962

I was able to reproduce your issue with this script:

import torch as th

import omnigibson as og
import omnigibson.lazy as lazy
from omnigibson.macros import gm
from omnigibson import object_states
from omnigibson.object_states.open_state import _compute_joint_threshold
from omnigibson.utils.usd_utils import PoseAPI


def dummy_step():
    PoseAPI._refresh()
    for i in range(1):
        og.sim._non_physics_step()
    for i in range(3):
        og.sim.render()


def open_object(object):
    _, relevant_joints, joint_directions = object.states[object_states.Open].relevant_joints_info

    # Go through the relevant joints & se…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hang-yin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #824 on October 09, 2024 22:29.