LGDXRobot2 ROS 2 can be installed using package manager. Please refer to the ROS 2 Support Policy for the recommended system configurations.
To allow access to hardware devices without root permissions, the lgdxrobot2-udev package needs to be installed. This installation is included in the steps below.
wget -q http://packages.lgdxrobot.uk/lgdxrobot-apt-source.deb
sudo dpkg -i lgdxrobot-apt-source.deb
sudo apt update
sudo apt install lgdxrobot2-udev \
ros-${ROS_DISTRO}-sllidar-ros2 \
ros-${ROS_DISTRO}-lgdxrobot2-* \
ros-${ROS_DISTRO}-lgdxrobot-cloud*
Do not install rplidar_ros, as it appears to be out of date.
sudo apt install ros-${ROS_DISTRO}-lgdxrobot2sim-webots
Or install the simulation package for Gazebo.
sudo apt install ros-${ROS_DISTRO}-lgdxrobot2sim-gz