Closed phsilvarepo closed 1 week ago
Heya @phsilvarepo
You caught the positions and velocities, but you missed the forces! Checkout the reset call on RigidObject assets
I think the call you specifically want is set_external_force_and_torque
please let me know if this works :D
An even better option may be to move to a managed environment workflow!
I fixed my issue by adding some height to the cube's spawn positions, I believe the collision with the ground plane was causing the movement. But I will also look into your input. Thank you so much.
Hello there,
I am trying to make a Direct Workflow RL task to move Franka's hand to the position of a cube, right now it seems when the object resets sometimes it moves without apparent collision with the robot. I have ensured the velocity of the object is zero and it mantains the same orientation, the only change is in its x and y position, since it is placed on a surface. I based the reset_idx function on the Manager-Based Workflow for Franka Lift Cube Task.
Any help would be great.
Complete script: custom_task.txt