ADVRHumanoids / iit-centauro-ros-pkg

2 stars 0 forks source link

unclear installation log #19

Open nkashiri opened 2 years ago

nkashiri commented 2 years ago

when following the procedure in https://advrhumanoids.github.io/xbot2_wip/quickstart.html to have the xbot2 installed, I tried to first simulate centauro as an exmple. However, when running the script in ./create_urdf_srdf_sdf.sh centauro it results to a set of messages that is hardly meaningful, and it is not really clear if the simulator is correctly installed or not. Moreover, it includes a set of errors indicating a number of missing dependencies that could have been noted on the installation page:

:~/catkin_ws/src/iit-centauro-ros-pkg/centauro_urdf/script$ ./create_urdf_srdf_sdf.sh centauro Robot Name is centauro Regenerating database.config for centauro_gazebo Processing file config/centauro.urdf.xacro centauro configures model centauro, version 0.1 Creating bare urdf of centauro.urdf.xacro ... resource not found: centauro_urdf ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/ros/melodic/share ROS path [2]=/opt/xbot/share ROS path [3]=/opt/xbot/lib when processing file: centauro.urdf.xacro ...centauro.urdf correctly created!

Creating capsule urdf of centauro.urdf.xacro ... ./create_urdf_srdf_sdf.sh: line 88: robot_capsule_urdf: command not found ...centauro_capsules.urdf correctly created!

Creating sdf of centauro_robot.urdf.xacro resource not found: centauro_urdf ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/ros/melodic/share ROS path [2]=/opt/xbot/share ROS path [3]=/opt/xbot/lib when processing file: centauro_robot.urdf.xacro resource not found: centauro_urdf ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/ros/melodic/share ROS path [2]=/opt/xbot/share ROS path [3]=/opt/xbot/lib when processing file: centauro_robot.urdf.xacro Error [parser.cc:340] Error parsing XML in file [centauro_robot.urdf]: Error document empty. Error: SDF parsing the xml failed changing centauro_robot.urdf name to _centauro_robot.urdf resource not found: centauro_urdf ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/ros/melodic/share ROS path [2]=/opt/xbot/share ROS path [3]=/opt/xbot/lib when processing file: centauro_robot.urdf.xacro ...sdf correctly created!

Installing robot model in centauro_gazebo/centauro

Creating srdf from centauro.srdf.xacro resource not found: centauro_urdf ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/ros/melodic/share ROS path [2]=/opt/xbot/share ROS path [3]=/opt/xbot/lib when processing file: centauro.srdf.xacro ...created centauro.srdf!

Creating capsule srdf of centauro.srdf.xacro ... ...centauro_capsules.srdf correctly created!

Traceback (most recent call last): File "./load_acm.py", line 42, in srdf = minidom.parse(args.srdf_file.name) File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse return expatbuilder.parse(file) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse result = builder.parseFile(fp) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile parser.Parse("", True) xml.parsers.expat.ExpatError: no element found: line 1, column 0 Traceback (most recent call last): File "./load_acm.py", line 42, in srdf = minidom.parse(args.srdf_file.name) File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse return expatbuilder.parse(file) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse result = builder.parseFile(fp) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile parser.Parse("", True) xml.parsers.expat.ExpatError: no element found: line 1, column 0 skipping computation of default allowed collision detection matrix Please make sure the ACM are up-to-date by running make acm in the model build folder

Complete! Enjoy centauro ver 0.1 in GAZEBO!

Creating capsule urdf (for visualization) of centauro_capsules.urdf ... ./create_urdf_srdf_sdf.sh: line 159: robot_capsule_urdf_to_rviz: command not found ...centauro_capsules.rviz correctly created! You can use view it by calling roslaunch centauro_urdf centauro_capsules_slider.launch

nkashiri commented 2 years ago

even after installing a bunch of dependencies (that would be reasonable to have it included in the readme file), it still gives a bunch of errors:

~/catkin_ws/src/iit-centauro-ros-pkg/centauro_urdf/script$ ./create_urdf_srdf_sdf.sh centauro Robot Name is centauro Regenerating database.config for centauro_gazebo Processing file config/centauro.urdf.xacro centauro configures model centauro, version 0.1 Creating bare urdf of centauro.urdf.xacro ... ...centauro.urdf correctly created!

Creating capsule urdf of centauro.urdf.xacro ... ./create_urdf_srdf_sdf.sh: line 88: robot_capsule_urdf: command not found ...centauro_capsules.urdf correctly created!

Creating sdf of centauro_robot.urdf.xacro ./create_urdf_srdf_sdf.sh: line 99: gzsdf: command not found changing centauro_robot.urdf name to _centauro_robot.urdf ...sdf correctly created!

Installing robot model in centauro_gazebo/centauro

Creating srdf from centauro.srdf.xacro ...created centauro.srdf!

Creating capsule srdf of centauro.srdf.xacro ... ...centauro_capsules.srdf correctly created!

Traceback (most recent call last): File "./load_acm.py", line 48, in raise Exception('ERROR: could not find acm file') Exception: ERROR: could not find acm file Traceback (most recent call last): File "./load_acm.py", line 48, in raise Exception('ERROR: could not find acm file') Exception: ERROR: could not find acm file skipping computation of default allowed collision detection matrix Please make sure the ACM are up-to-date by running make acm in the model build folder

Complete! Enjoy centauro ver 0.1 in GAZEBO!

Creating capsule urdf (for visualization) of centauro_capsules.urdf ... ./create_urdf_srdf_sdf.sh: line 159: robot_capsule_urdf_to_rviz: command not found ...centauro_capsules.rviz correctly created! You can use view it by calling roslaunch centauro_urdf centauro_capsules_slider.launch

alaurenzi commented 2 years ago

addressing this in #18

flyonaie commented 10 months ago

https://advrhumanoids.github.io/xbot2_wip/quickstart.html I can't open the website, please help me, thanks!