-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HOW TO USE RPLIDAR S2 IN MATLAB? #9
Comments
Hello, I don't have the device nor much time to investigate right now. However here are some ideas :
If things get too complicated, another completely different approach (which I never tested, it might be not that simple...) could be to try ROS or ROS2 toolbox, see https://fr.mathworks.com/help/ros/index.html , https://github.com/Slamtec/rplidar_ros , https://fr.mathworks.com/help/ros/ug/work-with-specialized-ros-messages.html#WorkWithSpecializedROSMessagesExample-8 . Here also you might need to determine which version of ROS works with your LIDARs, possibly ROS1 Noetic... |
I had used rplidar a1m8 and below code worked well .
now I'm trying to use rplidar s2m1.
rplidar s2 didn't worked in this code and I got result value 1 (value 1 means lidar is not connected with MATLAB)
As I know there are few data about connecting lidar S2M1 to MATLAB.
Do you have any solution about this situation?
hardwarex_init;
pRPLIDAR = CreateRPLIDAR();
% Check and modify the configuration file if needed...
[result] = ConnectRPLIDAR(pRPLIDAR, 'RPLIDAR0.txt')
The text was updated successfully, but these errors were encountered: