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

unclear installation log #19

Open
nkashiri opened this issue Nov 21, 2021 · 3 comments
Open

unclear installation log #19

nkashiri opened this issue Nov 21, 2021 · 3 comments

Comments

@nkashiri
Copy link

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
Copy link
Author

nkashiri commented Nov 22, 2021

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
Copy link
Collaborator

addressing this in #18

@flyonaie
Copy link

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

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

3 participants