SteveMacenski / slam_toolbox

Slam Toolbox for lifelong mapping and localization in potentially massive maps with ROS
GNU Lesser General Public License v2.1
1.5k stars 497 forks source link

lifelong_slam_toolbox_node not Found in Humble branch, ros2 branch could not be compiled in Humble #706

Closed mich1342 closed 3 weeks ago

mich1342 commented 3 weeks ago

Required Info:

Steps to reproduce issue

Scenario A:

  1. Install slam toolbox from binary release sudo apt-get install ros-humble-slam-toolbox

Scenario B:

  1. Install slam toolbox from source branch humble git clone -b humble https://github.com/SteveMacenski/slam_toolbox.git

Scenario C:

  1. Install slam toolbox from source branch ros2 git clone -b ros2 https://github.com/SteveMacenski/slam_toolbox.git

Expected behavior

Lifelong mapping should works

Actual behavior

Scenario A: lifelong_slam_toolbox_node not found

Scenario B: lifelong_slam_toolbox_node not found

Scenario C: got fatal error: ceres/autodiff_manifold.h: No such file or directory

Additional information

mich1342 commented 3 weeks ago

It turns out I just need to run the online_async_launch and provide posegraph map (.data and .posegraph) instead of .yaml and .pgm

tanmayrspace commented 1 week ago

Hi @mich1342 were you able to solve this problem fatal error: ceres/autodiff_manifold.h: No such file or directory i am facing the same issue while building from source

SteveMacenski commented 1 week ago

Use the correct branch for your distribution. ros2 targets rolling as is standard convention. Rolling is on 24.04 where there were API updates to Ceres 🙂

tanmayrspace commented 1 week ago

Hi @SteveMacenski Thanks For replying. Basically i wanted to use the lifecycle node implementation of the slam_toolbox that was on the current ros2 branch, as you mentioned this is only supported on 24.04. so I eventually used the old implementation of the ceres-solver from the humble branch and lifecycle implementation from the current branch. As of now it is not creating any problems. Also i faced the same #715 which i fixed