intuitive-robots / robohive

A unified framework for robot learning
https://sites.google.com/view/robohive
Apache License 2.0
0 stars 0 forks source link

Make Robohive useable in Kitchen Environment #3

Open Toradus opened 6 months ago

Toradus commented 6 months ago

The current starting position of the default simulation is located inside the Kitchen (nearly the same cartesian coords as the robot resting pose ). We need to either create a new clean simulation (e.g. copy the one from SimulationFramework, where the starting position is located somewhere else, or implement a simulation of the Kitchen environment. The XML + Assets for the kitchen env are already created (Max / Marcel have them), feel free to ask for a copy if you want to implement it.

omeryagmurlu commented 6 months ago

If we start polymetis with the correct configuration (eg resting pose set correctly: https://github.com/intuitive-robots/irl_polymetis/issues/5#issuecomment-2009462978), then this is a non-issue since robohive uses the resting pose from polymetis by default:

https://github.com/intuitive-robots/robohive/blob/719a194a50fe79aeb4fd51a9cd5daeba2a83c752/robohive/robot/hardware_franka.py#L155

Toradus commented 6 months ago

Hmm, we need to recheck this! From my memory the simulation starts in a slightly different location then the resting pose and the robot always made a small "jump" from resting_pose -> sim_start_pose Maybe the simulation is just configurated wrong and provides a "reset_pos" to the reset command you linked.

Toradus commented 6 months ago

Yeah, we simply have to adapt this line good catch!