A port of the MultiSense ROS1 driver to ROS2
This driver was tested using Foxy Fitzroy. Earlier ROS2 distros are not supported
source /opt/ros/<ros2_distro>/setup.bash
mkdir ros2_ws && cd ros2_ws
git clone --recurse-submodules https://github.com/carnegierobotics/multisense_ros2 src
colcon build
source install/setup.bash
The launch file depends on xacro being installed. To install xacro execute the following command.
sudo apt install ros-<distro>-xacro ros-<distro>-tf2-geometry-msgs
If your release does not have a pre-built xacro package, you can build it manually alongside the multisense_ros2 driver.
Execute the following commands to build xacro from source. This assmes the workspace setup and clone instructions above were followed.
cd ros2_ws/src
git clone -b dashing-devel https://github.com/ros/xacro.git
cd ..
colcon build
source install/setup.bash
ros2 launch multisense_ros multisense_launch.py
For the full set of launch arguments use
ros2 launch multisense_ros multisense_launch.py -s