LGDXRobot2 ROS 2 can be installed using APT on Ubuntu. 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.
curl -L -s -o /tmp/lgdxrobot-apt-source.deb https://packages.lgdxrobot.uk/lgdxrobot-apt-source.deb
sudo dpkg -i /tmp/lgdxrobot-apt-source.deb
sudo apt update
rm -f /tmp/lgdxrobot-apt-source.deb
sudo apt install lgdxrobot2-udev \
ros-${ROS_DISTRO}-lgdx-rplidar-c1 \
ros-${ROS_DISTRO}-lgdxrobot2-*
sudo apt install ros-${ROS_DISTRO}-lgdxrobot2sim-webots
Or install the simulation package for Gazebo.
sudo apt install ros-${ROS_DISTRO}-lgdxrobot2sim-gz