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
Blocking control with the new server-client setup should exactly match blocking control in the old setup. However, for non-blocking control we still need to replicate the functionality of adaptive_wait from the old setup. The adaptive_wait function waits to trigger the call to get the observation such that the observation is returned approximately after the full step duration has passed. Thus, it calls curent_obs() at current_time + step_duration - time_to_get_obs where time_to_get_obs is measured empirically as the time it takes to get the image from the camera (0.08 seconds). In eval.py, we're calling curent_obs() at current_time + step_duration which will return an image from later than in the old setup. If we want to fix this, we should probably add a function in the eval script that waits for the right amount of time before calling widowx_client.get_observation().
Low-priority since all our provided checkpoints are intended to be evaluated with blocking control.
The text was updated successfully, but these errors were encountered:
Blocking control with the new server-client setup should exactly match blocking control in the old setup. However, for non-blocking control we still need to replicate the functionality of
adaptive_wait
from the old setup. Theadaptive_wait
function waits to trigger the call to get the observation such that the observation is returned approximately after the full step duration has passed. Thus, it callscurent_obs()
atcurrent_time + step_duration - time_to_get_obs
wheretime_to_get_obs
is measured empirically as the time it takes to get the image from the camera (0.08 seconds). Ineval.py
, we're callingcurent_obs()
atcurrent_time + step_duration
which will return an image from later than in the old setup. If we want to fix this, we should probably add a function in the eval script that waits for the right amount of time before callingwidowx_client.get_observation()
.Low-priority since all our provided checkpoints are intended to be evaluated with blocking control.
The text was updated successfully, but these errors were encountered: