Interbotix / interbotix_ros_rovers

ROS Packages for Interbotix Rovers
BSD 3-Clause "New" or "Revised" License
33 stars 31 forks source link

Error during installation #39

Closed abpaudel closed 1 year ago

abpaudel commented 1 year ago

What happened?

I have a locobot_wx250s with kobuki base and I'm following the installation instructions from here:

sudo apt install curl
curl 'https://raw.githubusercontent.com/Interbotix/interbotix_ros_rovers/main/interbotix_ros_xslocobots/install/amd64/xslocobot_amd64_install.sh' > xslocobot_amd64_install.sh
chmod +x xslocobot_amd64_install.sh
./xslocobot_amd64_install.sh -d noetic -b kobuki

However, the installation fails with the following error:

...
[ 95%] Built target interbotix_moveit_interface_generate_messages
make[2]: *** No rule to make target '/opt/ros/noetic/lib/liboctomap.so.1.9.7', needed by '/home/locobot/interbotix_ws/devel/lib/interbotix_moveit_interface/moveit_interface'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 96%] Building CXX object interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface/CMakeFiles/moveit_interface.dir/src/moveit_interface_obj.cpp.o
[ 96%] Linking CXX executable /home/locobot/interbotix_ws/devel/lib/interbotix_perception_modules/perception_pipeline
[ 97%] Building CXX object kobuki/kobuki_node/src/library/CMakeFiles/kobuki_ros.dir/slot_callbacks.cpp.o
[ 97%] Built target perception_pipeline
[ 97%] Building CXX object kobuki/kobuki_node/src/library/CMakeFiles/kobuki_ros.dir/subscriber_callbacks.cpp.o
[ 98%] Linking CXX shared library /home/locobot/interbotix_ws/devel/lib/libkobuki_ros.so
make[1]: *** [CMakeFiles/Makefile2:7433: interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface/CMakeFiles/moveit_interface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Built target kobuki_ros
make: *** [Makefile:141: all] Error 2
Invoking "make -j4 -l4" failed
[ERROR] Failed to build packages for the Interbotix LoCoBot.
[ERROR] Interbotix Installation Failed!

Let me know what the issue is here and how to resolve it. Thanks!

Robot Model

locobot_wx250s

Operating System

Ubuntu 20.04

ROS Distro

ROS 1 Noetic

Steps To Reproduce

No response

Relevant log output

[ 95%] Built target interbotix_moveit_interface_generate_messages
make[2]: *** No rule to make target '/opt/ros/noetic/lib/liboctomap.so.1.9.7', needed by '/home/locobot/interbotix_ws/devel/lib/interbotix_moveit_interface/moveit_interface'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 96%] Building CXX object interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface/CMakeFiles/moveit_interface.dir/src/moveit_interface_obj.cpp.o
[ 96%] Linking CXX executable /home/locobot/interbotix_ws/devel/lib/interbotix_perception_modules/perception_pipeline
[ 97%] Building CXX object kobuki/kobuki_node/src/library/CMakeFiles/kobuki_ros.dir/slot_callbacks.cpp.o
[ 97%] Built target perception_pipeline
[ 97%] Building CXX object kobuki/kobuki_node/src/library/CMakeFiles/kobuki_ros.dir/subscriber_callbacks.cpp.o
[ 98%] Linking CXX shared library /home/locobot/interbotix_ws/devel/lib/libkobuki_ros.so
make[1]: *** [CMakeFiles/Makefile2:7433: interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface/CMakeFiles/moveit_interface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Built target kobuki_ros
make: *** [Makefile:141: all] Error 2
Invoking "make -j4 -l4" failed
[ERROR] Failed to build packages for the Interbotix LoCoBot.
[ERROR] Interbotix Installation Failed!

Additional Info

No response

abpaudel commented 1 year ago

Reinstallation after uninstalling all ros-noetic* packages resolved the issue.