Asked
— Edited

I am using the plug in for the XV-11 Lidar. The output of the plug in an array in which each value is a string that represents the distance at the angle and the signal strength. To use this for control of the robot, I need numbers at these angles. The format is shown in the attached example. How do I parse and convert this in EZ Scripting into an integer?
In C there is the string.split command
https://msdn.microsoft.com/en-us/library/b873y76a(v=vs.110).aspx
and then the string to integer convert.
Is there a way to do this in the EZ scripting?
No problem at all. Thanks for using the plugin.
I had one small issue. Fixed it. I think I will add a configuration setting to enable intensity if someone wants it.
I introduced a bug. I am working to fix it.
it looks like it is going to have to wait until tomorrow. There will be no focusing on my projects this evening due to being in the living room and others thinking that they should make as many distractions as they possibly can.
LOL. Life and family interferes again with out hobbies!
I have something acting weird on my GetSurreal controller. 2 of the ones I had are out on loan to others, and the other one is pretty securely mounted inside of Rafiki. I just placed an order for another one and they are in stock so I don't think it will be long before I receive it.
I tested things last night before posting the plugin and everything seemed like it was working fine with what was published. @mstephens_42, would you mind trying the new plugin and letting me know if you have any issues? It might be wise to first make a backup of the plugin in C:\Users\Public\Documents\EZ-Builder\Plugins\bf3200ea-7b00-4566-a6d8-9eb0690bbb33 before installing the new one just because of what I am seeing with mine.
Thanks David
I loaded it this morning and it worked!
That is good news. I have loaded on some test firmware on the one I use for programming. I suspect the issue that I see is with that.
On a side note, the GetSurreal controller is going to be having an update that will drop all obvious errors from the XV-11 soon. I will test it out and post about it when I am comfortable that they have it working right, but if you want to try it, it is in their github dev branch.