learningLogisticsLab / robosuite

robosuite: A Modular Simulation Framework and Benchmark for Robot Learning
https://robosuite.ai
MIT License
5 stars 3 forks source link

EEF limtis or Fallen Object + EVAL done triggered every rollout if EEF breaches limit #9

Open rojas70 opened 2 years ago

rojas70 commented 2 years ago

Currently, when EEF limtis + EVAL are running, and those limits are violated, every rollout in the EVAL gets terminated early on. This continues until the eval number of steps/rollouts is completed.

The same thing happens if an object falls.

rojas70 commented 2 years ago

After further revision, it seems that EEF workspace works well.

  1. Still, after a fallen_object, if we are using HER, reset_internal() L1306 gets called (self.update_object_goal_her_poses()) but here, new observables have not yet been updated and the setting of an old object triggers an exception.
  1. Checks for fallen objects happens inside picking.py._get_obs(), which gets called in the picking.py.step() method under a control loop (about 30 cycles per policy step).