RPLidar with ROS2 and RVIZ: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<big>This tutotrial shows how to connect a RPLidar to ROS2 and show in RVIZ. Follw the steps to shown below | <big>This tutotrial shows how to connect a RPLidar to ROS2 and show in RVIZ. Follw the steps to shown below | ||
</big> | </big> | ||
Note: Here we are using RPLidar A1 | |||
Zeile 15: | Zeile 17: | ||
source ./install/setup.bash | source ./install/setup.bash | ||
ros2 run rplidar_ros rplidarNode | ros2 run rplidar_ros rplidarNode | ||
open a new terminal | |||
source ./install/setup.bash |
Version vom 27. Oktober 2022, 11:53 Uhr
This tutotrial shows how to connect a RPLidar to ROS2 and show in RVIZ. Follw the steps to shown below Note: Here we are using RPLidar A1
open your terminal and clone the github project to your colcon workspace src folder
git clone https://github.com/CreedyNZ/rplidar_ros2.git
Then source the bash
source install/setup.bash
After that,
colcon build --symlink-install
Then run rplidar ros package
source ./install/setup.bash ros2 run rplidar_ros rplidarNode
open a new terminal
source ./install/setup.bash