This is a teleoperation program I created to control a manipulator using your real hand and a stereo camera. The stereo camera finds your hand's position, then converts that to 3 dimensional world coordinates (in meters) and then feeds that to the inverse kinematics code of the manipulator, which I created using optimization via PyTorch. The code also finds the distance between your thumb and pointer finger so that when you pinch them together the gripper on the manipulator closes.
I am currently working on using this teleoperation to make the manipulator autonomously pick up objects, by first training the arm on my teleoperation, then using a transformer to train it in episodes.
All The code for the current teleoperation system can be found in code/teleop. I am currently working on refreshing the teleop code in the folder code/updated_arm_controller (Go here for an updated manipulator control API)
- The manipulator I used for testing is the Waveshare-M2-S (https://www.waveshare.com/roarm-m2-s.htm)
- I use a ZED Stereo Camera to read in the depth
- And I use an Intel RealSense Camera for the looking at the arm for automation
YouTube video coming soon