Using RP-LIDAR Scanse Sweep in Cycling 74 Max 7?
Anyone using it in Max? Willing to share some ideas? I managed to sent it commands. Still having trouble making meaning out of the data blocks coming out of Sweep.
Here is the product presentation if you wonder:
I managed to successfully send all the commands and get the replies like MI which stands for Motor Information. See more info here: https://support.scanse.io/hc/en-us/articles/115001437888-Introduction-to-Communication-Protocol
Now I am trying to follow up on this documentation right here which is all bout interpreting the data (called data blocks) the sensor is outputting. https://support.scanse.io/hc/en-us/articles/115001403947-Parsing-Sensor-Reading-Data
As stated there, The Data Block receipt is 7 bytes long and contains all the information about a single sensor reading. The format is as follows:
sync/error (1byte) / Azimuth - degrees(float) (2bytes) / Distance - cm(int) (2bytes) / Signal Strength (1byte) / Checksum (1byte)
This is what I've done so far. Check patch. I would need help finding a better way of interpreting ascii/hex data coming out of the sensor
.