问题:
使用check_urdfd命令
check_urdf mrobot_chassis.urdf
结果报错:
Error: Error document empty.
at line 71 in /build/urdfdom-YMMa9X/urdfdom-1.0.0/urdf_parser/src/model.cpp
ERROR: Model Parsing the xml failed
解决:
需要在urdf文件里打开终端,如:/catkin_ws/src/ros_exploring-master/robot_mrobot/mrobot_description/urdf,再使用check_urdfd命令,就成功了
robot name is: mrobot_chassis
---------- Successfully Parsed XML ---------------
root Link: base_link has 3 child(ren)
child(1): left_motor
child(1): left_wheel_link
child(2): right_motor
child(1): right_wheel_link
child(3): front_caster_link