LGDXRobot2 ROS 2 can be installed using package manager. The packages are available for both AMD64 and ARM64 architectures. However, only ROS 2 Jazzy (Ubuntu 24.04) is supported.
wget -q https://ros.bristolgram.uk/lgdxrobot2-apt-source.deb
sudo dpkg -i lgdxrobot2-apt-source.deb
sudo apt update
sudo apt install lgdxrobot2-udev \
ros-${ROS_DISTRO}-sllidar-ros2 \
ros-${ROS_DISTRO}-lgdxrobot2* \
ros-${ROS_DISTRO}-explore-lite \
ros-${ROS_DISTRO}-multirobot-map-merge
Do not install rplidar_ros, as it appears to be out of date.
If adding the repository is not possible, the packages can be installed using the .deb packages.
SLAMTEC LIDAR ROS 2M-EXPLORE ROS 2LGDXRobot2 ROS 2LGDXRobot2 UDEV (Universal)sudo apt install ./*.deb
If certain functionality is not required, it can be omitted when installing the packages.
lgdxrobot2_navigation, explore_lite, multirobot_map_merge
Can be omitted if the Nav2 is not required. In the lgdxrobot2_bringup package, launch files that include nav should not be used.
lgdxrobot2_webots
Can be omitted if the Webots simulation is not required. In the lgdxrobot2_bringup package, launch files that include simulation should not be used.