raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
335 stars 90 forks source link

error happens while using addArticulatedSystem #575

Closed wzjscut closed 3 months ago

wzjscut commented 3 months ago

When I use the CPP API world.addArticulatedSystem("XXX.urdf"); it shows the error log below:

terminate called after throwing an instance of 'std::invalid_argument' what(): stoi Aborted (core dumped)

and the URDF file: https://drive.google.com/file/d/17ajNF_3T2UKmNvxqySPYllH63wv2_Ptn/view?usp=drive_link

jhwangbo commented 3 months ago

I cannot access that file. Did you test that urdf with other software?

wzjscut commented 3 months ago

Hi prof. hwangbo,

Sorry for setting the error access. I have updated.

I also test the urdf through urdf-viz and check_urdf and it shows the robot correctly check_urdf shows the logs below

robot name is: AIRBOT_V3_v2 ---------- Successfully Parsed XML --------------- root Link: base_link has 6 child(ren) child(1): arm_base child(1): link1 child(1): link2 child(1): link3 child(1): link4 child(1): link5 child(1): link6 child(1): gripper_link child(1): custom_end_link child(2): gripper_link10 child(1): gripper_link11 child(3): gripper_link20 child(1): gripper_link21 child(2): laser_link child(3): steering1 child(1): wheel1 child(4): steering2 child(1): wheel2 child(5): steering3 child(1): wheel3 child(6): steering4 child(1): wheel4