Ardupilot RPLidar S3 Integration

Hi everyone,

I am planning to use RPlidarS3 in an upcoming project and couldnt compiletely figure out if S3 can be integrated with at laeast minimal effort. I have contacted the Slamtech Support and they said that the S models share an SDK and when I looked into the communication manual I can sorta see it the biggest difference being that the devices return a different byte for model info within the device info message. Looking into the Ardupilot sourcecode I see that there are a list of models that Ardupilot expects to return. What I am asking is if I added S3 to the backend within that expected device list and set its min and max distance accordingly. After rebuilding and flashing the program that way would S3 integrate smoothly?

Do a github.com pull request with those changes and it will get integrated into the official ArduPilot releases.

Do you think S3 could be plug and play afterwards?

Yes, it will. Do the PR so that we can review your exact code changes and advise on them.