leap-hand / LEAP_Hand_Sim

http://leaphand.com/
MIT License
107 stars 18 forks source link

Is cube state perception used from real world? #3

Closed animesh-garg closed 1 year ago

animesh-garg commented 1 year ago

HI team Great job with this effort.

anag004 commented 1 year ago

Hi Animesh,

Thanks for the questions!

How is the cube state inferred or estimated. is the policy running with perception in the loop?

The cube state is implicitly estimated through proprioception (there are no perception / touch sensors). In particular, the recurrent policy uses the discrepancy between commanded and observed joint angles to infer the presence of an object which allows it to adapt behavior automatically. A simple way to test that adaptation is happening is to disable collisions in sim or remove the cube in real and observe that the fingers collapse on themselves.

Is the policy running with simulaiton in the loop using sim state of the cube but applying the same actions on the real object?

No, there is no simulation in the loop at deployment time. At deployment time, observations to the policy are computed using joint angles on the real hand. These are fed through the policy to obtain actions which are then directly commanded to the motors.

Hope this helps :)