Closed HaynesLi closed 9 months ago
Hello, i think you are getting this error while using " rosdep update" command.
try to use "rosdep update --include-eol-distros" hope this will solve your error.
Thanks for your response!
The first error is solved by install and compile "rtabmap" manually.
The second part is a huge problem, I found some other research met this error as well when they try to install "perception_pcl" from https://github.com/ros-perception/perception_pcl manually. The problem is whatever use ros2 or foxy branch, this component can not be compiled anymore under Ros2Foxy version. The same question has been published on Stackoverflow and other website, but nobody can give an accessible solution.
Now I am trying to use Ubuntu22.04 and Humble version of Ros2 to run this code again.
in my case i used Ros2, foxy, Ubuntu 20. and i didn't installed rtabmap manually. you only need to install gtsam manually
i have used below two commands to remove these errors rosdep update --include-eol-distros rosdep install --from-paths src -y --ignore-src --rosdistro foxy
i have used below two commands to remove these errors rosdep update --include-eol-distros rosdep install --from-paths src -y --ignore-src --rosdistro foxy
Thanks bro, it works!
Moreover, did anyone meet the same error after "colcon test" as well?
"Cannot find file: /root/Swarm-SLAM/build/gtsam/DartConfiguration.tcl Cannot find file: /root/Swarm-SLAM/build/gtsam/DartConfiguration.tcl Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testCholesky Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testDSFMap Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testDSFVector Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testDebug Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testFastContainers Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testGroup Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testLieMatrix Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testLieScalar Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testLieVector Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testMatrix Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testNumericalDerivative Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testOptionalJacobian Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testSerializationBase Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testSymmetricBlockMatrix Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testTestableAssertions Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testTreeTraversal Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testVector Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testVerticalBlockMatrix Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/base/tests/testWeightedSampler Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/basis/tests/testChebyshev Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/basis/tests/testChebyshev2 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/basis/tests/testFourier Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/basis/tests/testParameterMatrix Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testBearingRange Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCal3Bundler Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCal3DFisheye Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCal3DS2 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCal3Unified Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCal3_S2 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCal3_S2Stereo Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCalibratedCamera Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCameraSet Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testCyclic Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testEssentialMatrix Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testLine3 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testOrientedPlane3 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPinholeCamera Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPinholePose Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPinholeSet Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPoint2 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPoint3 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPose2 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testPose3 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testQuaternion Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testRot2 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testRot3 Unable to find executable: /root/Swarm-SLAM/build/gtsam/gtsam/geometry/tests/testRot3M ... "
Did anyone met these problems while setting up.
ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: cslam: Cannot locate rosdep definition for [perception_pcl] cslam_common_interfaces: Cannot locate rosdep definition for [rtabmap_msgs]