pal-robotics / tiago_tutorials

Public tutorials of TIAGo robot
71 stars 41 forks source link

Installations problems #29

Closed B-Acharya closed 3 years ago

B-Acharya commented 3 years ago

I followed the tutorial https://wiki.ros.org/Robots/TIAGo/Tutorials/Installation/TiagoSimulation for the installations but the compilation is crashing [build] Summary: 8 of 139 packages succeeded.
[build] Ignored: 15 packages were skipped or are blacklisted.
[build] Warnings: 10 packages succeeded with warnings.
[build] Abandoned: 129 packages were abandoned.
[build] Failed: 2 packages failed.
[build] Runtime: 2.3 seconds total.

i am currently running Ubuntu 18.04 and ROS melodic

saikishor commented 3 years ago

@B-Acharya Thanks for showing interest in our TIAGo Tutorials.

Could you please give us more information on the package you are having issue compiling?. Have you followed all the steps mentioned in the page?.

Thank you,

B-Acharya commented 3 years ago

@saikishor i was following the step by step installation guidelines provided in the tutorials page, after i run rosdep install --from-paths src --ignore-src -y --rosdistro melodic --skip-keys="opencv2 opencv2-nonfree pal_laser_filters speed_limit_node sensor_to_cloud hokuyo_node libdw-dev python-graphitesend-pip python-statsd pal_filters pal_vo_server pal_usb_utils pal_pcl pal_pcl_points_throttle_and_filter pal_karto pal_local_joint_control camera_calibration_files pal_startup_msgs pal-orbbec-openni2 dummy_actuators_manager pal_local_planner gravity_compensation_controller current_limit_controller dynamic_footprint dynamixel_cpp tf_lookup opencv3" i get the output saying all dependensces have been installed and then when i try to run catkin build -DCATKIN_ENABLE_TESTING=0 i get the error that i mentioned above . do you need the complete output of the build process ?

also on a side note do i need to have opencv installed for the compilation to run successfully?

Thanks for the quick reply

saikishor commented 3 years ago

@B-Acharya Thanks for getting back to us.

Could you share the output of the rosdep install command and also the the compilation error log(first error should be sufficient)?.

Have you done sudo apt-get update before running the rosdep install?. If not, could you try doing the same?.

Thank you,

B-Acharya commented 3 years ago

rosdep install --from-paths src --ignore-src -y --rosdistro melodic --skip-keys="opencv2 opencv2-nonfree pal_laser_filters speed_limit_node sensor_to_cloud hokuyo_node libdw-dev python-graphitesend-pip python-statsd pal_filters pal_vo_server pal_usb_utils pal_pcl pal_pcl_points_throttle_and_filter pal_karto pal_local_joint_control camera_calibration_files pal_startup_msgs pal-orbbec-openni2 dummy_actuators_manager pal_local_planner gravity_compensation_controller current_limit_controller dynamic_footprint dynamixel_cpp opencv3"

All required rosdeps installed successfully

This is the error i get when i run the catkin build fatal error: opencv2/core/core.hpp: No such file or director

But this is confusing as shouldn't rosdep install all the dependencies ?

saikishor commented 3 years ago

@B-Acharya Yes you are right rosdep should install all dependencies of the packages, seems that they are properly installed in your machine, however, it seems you have some issue with your opencv libraries, that's the reason the compilation is failing.

saikishor commented 3 years ago

@B-Acharya Were you able to figure out the issue?. If not, feel free to get back to us with more info.

Thank you,

saikishor commented 3 years ago

@B-Acharya We have recently added the option to try our TIAGo simulation using dockers. This is pretty easy to setup and you will be able to launch the simulation and start working with it in minutes.

Please kindly visit the section "Docker-based installation" in the page : http://wiki.ros.org/Robots/TIAGo/melodic_install.

We hope this helps you to solve your issue.

Thank you,

saikishor commented 3 years ago

@B-Acharya We hope you have fixed the issue and have been using our TIAGo Tutorials.

We wish you a great joyful time with our TIAGo simulation!

Best Regards, PAL Robotics Team.