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
Currently we only have 2 bins (1 picking bin & 1 placing bin)
Need to add the third one on the left of the picking bin to implement ITER.
How are the bins loaded?
In picking.py we need to import BinsArena from robosuite.models.arena
In Arena: bins_arena.xml we have table_full_size (3-tuple): x, y, z of the table, table_friction (3-tuple): 3 mujoco friction, bin1_pos (3-tuple): Absolute cartesian coordinates
In picking.py__init__ we can initialise bin1_pos = (0.1, -0.25, 0.8), self.bin1_pos = np.array(bin1_pos)
In picking.pyget_placement_initializer we have reference_pos = self.bin1_pos for pickObject
The text was updated successfully, but these errors were encountered:
# This is the 1st commit message:
Fix fallen objs
In Picking.return_fallen_objs():
- Refactor for loop into list comp
- Tackle base case wehen we load 1 obj and the boject fell. We will return empty goal obj name, origin pos, unit quat, exactly like what we did in Picking.get_goal_object()
- Turn on fallen obj flag inside return_fallen_objs() function if all objects has fallen
In picking.py
- Rename self.fallen_objs_flag to self.all_objs_fallen_flag
In Picking._reset_internal:
- If fallen objs flag is on, copy obj names, not yet cons obj names from fallen objs back to obj names
- Proceed to clear fallen objs
- Turn off flag
In Picking.step()
- Update fallen obj flag name
# This is the commit message #2:
merge
# This is the commit message #3:
accepted merge changes
# This is the commit message #4:
Fix fallen objs, comment fallen objs
Currently we only have 2 bins (1 picking bin & 1 placing bin)
Need to add the third one on the left of the picking bin to implement ITER.
How are the bins loaded?
picking.py
we need toimport BinsArena from robosuite.models.arena
bins_arena.xml we
havetable_full_size (3-tuple): x, y, z of the table
,table_friction (3-tuple): 3 mujoco friction
,bin1_pos (3-tuple): Absolute cartesian coordinates
picking.py
__init__
we can initialisebin1_pos = (0.1, -0.25, 0.8)
,self.bin1_pos = np.array(bin1_pos)
picking.py
get_placement_initializer
we havereference_pos = self.bin1_pos
for pickObjectThe text was updated successfully, but these errors were encountered: