SteveMacenski / slam_toolbox

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

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

Closed mich1342 closed 5 months ago

mich1342 commented 5 months 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 5 months 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 4 months 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 4 months 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 4 months 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