Closed des-zhong closed 4 months ago
The arm has a parallel kinematics (i.e., it has closed kinematics chains). The URDF format does not support closed kinematics chains: when you import the model in Gazebo, two joints are detached. To simulate the arm in Gazebo you need to write a plugin to keep the chains closed by setting the value of one of their joints (or by applying the appropriate torque). I never tried simulating closed chains in Gazebo. I suggest to look for references.
I do simulate the RoboMaster arm in CoppeliaSim. You may want to have a look (https://github.com/jeguzzi/robomaster_sim) and try to mimic it in Gazebo.
Thank you for you answer, it helped me a lot! Also can you tell me where to find the doc about the relationship between joint names in the urdf/xacro file (like "right_gripper_joint_2") and the joints on the real robot. I'm having trouble connecting them.
Hi @des-zhong, sorry for the delay.
I think that the easiest may be to look at the model in rviz2:
<name>/robot_description
In rviz2, you can then inspect the TF tree and/or the model and see the names of the joints. You could also use https://index.ros.org/p/joint_state_publisher_gui/ to move the joints.
Thank you for your kind instruction! I'm working on a robomaster and Isaacgym reinforcement learning environment and this repo really helped me alot. I will cite this repo if anything get published
I load the model of the provided robomasterEP in gazebo but it seems like the arm part are not well connected like shown in the fig. I examined the arm.urdf.xacro file and find only 1 joint defined about the triangle_link and arm_1_link while there should be 3. Why and how to fix this?