Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inquiry on Controlling Additional Wrist Motors with H1 Robot in Teleoperation Mode #18

Open
jluuser opened this issue Dec 2, 2024 · 1 comment

Comments

@jluuser
Copy link

jluuser commented Dec 2, 2024

Hello,

I am currently working on a teleoperation project using the Unitree H1 robot. So far, I have successfully implemented control for the robot’s Inspire Hand and arm motors. However, I now want to extend the functionality to control additional wrist motors that have been externally mounted on the robot.

I have the following questions:

  1. Does the current teleoperation system for the H1 robot natively support controlling such externally added wrist motors?
  2. If not, could you suggest any modifications or integrations to enable this functionality within the existing framework?
  3. Are there specific topics, DDS configurations, or code files I should focus on to achieve this?

Your guidance would be greatly appreciated. Thank you for your excellent work on this project!

@silencht
Copy link
Collaborator

silencht commented Dec 3, 2024

1.Does the current teleoperation system for the H1 robot natively support controlling such externally added wrist motors?

As far as I know, the number of motors set in the DDS message type for H1 is 20 (refer to website1 and website2), with no available idle motors.

Therefore, it might be somewhat difficult to directly use the official DDS communication to control additional wrist motors.

2.If not, could you suggest any modifications or integrations to enable this functionality within the existing framework?
3.Are there specific topics, DDS configurations, or code files I should focus on to achieve this?

Is your motor produced by Unitree or a third-party manufacturer? Additionally, is your goal to increase the degrees of freedom of H1's arm to achieve better operational flexibility for teleoperation?
If you intend to modify the H1 into a 7-DOF robotic arm similar to the H1_2, you will also need to update its URDF to adapt to inverse kinematics solving.

Regarding the control of additional motors, you might consider manually writing a program on H1's user computing unit to subscribe to control commands and publish motor states. Then, under the teleoperation project, you can write another program to publish control commands and subscribe to motor states (just like what the robot_control/robot_arm.py file does.).

Perhaps you can first contact our technical support team to check if there have been similar cases for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants