I do not know English, Linux or ROS. Have a TURTLEBOT3 Waffle Pi with defective laser. Since the original laser is currently hard to get, I bought a “RPLidar A1M8 360-degree laser scanner”. The accuracy values at the same price were just too convincing.
I use „Linux Ubuntu 20.04.4.LTS“
1st question: “Which ROS version am I using?”, or better asked: “How can I find out if I am using ROS or ROS2?”
Currently I have downloaded the package for ROS. The README.md contained there wants from me:
How to build rplidar ros package
- Clone this project to your catkin’s workspace src folder
- Running catkin_make to build rplidarNode and rplidarNodeClient
How to run rplidar ros package
There’re two ways to run rplidar ros package
I. Run rplidar node and view in the rviz
roslaunch rplidar_ros view_rplidar.launch (for RPLIDAR A1/A2)
You should see rplidar’s scan result in the rviz.
II. Run rplidar node and view using test application
roslaunch rplidar_ros rplidar.launch (for RPLIDAR A1/A2)
rosrun rplidar_ros rplidarNodeClient
You should see rplidar’s scan result in the console
Regarding point 1) If I understand correctly, I should copy the contents of the ZIP file into the catkin working directory src.
2nd question: Where is the src directory? Or is the directory /usr/src meant?
After all, there are more directories with the name scr.
3rd question: to point 2) Next I should do what? Just catkin_make without parameters? And then will rplidarNode and rplidarNodeClient be created or are these the parameters for catkin_make ?
4th question: ``bash ???. I guess I am supposed to be in a directory where a certain bash file is located. And please, which directory ?
For better understanding of me. I have been developing medical devices for many years. In hard- and software. I am now retired and have very little knowledge of English and have never worked with Linux or ROS. However, I have used controllers from Atmel for the medical devices and programmed in assembler. Currently I am creating a program for a company in Python3 for the TurtleBot3. It is supposed to bring a measuring device to the measuring positions in a clean room environment and initiate the measurements. So I definitely have various programming experiences. I use ROS only as a device driver. I know, every ROS-friend’s stomach turns now. But please understand one thing: “It makes no sense for me to invest much time in ROS now. But it is easy for me to implement the navigation in a programming language I know. Only without laser I can continue badly.”
Thanks for Answer