isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
1.85k stars 707 forks source link

Possibility of switching control of robots for a bimanual teleoperation setup? #470

Closed mikelasa closed 2 months ago

mikelasa commented 3 months ago

Hello,

I used the code of the teleoperation example with the spacemouse to build my own environment where I have two robots. I'm interested in switching the control of both end effectors during the simulation, so I can move both robots for a manipulation task.

Is possible to do so? if so, I would appreciate any hint or orientation about how to develop this!

Thanks in advance

jtigue-bdai commented 3 months ago

To clarify are you looking to be able to switch control between two arms using the same input or to directly control both arms at the same time with the same input?

mikelasa commented 3 months ago

My idea is to switch the control of two arms with the same input as you say during the simulation.

But being honest the second option is also interesting.

jtigue-bdai commented 2 months ago

You will have to create separate sets of actions for each robot and then handle the switching of applying the space mouse delta command somewhere before passing the the action to step. Without knowing your whole code setup I would imagine this would happen in the pre_process_actions

mikelasa commented 2 months ago

Understood! so far I dont have a manager based environment, I'm struggling with the implementation of it. Right now I have a controller running for both robots by applying the torques directly to the articulations. But the idea is to develop a Bimanual manipulation environment with a custom Cartesian impedance controller to do imitation learning with the robots.

When you mean a separate set of actions I dont fully understand you, can you extend the explanation please?